Make tables 100% width and not mess up IE in the process

mdlueck - September 23, 2007 - 01:13
Project:Andreas09
Version:5.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

The Andreas09 theme has an annoying thing in that it does not size tables 100% width. So I simply added:

table {
width: 100%;
}

to the style.css seeing Drupal core themes with something similar.

Adding such to the Andreas09 theme has the ANNOYING added behavior only with IE of seeming that:
clear: both;
is in affect. Until both the left/right cols are clear, it will not start the table, AND the color normally in the center column is interrupted even.

And of course, the Drupal core themes do not do that with IE. gggrrrr......

I would really appreciate it if someone could find a way to make the tables 100% width which works with IE. Thank you so much.

#1

mdlueck - September 23, 2007 - 01:59

(head shaking)

Changing the CSS class to 99% width works all right with IE. ggggrrrrr!!!!

Guess I have my work around!

#2

mdlueck - October 24, 2007 - 17:40

BlueMarine theme had an interesting comment it its CSS file:

/* padding in px not ex because IE messes up 100% width tables otherwise */

Just thought to toss it into the mix.

FYI: We got frustrated with Andreas09, tried several other themes, arrived at a good theme by taking bits and pieces and merging them into Drum roll please.... BlueMarine!!! L O L (head shaking)

 
 

Drupal is a registered trademark of Dries Buytaert.