Results 1 to 9 of 9

Thread: stupid padding stupid border!

  1. #1
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default stupid padding stupid border!

    i cant figure out why there is a 1px space between the top of the window and this menu i'm working on. its noticeable especially because it dissapears when you mouse over it. i've checked my css file again and again, and can't figure what is causing it. please help!

    www.moscarda.com/menu

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    I checked in Fx and IE and I don't see any space. Which browser are you using? Can you post a screenshot?

  3. #3
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Snookerman View Post
    I checked in Fx and IE and I don't see any space. Which browser are you using? Can you post a screenshot?
    I am using FF for mac. here is a screenshot, zoomed @ 500%, the image on the left is normal state, and the image on the right is onmouseover.


  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Sorry but I don't see that, I have Fx 3.0.6 on Win XP. You can upload your page to browsershots to see if other people get the space. Looking at the code though, there is nothing that should cause that.

    Good luck!

  5. #5
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    This is flock and firefox does it also. This shows the text zoomed to show it more detailed. http://www.screentoaster.com/watch/s...1laWF9Y/showit

  6. #6
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    thats cool, i've never seen flock before... but i'm confused if you found a fix or were just confirming that you see the space as well?

  7. #7
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    May I ask why you're using a table? This could be causing a problem...
    Jeremy | jfein.net

  8. #8
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    i couldn't figure out how to center the menu without a table, when i center the menu with css, it breaks the menu and makes it vertical. i know that i just need to use a different css code, but i couldn't figure it out and this was the quick fix.

    can you help me do it in css so i can get rid of the table?

  9. #9
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Ok. Put it in a div, and give that div a width, and margin: 0 auto. You cannot center something in css without a width.
    Jeremy | jfein.net

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
  •