Reply
Margin help
Old 05-26-2007, 08:48 AM Margin help
Novice Talker

Posts: 10
Hi all


If you look a the id tags call p5 p6 p7 p8, they are in the worng order. I would
like it to be fix by soone that knows.. Also there is a 5px margin on #p6.

If you can get this working in IE and FF I would be grate.



<notagz1>
Attached Files
File Type: txt css-codes.txt (3.9 KB, 2 views)
notagz1 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-26-2007, 10:54 AM Re: Margin help
LadynRed's Avatar
Super Moderator

Posts: 6,539
Location: Tennessee
I suspect in IE you're getting doubled float margin. If you float: left and then add left margin, IE will DOUBLE that margin. So, you're 100px left margin becomes 200px in IE.
You're going to need conditional comments to target IE to fix this. That means a 2nd CSS file that contains ONLY the 'fixes' IE will apply.
The fix for this IE bug is to add "display: inline" on those left-floated divs with left margins.

http://www.positioniseverything.net/...ed-margin.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Margin help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12157 seconds with 13 queries