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
Old 04-30-2007, 09:01 AM Conditional hacks
Experienced Talker

Posts: 31
Trades: 0
Hi,

Im sure this is a common question, I searched and I havent been able to find a way around it yet...


I want to get the css to ignore IE or Firefox.

I dont want to change any of the HTML, for example inserting [if IE] statments.

I have tried * html div# ... but this doesnt work for IE7, as far as i can see

I have tried the ! important also but this does not work for IE7 either

Is there a work around for getting the css to ignore all versions of IE or Firefox by editing the CSS only ?


jwalker80 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-30-2007, 02:55 PM Re: Conditional hacks
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
No, there isn't. Why would you want to do that anyway ? What exactly are you trying to accomplish ??
Quote:
I dont want to change any of the HTML, for example inserting [if IE] statments.
Why ? Conditional comments only work for IE and they are perfectly acceptable to use.
Quote:
I have tried * html div# ... but this doesnt work for IE7, as far as i can see
That's because the IE bugs that the star hack was meant to target has been fixed in IE 7 - so you cannot use it any more -unless you use conditional comments and target an IE 6 and below only CSS sheet.

Quote:
I have tried the ! important also but this does not work for IE7 either
Most newbies seem to love that !important attribute.. and it's rarely needed if your code is written properly.

If you don't want CSS to affect your page, DON"T link the CSS file to the page !
__________________
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 Conditional hacks
 

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