Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unwanted White space in Blogger Navigation Bar

    Hi all!

    CSS/HTML beginner here, trying to set up a horizontal nav bar in Blogger for my father-in-law.

    The site: http://mrrosey.blogspot.com

    I would like the navigation menu to be left aligned (like this one). It seems there is about 50px of white space that I can't get rid of on the left side. I have tried commenting out different padding/margins and have had no luck figuring out what is causing this space.

    Any suggestions? Thanks so much!
    Last edited by Prellyree; 06-02-2009 at 10:55 PM. Reason: Resolved

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Many elements, including <ul> elements, have some padding by default. You need to get rid of that to make things click here. Try adding something like this to your CSS:

    Code:
    #menu ul {padding:0;}
    P.S. Welcome to the forums!
    Last edited by Rowsdower!; 06-02-2009 at 10:27 PM.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #3
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thank you SO much! It's amazing (or, embarassing...) how long I've spent trying to figure that out.

    Thanks for the welcome too, I'm not sure I'll be able to help many people quite yet, at least with coding, but I'll try putting my 2 cents in on type and design issues.

  • #4
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Quote Originally Posted by Prellyree View Post
    ..I'm not sure I'll be able to help many people quite yet, at least with coding, but I'll try putting my 2 cents in on type and design issues.
    Yep, that's all it takes. I started out asking at first -- now I waste hours of my day answering!

    It's a great way to teach yourself new techniques and also to illuminate common pitfalls so as to avoid them yourself down the road.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •