homepage Welcome to WebmasterWorld Guest from 54.166.148.189
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Tables Spans
Problems with Table span code in browsers
dannibecher




msg:3843726
 1:34 pm on Feb 6, 2009 (gmt 0)

I have recently created a very simple webpage using a table with two column. I have 'spanned' the column at some points to create content acros the whole page. When opened in Firefox, it works perfectly, but IE ignores the spans and formats it in the two columns. I have triple checked the code, which is definately right. Does anyone know why this is?

 

mattur




msg:3843740
 1:47 pm on Feb 6, 2009 (gmt 0)

First step: validate your code [validator.w3.org]

rocknbil




msg:3843848
 4:07 pm on Feb 6, 2009 (gmt 0)

Does anyone know why this is?

Besides validation, this

<table>
<tr><td colspan="2"></td></tr>
<tr><td>content</td></td>content</td></tr>
</table>

Can cause some issues, "empty cells" will validate but often not render correctly. The workaround is a non breaking space.

<table>
<tr><td colspan="2">&nbsp;</td></tr>
<tr><td>content</td></td>content</td></tr>
</table>

Show us some code, someone will help.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved