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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Heres a good hack free tip...
Old 03-09-2005, 01:26 PM Heres a good hack free tip...
brokensoul2271's Avatar
- - - - - - - - -

Posts: 750
Location: Lancashire, UK
Trades: 0
I'm not sure if you don't all already know this (you probably do) but i have only just discovered it...
If you don't like as hacks (as i dont) then there is another way to work around earlier versions of IE. You can create 2 stlyle sheets, 1 with no work arounds, and then a seperate 1 for jworkarounds 4 each version of IE that you may want to target. You then apply the IE specific stylesheet(s) by using one or more conditional comments, which are specifically formatted comment tags that only IE understands.

To target IE in genral use the following
HTML Code:
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->
for a specific version you add the version number like so
HTML Code:
 <!--[if IE 5.0]>
<link rel="stylesheet" type="text/css" href="ie5.css" />
<![endif]-->
I found this in my new book 'web designers reference'. Hope it helps...
__________________
Yes, indeed...

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
brokensoul2271 is offline
Reply With Quote
View Public Profile Visit brokensoul2271's homepage!
 
 
Register now for full access!
Reply     « Reply to Heres a good hack free tip...
 

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