Page 3 of 3
Posted: Tue Nov 23, 2010 6:13 pm
by Muzozavr
Just checked the HTML coding -- turns out that color and size tags are both implemented with <span>, so essentially, the closing tags become </span> and </span> and it all fits together.
Quoting seems to be special because it involves HTML tables, and messing
that up can potentially mess up the entire layout. Thankfully it doesn't happen due to phpBB being excellent at handling the end-of-post section.
Don't know why specifically quoting... why does code not work? Hmm...
Let me test this out:
TEST 1
(no glitches here, no need for quoting)
Posted: Tue Nov 23, 2010 6:17 pm
by Muzozavr
OK, so quote and code are both implemented with tables. Strange... Oh well.
Posted: Tue Nov 23, 2010 6:32 pm
by Marinus
I guess this is the answer:
Code: Select all
[size=17][color=darkred]blah blah[/color][/size]
blah blah
"code" interprets everything as plain text.
BTW, your "O" link didn't work for me, neither in Safari, Explorer, or Chrome. Perhaps with an S, E or a C it does.
This is between size
This is between both
This is between color
It seems you're right with the end tags. The system uses the first end-tag for closing the nearest code, in this case the color, no matter if the end tag is a color or a size.
Never heard of <span> though.
Posted: Tue Nov 23, 2010 7:30 pm
by Muzozavr
The "O" link works in Opera, but it could be any other letter. Interesting that it doesn't work with other browsers though. Why are other browsers more correct here I don't know.
Internet Explorer 6 correctly cancels the URL glitch, by the way. If you click somewhere on the empty space in the glitched area, the status bar will show the link address, but the link itself will never work after the glitch is canceled.
Posted: Tue Nov 23, 2010 7:48 pm
by Muzozavr
Addendum: <span> is HTML. If you don't know HTML, then forget about it.
And yes, code takes it like plain text, so the half-tag nested inside of it is not used at all. Should've realized it sooner.
Posted: Tue Nov 23, 2010 8:51 pm
by Marinus
I learned a little bit about HTML, but that's a while ago. Anyhow, I didn't remember that the same code is used for size as for color. Does that mean that the BB-Codes are "translated" to HTML?
Internet Explorer 6 correctly cancels the URL glitch, by the way.
Do you mean when the link continues in the signature? I'm not sure what version I have, but that's probably a newer version which is included in Windows 7, but I can click the link in the signature, and it works.
BTW, a while ago you had a question about muting the sound of one program, but not for the other program. I noticed now that in Windows 7 you can control the sound of each program separately. I'm pretty sure that was not possible in XP.
The "O" link works in Opera, but it could be any other letter.
Of course; I just made a little joke about the other letters.
Posted: Tue Nov 23, 2010 11:03 pm
by tyteen4a03
Marinus wrote:I learned a little bit about HTML, but that's a while ago. Anyhow, I didn't remember that the same code is used for size as for color. Does that mean that the BB-Codes are "translated" to HTML?
BTW, a while ago you had a question about muting the sound of one program, but not for the other program. I noticed now that in Windows 7 you can control the sound of each program separately. I'm pretty sure that was not possible in XP.
1. Yes, BBcodes are translated to HTML.
2. Yes, Windows 7 have that feature. I once saw a magazine that Windows XP could have it by installing a 3rd party software, but I forgot what it is.
Posted: Wed Nov 24, 2010 1:51 pm
by Marinus
OK, thanks.