Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can style sheets call in html code for 'static items'

Status
Not open for further replies.

JamesFlowers

Programmer
Mar 23, 2001
97
GB
hi

I am creating a site that uses a logo placed in the top left corner , and has a title bar.

can this be called in as a code via the style sheet so I can have just one file with logo and title in the center, and bring it in ?

thanks

James

James Flowers
Crystal Consultant
 
Style Sheets are as their name implies for styling. Not HTML can be included in them or called from them.

If you need to include HTML you can use server-side includes (SSI) or a server side language include method.

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top