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
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question IE Vs. FF <br> tag difference

    Hello everyone! This is my first post on this forum and I hope to start posting here a lot more with help and questions!

    Here's my problem;

    i've used the <br /> function to create gaps between different sections in the navigationa bar on the left hand of the site.

    Unfortunately, these gaps display differently between Internet Explorer and Firefox and I really can't work out what the issue is.

    The website can be found here

    Any help is greatly appreciated!

    Thanks,

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts
    Hi and welcome - enjoy your stay!

    I don't know if it would be the solution, but maybe you could add top- and bottom margins to your current_page_item (If it's the right one) css?

    Maybe like this:

    Code:
    .current_page_item {
    	font-weight: bold;
                 margin-top:Xpx;
                 margin-bottom:Xpx;
    }

  • #3
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks.
    that won't work as the text is using the .body style. I'm just throwing the </br> in to create a gap.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Using the <br /> to create a gap is bad practice. You should use a bottom margin on the lis.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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