How do i put a border around my page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • garyb2008
    New Member
    • Nov 2008
    • 18

    How do i put a border around my page

    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
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    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.

    Comment

    • garyb2008
      New Member
      • Nov 2008
      • 18

      #3
      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?

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Yes, that would work.

        Comment

        Working...