'Lo guys
I'm just looking for comments on a concept I thought for emulating min-width in IE:
<div id="elementToHaveMinWidth"> <p>Content</p> <div id="minWidthMaker" /> </div>
#elementToHaveMinWidth { width: 40%; }
#minWidthMaker { width: 620px; }
The end result being a div#elementToHaveMinWidth never going below 620px width
I guess the same could be used to create min-height:
<div id="elementToHaveMinHeight"> <p>Content</p> <div id="minHeightMaker" /> <br /> </div>
#elementToHaveMinHeight { height: 80%; }
#minHeightMaker { float: right; height: 620px; width: 1px; } br { clear: both; }
I was just wondering if this broke anything?
Comments?
-- -David R ****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************