Jump to content

headers in CSS which include image, javascript and text


uworlds

Recommended Posts

Hi folks, Is it possible to place the entire header on page www.uworlds.net into a CSS? In other words, include (1) the image banner (2) the AddThis share code at the very top which contains javascript and (3) the text at top right? Or can javascript simply not be included in CSS and maybe this could be achieved through an include somehow? Any advice will be greatly appreciated. Kind regards,uworlds

Link to comment
Share on other sites

CSS is for styling. You can't add a block of script to it. However, you can certainly take that block of code and assign it to a file. If it's just javascript then you use <script> tags in your header. If script and html then you can use php includes.

Link to comment
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
×
×
  • Create New...