Connecting Tech Pros Worldwide Help | Site Map

How do i put a border around my page

Newbie
 
Join Date: Nov 2008
Posts: 18
#1: Jun 23 '09
Hello

Ive designed a simple webpage using tables to lay it out. I would like to put a border around the outside of the it, sort of so that when it loads it looks like a poster. Ive though of creating a row top and bottom and then a column either side to hold pics of straight lines but would they always join up at the corners?

Also, if im designing for 1024 x768 screens, which i presume is standard now? What size should my page be?

Hope you can help
Newbie at this as you can tell...

Regards

Gary
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,559
#2: Jun 23 '09

re: How do i put a border around my page


Never, ever use tables for layout.

In your CSS:
table{
border: 1px solid red
}

Many people now design for 1024x768. Many don't. Many use fixed width sites. Many use fluid sites.
Newbie
 
Join Date: Nov 2008
Posts: 18
#3: Jun 24 '09

re: How do i put a border around my page


All im doing is taking a pdf booklet and plodding it on the web (bad design basis for website i know, no need to say!), instead of making each whole page a graphic screenshot that sits in the centre of the webbrowser i want to keep the text areas as real text for seo purposes, as each page is a rectangle, would i not get away with a centred table and then use absolute lengths to divide the internal cells in this case just preserving internal layout?
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,559
#4: Jun 24 '09

re: How do i put a border around my page


Yes, that would work.
Reply

Tags
html