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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...