SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: space

  1. #1
    SitePoint Enthusiast ErikN's Avatar
    Join Date
    Jul 2001
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    space

    when someone first enters my site, at the top, there is a small space at the right side of the header, which shouldnt be there, but when they refresh the page, the space goes away. heres the code for the header,
    Code:
    <body bgcolor="#FFFFFF" text="#000000" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
    <table border="0" width="100%">
    <tr width=100%>
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <td width=100% height=100 width=100% bgcolor="007EFF" align=left border="1">
    <img src="/images/logo.gif" align="left">
    <img src="/images/logo1.gif" align=right>
    </td>
    </table>
    <tr>
    <td width=100% height=10 bgcolor="000000" border="1">
    <img src="/images/grad.gif" width="100%" height="24">
    </td>
    </tr>
    </table>
    and another thing, i have a table on the left side of the page, and im trying to put corner images at the top right of the table, and bottom right, but there is a small space between the top right corner, and bottom right corner...the way im explaining it makes it sound weird, you can see the site here www.hammer-time.net
    and this is the code for the table:
    Code:
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td width="13%" valign="top" align=left>
    <table border="0" cellpadding="0" cellspacing=0 bordercolor="007Eff" cellspacing="0" width="75%">
        <tr border="0" cellpadding=0 cellspacing=0 >
    	  <br><br><br><br><td width="13%" border="0" cellpadding=0 cellspacing=0 bgcolor="007EFF" align=left bordercolor="007EFF">
    	    <center><font face="Verdana, Arial, Helvetica, sans-serif" color="FFFFFF" size="2"><b>Main</b></font>
    	    </td>
    	    <td border="0" cellpadding=0 cellspacing=0 bgcolor="007EFF" align=right bordercolor="007EFF">
    	      <p align=right>
    	  <img src=/images/topright.jpg align=right>
    	      </p>
    	  </td>
    	  </tr>
    thats for the topright corner...thanks for anyhelp!

  2. #2
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All righty. Use this for the body code:
    Code:
    <body bgcolor="#ffffff" text="#000000" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
    Whenever you're trying to remove margins, it's always a good idea of remove all of them.
    And as for your other problem, the culprit is the liquid table. Instead of using percentages, use absolute pixel values for width and height. If, after you set all margins to zero, there is still a white space, attempt to use absolute pixel values as well. That will solve the problem.
    Happy coding!
    Last edited by Aes; Jul 11, 2001 at 12:49.
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  3. #3
    SitePoint Enthusiast ErikN's Avatar
    Join Date
    Jul 2001
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the header looks great now, and im going to try the table in a little bit...thanks

  4. #4
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problem. I'm here to help, serve, and anything else required of me. =)
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.


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
  •