Previous Message
Next Message

center col Table drops below left column content in IE

Sent by Roger Roelofs on 28 March 2006 06:06


deano,

On Mar 27, 2006, at 11:17 PM, [EMAIL-REMOVED]> wrote:

> The main problem is why does Table with
> 100% width inside a center column 2 drop below content of left column 
> in
> IE but not in Firefox? Here is the link
> http://www.availcompany.com/webdev/webcode/css_test4.htm
>   <snip>
> Question 1: why does Table with 100% width inside a center column 2 
> drop
> below content of left column in IE but not in Firefox?
IE is notorious for skipping parent width and using grandparent width 
for box size calculations.  I'd suggest wrapping the table in yet 
another div.  Also move the width="100%" and border="1" out of the html 
and into the css.  Also run your html and css through a validation 
service.  It will catch things like the extra */ at the end of your 
#twocolwarp ruleset.

> Question 2: why
> is <div style = "clear:both;"></div> required above footer div markup
> for footer to clear the three columns despite using "no-extra-markup"
> clearing method .clearme class on the threecolwrap?

I don't have the answer to the misbehaving .clearfix problem off the 
top of my head, but you don't need it or the extra markup.  Just add 
clear: both; to div#footer and it should be fine.  Unless you need the 
clearfix rules elsewhere on your site, I'd remove them too.  Removing 
unused code is one of the first steps to being able to figure out what 
is going on when you come back to this site next year.

hth
-- 
Roger Roelofs
"Remember, if you’re headed in the wrong direction,
	God allows U-turns!"
	  ~Allison Gappa Bottke
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: