View Full Version : DIV table width
BTbuses
07-08-2007, 04:39 AM
Hi
I'm having problems between IE & FF showing a table width at 100%.
Because my site is now in a tableless format, using a div for header, naviagation & content, where content may have a table in it at 100%, on one browser displays correclty, but another goes beyond page width.
What is the IE/FF fix for this?
Cheers
srule_
07-08-2007, 04:50 AM
Hi
where content may have a table in it at 100%
Cheers
i thought u said it had no tables,
is this table for data, or is it part of the design?
post your code, it will make answering your question easier!
vexen
07-08-2007, 06:54 AM
hi, try this :
body,html { width: 100% }
#full { width: auto }
giving a width of 100% to body and html, the #full div auto's to take all the available space, being 100%,
where full would be a complete container including the header, content and footer
i think it could work too with your three divs
if not, send your code ;)
BTbuses
07-08-2007, 07:00 AM
Firstly, the tables were within the content from pages, not the actual page design, sorry about that misinterpretation
Secondly, thankyou, the code appears to have worked! Much appreciated!
vexen
07-08-2007, 07:04 AM
Firstly, the tables were within the content from pages, not the actual page design, sorry about that misinterpretation
Secondly, thankyou, the code appears to have worked! Much appreciated!
no problem. i'm also learning and just helping someone else with something i already know :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.