IE Messing Up CSS... No clue why... I hate IE

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

IE Messing Up CSS... No clue why... I hate IE

Post by tecktalkcm0391 »

Can anyone help me in correcting the CSS (in the menuBar.css file) for the menu bar that displays fine in Firefox, but all messed up in IE... its at [url removed]

Thanks!
Last edited by tecktalkcm0391 on Tue Apr 01, 2008 4:16 pm, edited 2 times in total.
RhapX
Forum Commoner
Posts: 30
Joined: Mon Dec 05, 2005 5:24 pm
Location: Seattle, Washington

Re: IE Messing Up CSS... No clue why... I hate IE

Post by RhapX »

Hello,

I just took a look at your file and it seems to be working. Which version of IE are you having troubles in?

Best Regards,
Jake
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Re: IE Messing Up CSS... No clue why... I hate IE

Post by tecktalkcm0391 »

I'm using IE 6... what about you? The menu on the left is all dis-aligned, and stuff...
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Re: IE Messing Up CSS... No clue why... I hate IE

Post by tecktalkcm0391 »

Its the same on every page... i have to fix that still, but just go to {url removed}
Last edited by tecktalkcm0391 on Tue Apr 01, 2008 4:17 pm, edited 1 time in total.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: IE Messing Up CSS... No clue why... I hate IE

Post by John Cartwright »

Looks fine for me on IE7. Perhaps show us some screenshots?
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Re: IE Messing Up CSS... No clue why... I hate IE

Post by tecktalkcm0391 »

Attached is the screen shot of what is happening in IE 6. I know that people still use IE6, thats the only reason I care...
Last edited by tecktalkcm0391 on Tue Apr 01, 2008 4:17 pm, edited 1 time in total.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Re: IE Messing Up CSS... No clue why... I hate IE

Post by tecktalkcm0391 »

everything is separated on the right lines, but its still not working. any ideas?
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: IE Messing Up CSS... No clue why... I hate IE

Post by matthijs »

What often helps with problems like this, is making sure IE's hasLayout property is set for the list items. If you don't know what that is, see http://www.satzansatz.de/cssd/onhavinglayout.html

Often, setting something like setting a width or height on the list items will solve strange bugs like you have. See the above article for more options. maybe width:100% and/or float:left will do the trick.

Bugs like these are one of the most common ones I encounter.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Re: IE Messing Up CSS... No clue why... I hate IE

Post by tecktalkcm0391 »

thanks. I had to set another object's width (object is inside the menu) for it to work. -- stupid IE
Post Reply