SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard Mincer's Avatar
    Join Date
    Mar 2001
    Location
    London | UK
    Posts
    1,140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    div borders driving me nuts...

    I was checking out my css (trying to find widths and heights so I can go through to add the IE5 box-model work-around) and I've come across a strange problem.

    However I specify the padding/margins for my header div, I always get a single pixel of padding underneath my logo image (I made the heading div background a darker colour to show this).

    http://217.155.3.246/tprh/csstest.html

    Does anyone know what I can do about this?

    Also (while I'm at it. ), I have noticed that the block links in the left-hand nav bar will only roll over off the text (ie with the mouse to the right of the actual text) after a link (any link in the page) has been clicked. This only happens in IE6, but not Mozilla. Any info on this?

    Thanks,

    Matt.

  2. #2
    SitePoint Wizard Mincer's Avatar
    Join Date
    Mar 2001
    Location
    London | UK
    Posts
    1,140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Something else I've just noticed, the rollovers on the nav links also don't stay "over" on the top 3 links in Mozilla, yet they do on the bottom 3 links.

  3. #3
    SitePoint Zealot 19nine78's Avatar
    Join Date
    Feb 2002
    Location
    Ayr, scotland
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    img{
    display:block;
    }

    should fix the first one. Not too sure about the second problem, none of them saty over on my mozilla (1.1)

    cheers

    alastair

  4. #4
    SitePoint Wizard Mincer's Avatar
    Join Date
    Mar 2001
    Location
    London | UK
    Posts
    1,140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by 19nine78
    img{
    display:block;
    }
    Excellent.

    Originally posted by 19nine78
    should fix the first one. Not too sure about the second problem, none of them saty over on my mozilla (1.1)
    Strange, I've just got to work and tired it on Mozilla 1.1 here and it works fine (win2k sp3), it didn't do that on Mozilla 1.1 on WinXP at home.


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
  •