• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

how to add style tags (header) to PHP


bassman    0

I want to add the following STYLE tags to the header of my Guestbook Page(s) {sign and show}:

a:link { text-decoration: none}

a:visited { text-decoration: none}

a:active { text-decoration: none}

a:hover { text-decoration: none;}

a:hover { background: #999999;}


I notice there are ECHO tags after all the main head info of the PHP generated pages.

You can go to my site at : http://heretofore.net Enter, and you'll see that I want the Guestbook pages to match the others (i.e. the IE5.5 scrollbars, etc...)

Thanks in advance.



Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Steven P.    16,301

Create a css file, insert the code (without ) and put this line in your header file (near meta tags and under

to access the css stylesheet.

href="styles.css" is my example, the location and name of the file can be different as long as it ends with .css

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.