SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i am working at some baner surounded by images to make a fancy upframe.After i put all images in table,all images with the exact size to fit nicely like a whole image.But surprise!!! the logo it seems surounded up and down by some white space.I checked all dimensions they are all matching,but the browser sees some white lines at the top and bottom of the logo inside the table...
    Anyone please help me...
    I am on undernet on channel #pitesti with the nick dani
    thx
    ------------------
    Heavy Metal rulz!
    Heavy metal rulz!

  2. #2
    I'm baaaaaaaaaaaaack! Fluffykins's Avatar
    Join Date
    Aug 2000
    Location
    Manchester, UK
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It looks like you've got cellpadding on the table turned on.
    In the <table> tag, trying adding <table cellpadding="0">. That will leave your images to push right up to the edges of the cell. To be on the safe side, add cellspacing="0" to the tag as well, just so there's no gap between the cells.

    Adrian
    v-technologies - Freelance Goodness.

  3. #3
    SitePoint Zealot oodie's Avatar
    Join Date
    Jul 2000
    Location
    Misty Mountain
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If that doesn't solve your problem, try to put all the tags between <TD> and </TD> in one line. This is what usually causes this kind of problem.

    Code:
    <TD><IMG src="image.gif">
    </TD>
    will have spaces surrounding the image, whereas
    Code:
    <TD><IMG src="image.gif"></TD>
    will not.


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
  •