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
IE not playing right with CSS site
Old 05-23-2008, 03:50 PM IE not playing right with CSS site
croix's Avatar
Skilled Talker

Posts: 87
Name: Colin Roy
Location: Dallas, TX
Trades: 0
Hello,
I have found much help here in the past, so I thought I would check here again first.

I am creating a new (additional) site for a client, and decided give W3C strict a try for a change.

As of now, both the site and the CSS validate properly, however, I cant seem to get my navigation to line up properly in IE.

Safari and firefox both display the navigation just fine.


Anyone have a resource where i can figure out how to fix the nav for IE and still stay strict?
I guess what im looking for is a list of css tags that IE screws up, and a valid way to hack IE.


**** I fixed the display issue with the underscore hack, but the CSS does not validate
**** I tried the * html hack, but it didnt seem to solve the IE problem, like the underscore hack does

The site is www.sliquidorganics.com


thanks

croix
__________________

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



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

Last edited by croix; 05-23-2008 at 04:36 PM..
croix is offline
Reply With Quote
View Public Profile Visit croix's homepage!
 
 
Register now for full access!
Old 05-23-2008, 05:33 PM Re: IE not playing right with CSS site
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
If you must use a hack instead of a conditional comment, and want it to validate, try this(example):
Code:
#element {
margin: 0px !important; /*a rule for standard browsers, including IE7*/
margin: 2px; /*a rule for IE6 and below*/
}
This works exactly as the underscore hack does, targeting only IE6 and below, and it validates. The margins '0px' and '2px' are just examples, meaning I doubt it is what is needed to fix your site.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 05-23-2008, 05:46 PM Re: IE not playing right with CSS site
croix's Avatar
Skilled Talker

Posts: 87
Name: Colin Roy
Location: Dallas, TX
Trades: 0
so basically

!important

forces all browsers to read only that line, except IE 6 and below?

does IE 7 play nice with margin-top and margin-left?
__________________

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



Please login or register to view this content. Registration is FREE
croix is offline
Reply With Quote
View Public Profile Visit croix's homepage!
 
Old 05-24-2008, 09:12 AM Re: IE not playing right with CSS site
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
You've got it. IE7 shouldn't have any problems with margin-top and margin-left.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 05-24-2008, 11:51 AM Re: IE not playing right with CSS site
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Hacking is a VERY bad habit to get into though. You never know, with new browser versions, when that hack is going to blow up in your face and bust your layout. Better to learn to use conditional comments (Google it) and proper CSS.

If you want to learn about IE's bugs and how to squash them, read up :
www.positioniseverything.net
__________________
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 IE not playing right with CSS site
 

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