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

Padding or Margin ????????

P: 14
I am building a website for my client, there is a seperate style sheet for IE 6 and 7

here is the link: http://www.webtwo-0.com/stella/index.html
In IE 6 there is a problem with the wrapper extending to the right, i cant think of anything else i have tried for so long now, i dont know if its padding or margin errors!

Please help

Thanks
Apr 19 '07 #1
Share this Question
Share on Google+
3 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Haven't looked closely yet but your conditional comments may not be what you want. In one you have, lte IE6 and the very next one is lte IE7. If the first one is what you want for IE6, it will be overridden by the styles set in the second one because the 'lte' means it will apply to everything "less than or equal to" IE7 which would include IE6.
Apr 19 '07 #2

P: 14
Haven't looked closely yet but your conditional comments may not be what you want. In one you have, lte IE6 and the very next one is lte IE7. If the first one is what you want for IE6, it will be overridden by the styles set in the second one because the 'lte' means it will apply to everything "less than or equal to" IE7 which would include IE6.
So how do i put a conditional comment to cover both?
Apr 19 '07 #3

drhowarddrfine
Expert 5K+
P: 7,435
Like I said, 'lte IE7' means it covers all browser equal to or less than version 7. If you want separate css statements for each browser, then change it to
[if IE6] and for the other [if IE7]
Apr 20 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.