Results 1 to 7 of 7

Thread: linking external style sheets

  1. #1
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default linking external style sheets

    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..

  2. #2
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    Quote Originally Posted by marwov
    <link rel="stylesheet" href="inside.css" type="text/css">
    Try...
    Code:
    <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.

  3. #3
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I tried it Nyne, but it did not work. thanks anyway

  4. #4
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Code:
    <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.

  5. #5
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  6. #6
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Locally it works fine for me even using external css file.

  7. #7
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Please do not re-post the same question.

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

    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •