Computer Hope

Internet & Networking => Web design => Topic started by: af152001uk on July 24, 2009, 09:24:05 AM

Title: CSS Layout
Post by: af152001uk on July 24, 2009, 09:24:05 AM
Hi

I am still very wet behind the ears when it comes to CSS and HTML. How do I do CSS layout. I want to get a blue boarder along the left hand side of my page and along the top. I then want to add my main text to the right of the boarder. I cant even get my text to move to the part of the page i want.

Please help.
Title: Re: CSS Layout
Post by: kpac on July 25, 2009, 11:07:05 AM
Start here: http://www.w3schools.com/css/
Title: Re: CSS Layout
Post by: Rob Pomeroy on July 27, 2009, 12:50:20 AM
I want to get a blue boarder along the left hand side of my page and along the top. I then want to add my main text to the right of the boarder. I cant even get my text to move to the part of the page i want.

You'll need to use the border and margin CSS properties.  Read up on the box model and the difference between margins and padding here: http://www.w3.org/TR/CSS21/box.html