PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Nov 13, 2018 12:48 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: css question
PostPosted: Tue Aug 02, 2011 11:40 pm 
Offline
Forum Contributor

Joined: Wed Nov 17, 2010 2:09 pm
Posts: 256
Location: San Diego, CA
probably stupid but let's say I have in my header
<link href="style2-test.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->

will IE use both stylesheets or only the ie.css?
is it different for different versions of IE? i.e. will IE9 use both styelsheets but IE8 will only use the ie.css? Sorry if this is completely retarded, but I have never used these before and for some reason IE9 is showing a border on the bottom of a div, yet in ie.css there is no border-bottom, but there is in style2-test.css.


Top
 Profile  
 
 Post subject: Re: css question
PostPosted: Wed Aug 03, 2011 1:47 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13583
Location: New York, NY, US
Google "<!--[if IE]>" for more info, but:

http://css-tricks.com/132-how-to-create ... tylesheet/

_________________
(#10850)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group