By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,766 Members | 1,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,766 IT Pros & Developers. It's quick & easy.

min-height Attribute in CSS - IE6

P: n/a
hi all,

i'm playing with the layout of a web page and wanted a div to be a certain
height. the min-height attribute seems to have no effect in ie6/xp, but
works fine in opera7/xp.

i'm assuming this is because ie6 is not fully css 2.0 compliant.

has anyone any tips on a good workaround for this so i can make sure the
div is a certain height?

i've thought about using two divs inside a wrapper, the first 1px wide &
the desired height (containing a matching clear gif) and then the original
div next to it, so as to force the solution. i'd like to avoid this route
if at all possible.

any help appreciated :)
--
slim
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
|| name | slim <sl**@antiCorp.not> | message |
|| news:Xn*****************************@158.152.254.2 54: ||
hi all,

i'm playing with the layout of a web page and wanted a div to be a
certain height. the min-height attribute seems to have no effect in
ie6/xp, but works fine in opera7/xp.

i'm assuming this is because ie6 is not fully css 2.0 compliant.

has anyone any tips on a good workaround for this so i can make sure
the div is a certain height?

i've thought about using two divs inside a wrapper, the first 1px wide
& the desired height (containing a matching clear gif) and then the
original div next to it, so as to force the solution. i'd like to
avoid this route if at all possible.

any help appreciated :)
--
slim


s'ok, i found a workaround on a page i missed when googling before. its
now fixed :)
--
slim
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.