White space between table and edge of div

Discussion in 'HTML & Website Design' started by hajamie, Aug 17, 2005.

  1. #1
    hajamie, Aug 17, 2005 IP
  2. SugarKane

    SugarKane Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't see any gap?

    But I do see one at the bottom-left of the pinkish strip (with equipment pics) on left side ... is that what you are referring to?
     
    SugarKane, Aug 17, 2005 IP
  3. carowan

    carowan Peon

    Messages:
    473
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #3
    happens to me sometimes if I have an non breaking space. It never seems to show in dreamweaver, but it has to be edited by hand.
     
    carowan, Aug 17, 2005 IP
  4. blackax

    blackax Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    just use all div's drop the table's
     
    blackax, Aug 17, 2005 IP
  5. hajamie

    hajamie Peon

    Messages:
    141
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Sorry, that was a really poor, rushed post. :D

    The page in question is http://becketts.zenwebhosting.com/secondhand_bakery_equipment.html
    in firefox, the dark red nav bar looks fine, but using ie, i get a white space on the left.

    As mentioned above, there is also a space below the stripe on the left of the page (the one with the machines on it). Is it possible to make a picture stretch to fill that space?
    Thanks,
    J.
     
    hajamie, Aug 19, 2005 IP
  6. Dji-man

    Dji-man Peon

    Messages:
    185
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    wow, there is so much unnecessary code in this menu bar that I don't know where to begin. I've never seen a <span> wrapped in <a> wrapped in a <td> :eek:

    You should get rid of all your empty div's and td, that might be it, but my guess is that your #space is 122px wide and your .navtabemptyl is 40% wide and the .navtabemptyl begins 3 px to the right of #space. No matter what, there is no reason to overlap these 2 red containers.

    Frankly, your should recode it all. You could have the same layout with 50% less code.

    Good luck.
     
    Dji-man, Aug 19, 2005 IP
  7. hajamie

    hajamie Peon

    Messages:
    141
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks for having a look.
    I think the spans may be unnecessary, but how else could you cut down on code? which empty divs and tds?
    what do you mean by "there is no reason to overlap these two red containers"?

    Thanks,
    J.
     
    hajamie, Aug 20, 2005 IP
  8. cristophe@lawyer.com

    cristophe@lawyer.com Guest

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    just trying styling the table elements. it's anugly way, but might work (no promises).
    css would look somthing along the lines of:

    <!----
    table {
    style:here;
    }


    etc, etc.
     
    cristophe@lawyer.com, Aug 30, 2005 IP