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 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    Vancouver, BC
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Browser compatibility - How to STOP BULLET spaces changing

    How do you use make it so the space between BULLETS (HTML DISC) does not have such a large space between the lines when viewing between INTERNET EXPLORER and Any other browser like Firefox??

    http://www.camarosource.ca/main_new_...new_layout.htm

    Right side "Recent Posts". You'll notice that if you view with Firefox that it shows the words close to get on top of each other.

    HOWEVER, View the same link in INTERNET EXPLORER and you'll soon discover it's now what's almost 1 more line inbetween the top words and the ones below them.

    How can I STOP THIS?? If I make it fit in Firefox, it's WAY too high in IE cause it adds another line. If I make it fit in IE, it's like 3/4 the height of the area for Firefox.

    Thanks!

  • #2
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    First things first, tables for layout is not semantic coding and should not be used! Tables are for tabular data only... they were only used to layout pages in original web design because style sheets had not been introduced. Now that they have I suggest you look at switching to CSS for layout.

    The easiest way to do this in your CSS is to use:

    Code:
    li {
    	line-height: 12px;
    }
    obviously changing the figure to whatever you feel suits your needs. If you were using semantic code then you would probably have this area wrapped in a div, and you could apply that style to the div only by using:

    Code:
    #recentposts li {
    	line-height: 12px;
    }
    assuming you gave that div an ID of 'recentposts'. For more information about CSS for layouts etc head [ulr="http://www.bonrouge.com"]here[/url]
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools


  •  

    Posting Permissions

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