Results 1 to 3 of 3

Thread: Css-html

  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Css-html

    Instead of pasting the code to http://www.dynamicdrive.com/dynamicindex1/davidmenu.htm In every page, is there a way to tell CSS to do it?

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Take this code:

    Code:
    A.ssmItems:link		{color:black;text-decoration:none;}
    A.ssmItems:hover	{color:black;text-decoration:none;}
    A.ssmItems:active	{color:black;text-decoration:none;}
    A.ssmItems:visited	{color:black;text-decoration:none;}
    Place it in a file called ssm.css and link to it in every page like so:

    Code:
    <link rel="stylesheet" href="ssm.css" type="text/css">
    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Nov 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thx

    thx ill try that

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
  •