Jump to content

CSS and XHTML


Qchem
 Share

Recommended Posts

Hi all,

 

I've some experience of webdesign (only for fun) but I've been out of the loop for a while and I'm trying to catch up with CSS and XHTML. Inspired by the page layout I've seen at http://www.saila.com/usage/layouts/ I'm considering making a few pages in this vain. Basically what I want to know is if it is possible to place the majority of the page layout information in an external stylesheet? I've tried but I was left with a blank white page.

 

Thanks in advance

Link to comment
Share on other sites

within the head tags of the html page you would place the link to the seperate style sheet

 

example:

<head>

<title>My page Title</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link rel="stylesheet" type="text/css" href="styles/main.css" />

</head>

 

In this example the styles sheet document(main.css) is placed in the folder called styles

 

Jeffery

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
 Share

×
×
  • Create New...