CSS problems

They have: 1 posts

Joined: Feb 2010

I'm having trouble with a website that i'm currently working on getting the CSS to work properly with. The website is http://www.tn-enasmc.com The CSS in the code shows as follows:

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

I am not very familiar with css and was needing assitance as to if this is the proper layout to make my pages view the css file to correctly layout the page.

Assistance is appreciated!!

He has: 629 posts

Joined: May 2007

What problem are you having, exactly? This seems to work okay this end.
FWIW: There is no need to put that rule for IE 6 in a separate file. You employ the "star - html hack" that targets IE 6 anyway. No other browser will see that rule, even if it is in the main.css file.

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

They have: 3 posts

Joined: Feb 2010

yup code seems to be ok..dude..you dont need to worry from this part..im pretty sure what ever problem you are having it is not from this code..
can you please explain what exactly problem is coming on your side so we could help then..

They have: 1 posts

Joined: Apr 2010

Your code is ok i think your problem is where to define CSS for apply on pages?? right??

They have: 10 posts

Joined: Sep 2008

according to the coding rules, u have implement the css properly using external css code, just check out that u are using correct path for css...else everything is fine!

They have: 33 posts

Joined: Apr 2010

jlp816! you are vanished after asking the question. Does the problem still exist? I visited your website and styles seemed to be working fine. It appears that you got the solution of your problem.

They have: 5 posts

Joined: Apr 2010

I have visit the sites by my Google Browser, Firefox, and two IE browsers...It works great, mate.

They have: 15 posts

Joined: Oct 2011

youe code is okay...i cannot find where is the problem...sorry

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.