471 users online (0 members and 471 guests)  

  Results 1 to 3 of 3


  1. Problem with tables    Forum: HTML Forum
    Replies: 0
  2. Problem aliging tables    Forum: HTML Forum
    Replies: 7
  3. Replies: 8
  4. A problem with tables    Forum: HTML Forum
    Replies: 4
  5. Tables and Borders    Forum: HTML Forum
    Replies: 8
  1. #1
    Shane's Avatar
    Junior Member

    Join Date
    Apr 2005

    Problem with borders around tables,


    I am a complete newb with html, but I have a month with little to do before I start my new carreer and I decided to save some money and make my own website. I think Im picking it up fairly quickly, but I have hit a snag that I cant figure out. I am trying to make it so that I have one frame that has a different background color from the rest of the page. I can do that, but I always end up with an edged strip of the sites original backgorund color around the sides of the frame. I want the frames background color to run right to the edge of the screen. Also I was wondering how I could get thin vertical line running from the complete top of the screen all the way to the bottom between the frames.

    Here is my code so far. I know its not much and please excuse any glaring mistakes as I just started working with html today. Also I am using 1st Page 2000 if that makes a difference.

    Thanks for any help!

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <title>Shane Pritchard, Grand Junction Real Estate Broker</title>

    <body bgcolor="#ede5d2" text="#181617">


    <td bgcolor="#181617" valign="top" >
    <a href="c:\webpage\home.htm">
    <img src="Home.jpg" width="170" height="36" alt="" border="0"><br>
    <a href="c:\webpage\about me.htm">
    <img src="About Me.jpg" width="170" height="36" alt="" border="0">

    <font face="bradley hand itc" size="10">
    <div align="center">
    Welcome to Grand Junction
    <hr size="1" width="100%" color="#330000">
    <img src="HomePicTest.jpg" width="800" height="600" alt="" border="0">

  2. #2
    QuietDean's Avatar

    Join Date
    Oct 2000
    Bournemouth, UK

    Re: Problem with borders around tables,

    Hi, welcome to the forums.

    Try adding the following code between the <head> and </head> tags in your page:

    <style type="text/css">
    body {
    padding: 0px;
    margin: 0px;
    That should sort it.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    Shane's Avatar
    Junior Member

    Join Date
    Apr 2005

    Re: Problem with borders around tables,

    Thanks a lot!

Tags for this Thread