Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Style Sheet Link Trouble  (Read 9529 times)

0 Members and 1 Guest are viewing this topic.

The Saviour

  • Guest
Re: Style Sheet Link Trouble
« Reply #15 on: June 06, 2007, 03:22:22 PM »
Code on your home index page:

<link rel="stylesheet" type="text/css" href="http://iceglob.110mb.com/index.css">

Code of your links index page:

<link rel="stylesheet" type="text/css" href="http://iceglob.110mb.com/index.css">

Copy your stylesheet to the root of your links directory.

Change code on your links index page to:

<link rel="stylesheet" type="text/css" href="http://iceglob.110mb.com/xxxx/index.css">

Note the red text is the name of your links directory.

Comp Guy

    Topic Starter


    Apprentice

  • All that is needed
    Re: Style Sheet Link Trouble
    « Reply #16 on: June 06, 2007, 03:30:29 PM »
    Code on your home index page:

    <link rel="stylesheet" type="text/css" href="http://iceglob.110mb.com/index.css">

    Code of your links index page:

    <link rel="stylesheet" type="text/css" href="http://iceglob.110mb.com/index.css">

    Copy your stylesheet to the root of your links directory.

    Change code on your links index page to:

    <link rel="stylesheet" type="text/css" href="http://iceglob.110mb.com/xxxx/index.css">

    Note the red text is the name of your links directory.

    I tryed that before. I'm going to look up CSS code later to check if I did something wrong. Thanks anyway :). This forum is great!

    rockerest



      Hopeful
      • Yes
    • Experience: Experienced
    • OS: Windows 7
    Re: Style Sheet Link Trouble
    « Reply #17 on: June 20, 2007, 05:37:52 PM »
    No offense, but what good would that do?

    I know this is a big bump, but I just wanted to sort of answer this question.  Although I don't really have any REAL knowledge about why this would be helpful, I can tell you this: having two files named the exact same thing, especially such an important name like index.html is a pretty bad idea.  It shouldn't have any bearing on how your CSS displays, but the only file named index.html should be your home page.

    -rockerest
    In general, the PEBKAC.  Whether it's now or was three weeks ago, the PEBKAC.
    Unsafe browsing and general computer / internet illiteracy IS the users problem.  Don't have sex if you don't know how to use a condom.
    Also, there are 10 types of people in the world, those who understand binary, and those who don't.

    CBMatt

    • Mod & Malware Specialist


    • Prodigy

    • Sad and lonely...and loving every minute of it.
    • Thanked: 167
      • Yes
    • Experience: Experienced
    • OS: Windows 7
    Re: Style Sheet Link Trouble
    « Reply #18 on: June 21, 2007, 03:51:14 AM »
    It's mainly just to avoid confusion.  If you have several different pages with similar names, it's easy to get them mixed up.
    Quote
    An undefined problem has an infinite number of solutions.
    —Robert A. Humphrey

    Comp Guy

      Topic Starter


      Apprentice

    • All that is needed
      Re: Style Sheet Link Trouble
      « Reply #19 on: June 25, 2007, 06:09:59 PM »
      Yeah but it's easier for people to type in xxx.xxx.com/links, rather than xxx.xxx.com/mail_links.html. Like at this site (when on a computer that's not my own), all I have to do is type in www.computerhope.com/forum.