Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Location
    USA
    Posts
    147
    Thanks
    5
    Thanked 3 Times in 2 Posts

    Connecting My CSS and HTML

    Ok this seems like a very basic question. If I create my navigation menu, how to I get it to appear. Before I've used this following code editing the style with the name I saved it as. It's worked before, but I don't know how the menu will appear. The way to change color is for like the "body" tag or "paragraph" tag. I don't know what to do to insert my navigation bar. Any help is appreciated.



    <link rel="stylesheet" type="text/css" href="style/style.css" />
    Quote Originally Posted by rmedek View Post
    Doctordew, as soon as they come out with the opposite of an infraction, I am going to give you a million of them. You are my new favorite person on the forum.

  • #2
    Regular Coder QBall777's Avatar
    Join Date
    Mar 2005
    Location
    uk
    Posts
    156
    Thanks
    5
    Thanked 1 Time in 1 Post
    Hi
    Is your style sheet called style.css and is it in a folder called style?

    If the above is correct try this:

    <link href="../style/style.css" rel="stylesheet" type="text/css" />

  • #3
    Regular Coder
    Join Date
    Jul 2007
    Location
    USA
    Posts
    147
    Thanks
    5
    Thanked 3 Times in 2 Posts
    Thank you, you found my problem. I didn't realize that first style word was also something needed to be changed. Now its /html/test.css thanks for the help +rep.
    Quote Originally Posted by rmedek View Post
    Doctordew, as soon as they come out with the opposite of an infraction, I am going to give you a million of them. You are my new favorite person on the forum.


  •  

    Posting Permissions

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