• 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

Question

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;}

BODY {SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #999999; SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #E3E3E3; SCROLLBAR-DARKSHADOW-COLOR: #666666; }

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.

PEACE

BASSMAN

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Steven P.    13,437

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.