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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts

    problem with css lists as menu in firebird

    Hello folks,

    I'm using CSS to style a list of links (all part of my new standards compliant coding)

    This is what I want the menu to look like...

    and I was tottally surprised to find that IE did it as i expected and mozilla firebird didnt do so well...

    If you'd be able to help, the page (put up especially for you...) is at:
    http://www.rmiuk.org/design.html
    and the css: http://www.rmiuk.org/images/rmi_css.css
    I would like it to look in firebird abit more like it does in IE. I know that I'll never have full control over a browser, etc, but I like to try

    I've still got alot to learn in this area, any help would be very much appreciated.
    redhead

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There's a lot of browser variation in the default margins and padding on lists and list-items, so reset them before applying your own styles:
    Code:
    /*--------- .menu styles  ---------*/
    
    .menu ul, .menu li {
    	margin:0;
    	padding:0;
    	}
    
    ...etc
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks brothercake, that sorted it.
    redhead


  •  

    Posting Permissions

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