Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Bug in table parsing in 1.1-RC2

Aloittaja Shaman, maaliskuu 08, 2006, 11:18:06 AP

« edellinen - seuraava »

Shaman

Consider:


Type of Ride
[/b]
Departure Time
[/b]
Location of Meet
[/b]

Will be printed something like:

Type of Ride      Departure Time    Location of Meet
  [/b]                     [/b]                   [/b]

Obviously, words won't be bold.

kegobeer

[table][tr]
[td][b][center]Type of Ride[/center][/b][/td]
[td][b][center]Departure Time[/center][/b][/td]
[td][b][center]Location of Meet[/center][/b][/td]
[/tr][/table]


I figured you'd want the actual code shown.  If you drop the center tags, you get bold fonts.  I'm not sure you can put a center tag inside of a td tag.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Thantos

center is a block level tag and b is not so the nesting is incorrect.

[table][tr]
[td][center][b]Type of Ride[/b][/center][/td]
[td][center][b]Departure Time[/b][/center][/td]
[td][center][b]Location of Meet[/b][/center][/td]
[/tr][/table]


Type of Ride
Departure Time
Location of Meet

Proper nesting is your friend.

Advertisement: