SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict s|k's Avatar
    Join Date
    Apr 2002
    Location
    Hilo, Hawai'i
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how do I get rid of mozilla/netscapes extra headspace?

    hi,
    I'm trying to work on boxes using <div> and css

    I'm having problems making it look the same in IE and mozilla/netscape browsers (imagine that).

    heres the URL about what I'm talking about:

    http://www.swartkrans.interserver.net/test.php

    if you check that above link in Mozilla/netscape, and then Internet Explorer you'll see that Mozilla puts extra space above and below the text, making the boxes bigger than I want them.

    padding: 0px does nothing

    does anyone know what I can do to get that text and image aligned with the top so that it is flush? I think the fact that I have little images infront of the text may complicate the matter.

  2. #2
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haven't looked at the link but, 3 suggestions:

    1) padding-top OR margin-top
    2) specify the height exactly
    3) valign=top

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---

  3. #3
    SitePoint Addict s|k's Avatar
    Join Date
    Apr 2002
    Location
    Hilo, Hawai'i
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, I figured it out, I was using the <p> tag.


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
  •