Forum Moderators: not2easy

Message Too Old, No Replies

Commenting in CSS for IE in PHP

IE CSS for PHP

         

rd94

8:26 pm on Sep 19, 2007 (gmt 0)

10+ Year Member




I've been trying to comment in a CSS specifically for IE on my php form I have on my site. It is reading the main style fine, but won't read the IE specific style sheet. Here is the code. Please help. Thanks.


<html>
<head>
<title>RADLIFFDESIGN</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link rel="SHORTCUT ICON" href="/~paulradliff/favicon.ico">
<link href="css/radliff_design.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url("css/contact.css");
@import url("css/gbcf_styles.css");
-->
</style>
<!--[if IE]
<link rel="stylesheet" type="text/css" href="css/gbcf_styles_ie.css">
<![endif]-->

penders

10:47 pm on Sep 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



<!--[if IE]> 
<link rel="stylesheet" type="text/css" href="css/gbcf_styles_ie.css">
<![endif]-->

It looks like you're just missing the closing '>' off the end of the first line of your (IE only) conditional comment.

Xapti

11:23 pm on Sep 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What does PHP have to do with this though?

rd94

12:00 am on Sep 21, 2007 (gmt 0)

10+ Year Member



I checked that, I don't know how many times. I feel like a goof, now that you point that out. I must have just been looking at so many other things. Thanks for the help.

Xapti, was just giving you the context of where the code was written. I wasn't seeking help with PHP, just commenting CSS into my page. I needed help finding items I may have just missed, such as this case.

Simple question, simple solution. Thanks a ton Penders!