Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Weird IE layout issue - help debug?
Old 07-21-2010, 09:09 AM Weird IE layout issue - help debug?
Junior Talker

Posts: 3
Name: Jason Day
Trades: 0
I can't pinpoint the problem. In IE, my layout is all wonky.
See http://www.rizzomattson.com/test/kno...in-the-country
I need a fresh set of eyes to take a look. I'm sure I have a margin off somewhere.
The right sidebar (which is the archives module, is being pushed below the content - somehow caused by the slideshow. If I disable the slideshow, the sidebar is up where it should be.


Thanks
movemaine is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-21-2010, 10:48 AM Re: Weird IE layout issue - help debug?
Registered User

Posts: 86
Name: John Dacu
Trades: 0
I have only IE8 and it looks good, i mean the problem you mention it isn'there. Still, i guess the layout is not complete because you have there some small problems. Anyway, i guess your problem is a classical double margin bug on floated elements in IE6. I don't recall the exact solution but one trick is to use a half margin declaration only for IE, like my ex:
Code:
.content{
margin-left: 10px!important; /*this is for all browsers except IE6*/
margin-left: 5px;/*this is the margin for IE6. It will be still 10px because it will be double it by the bug*/
float: left;
}
The idea is that IE6 can't understand !important statement. So it will reset the margin from 10 to 5. Other browsers will ignore the second statement because the first one is more important.
johnny.dacu is offline
Reply With Quote
View Public Profile
 
Old 07-21-2010, 09:42 PM Re: Weird IE layout issue - help debug?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Oh heavens no.. the solution to killing doubled-float margins is to add display:inline to the div with the margin that's being doubled. BUT, you need a separate 'iefixes.css" type of file that contains ONLY the code needed to squash the bug and you need to use conditional comments to call that fixes css file.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Weird IE layout issue - help debug?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.25151 seconds with 12 queries