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

HTML Forum

    
Fluid table
Mr_Cat




msg:3855269
 2:37 pm on Feb 22, 2009 (gmt 0)

Hi folks,

If I place a table on a page with 7 cells in a row, I set the fist cell to a width in pixels for a 'spacer', if I specify the remaining 6 cells as % width do they take a % of the remaining space (minus the pixel spacer) or do they take a % of the total table width?

 

choster




msg:3855358
 7:57 pm on Feb 22, 2009 (gmt 0)

The percentage is based on the width of the whole table, so the results are unpredictable when widths are specified using different measurements.

I would use CSS to set padding on the first column rather. Creating an empty columns for display purposes is unsemantic, anyway.

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