Connecting Tech Pros Worldwide Help | Site Map

How do i put a border around my page

  #1  
Old June 23rd, 2009, 04:43 PM
Newbie
 
Join Date: Nov 2008
Posts: 18
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
  #2  
Old June 23rd, 2009, 05:50 PM
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,521

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.
  #3  
Old June 24th, 2009, 10:05 AM
Newbie
 
Join Date: Nov 2008
Posts: 18

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?
  #4  
Old June 24th, 2009, 04:20 PM
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,521

re: How do i put a border around my page


Yes, that would work.
Reply

Tags
html


Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrid/Datalist, same page, 2nd is details Brock answers 1 July 3rd, 2008 09:35 PM
Want to remove img-border w/ xhtml, not html Russell Hoover answers 21 January 18th, 2007 06:35 PM
Unwanted red line, margins, bottom page margin, em sizes bad, menu item grouping Edward answers 1 August 6th, 2006 12:45 AM
Some unknown browsers fail to calculate my JavaScript code. Cardman answers 53 July 20th, 2005 03:17 PM