SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I remove bottom margin?

    On this page:

    http://www.ihost-websites.com/leslie/index3.htm

    I only see the bottom checkered pattern when viewed at 1024x 768 resolution
    not at 800x600

    How do I achieve this.

    Thanks
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting

  2. #2
    Formerly known as RockNRollPig Shpigford's Avatar
    Join Date
    Dec 2002
    Location
    Denver, CO
    Posts
    2,877
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wait..you do or don't want to see the checkered pattern? If you want to see it then you need to ADD a bottom margin, not removed. And to do that you would do something like this to your <body> tag:
    Code:
    <body bottommargin="5">
    If you want to use CSS then you would add this in between your <head> tags:
    Code:
    <style type="text/css">
    body {margin-bottom:5px;}
    </style>

  3. #3
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorrry, I don't want to see it

    I added [bottommargin="0"] to the body tag but still see it at 1024x768

    What am I missing?

    Also how do I center align my images? I center aligned them in my editor but it still looks off center.

    Thanks
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting

  4. #4
    Formerly known as RockNRollPig Shpigford's Avatar
    Join Date
    Dec 2002
    Location
    Denver, CO
    Posts
    2,877
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh...you don't want to see it...you would have to make your table extend 100% in height but that tag isn't supported in every browser...making things span 100% height is kinda tricky and I'm not the one to really tell you the best way to do that.

  5. #5
    100% Windoze-free earther's Avatar
    Join Date
    Feb 2003
    Location
    Linuxland
    Posts
    2,788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I get around that by having enough content to push the main box to the bottom at all font sizes and resolutions. If all else fails, adding some padding to the element or a few <br /> should do the trick.

  6. #6
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, I'll give that a try
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •