Log in

View Full Version : linking external style sheets



marwov
11-09-2006, 07:41 AM
I build a website, and I am unable to link it with an external css, so i had to embedded. Although,my external css was functioning normally with IE. BUt the trouble started when I tried my website with Firefox brwoser. Is there anyway to do an external css and link it and make it work with Firefox ?
here 's an example of the link i am using : <link rel="stylesheet" href="inside.css" type="text/css"> and it is working in IE but not in Firefox. so i had to make it embedded..

TheJoshMan
11-09-2006, 08:14 AM
<link rel="stylesheet" href="inside.css" type="text/css">

Try...

<link rel="stylesheet" src="inside.css" type="text/css">
Not sure that will fix it, but it's worth a shot... that's the way I code all of mine... and I've never seemed to have a problem in Firefox, if you still have trouble you might want to start looking at other things, possibly a type-o or calling from the wrong source, or if you have more than one stylesheet linked, you may have features on the others that cancel out the one you're trying to link.

marwov
11-09-2006, 09:05 AM
I tried it Nyne, but it did not work. thanks anyway

codeexploiter
11-09-2006, 11:24 AM
<link rel="stylesheet" type="text/css" href="inside.css" >

The above code is compatible with MS IE and Mozilla Firefox.

The above code works correctly for me.

Can you provide a link to your web site. That would be easy for users to pinpoint the problem.

marwov
11-09-2006, 11:43 AM
Hi codeexploiter. here's the link for my website www.3alakat.org but i 've already embedded all the code in all the pages.so I am not using the external link css.

codeexploiter
11-09-2006, 12:12 PM
Locally it works fine for me even using external css file.

mwinter
11-09-2006, 12:17 PM
Please do not re-post the same question.

As I wrote in your other thread, this is a server issue, not markup.

Mike