alpine Posted December 29, 2006 Share Posted December 29, 2006 While working playing with my first fully CSS styled layout, not surprisingly - i need som help.I've started to modify a OSWD template as i figured playing with this might be a smooth start for a total NooB in CSS (see what happends when you screw it up sort of game.. step by step until it eXplodes -then go back one step)But i have ran into an issue on IE6 (and IE5.5) regarding width'sI have this:[code]#text { float: left; width: 410px !important; width: 437px; padding: 10px 10px 20px 20px !important; padding: 20px 10px 20px 20px;}/* I Applyed this as IE fix */* html #text{ width: 380px;}[/code]The above IS working now in FF, Opera, IE7 and my applied hack deales with IE6 (before IE6 broke the layout, not handling the width).My Q is: I suspect that there is already something supposed to be a fix in the original class since a couple of lines is written twice with a [i]!important[/i] notice? If so, what browser is using the line with the [i]!important[/i] notice ?Also, is my [i]*html[/i] hack a "good" solution (no hack is good solutions i suspect, but still something is needed) Quote Link to comment https://forums.phpfreaks.com/topic/32215-css-and-ie55-ie-6-fix-method/ Share on other sites More sharing options...
ToonMariner Posted December 31, 2006 Share Posted December 31, 2006 have a look at this [url=http://css-discuss.incutio.com/?page=BoxModelHack]http://css-discuss.incutio.com/?page=BoxModelHack[/url]It should shed some light on what is going on and what you can do. Quote Link to comment https://forums.phpfreaks.com/topic/32215-css-and-ie55-ie-6-fix-method/#findComment-150222 Share on other sites More sharing options...
alpine Posted December 31, 2006 Author Share Posted December 31, 2006 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/32215-css-and-ie55-ie-6-fix-method/#findComment-150328 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.