WordPress.org

Ready to get started?Download WordPress

Forums

Adding links (7 posts)

  1. lawtai
    Member
    Posted 10 years ago #

    how come when i add a <br/> link into the list, in IE it'll show up as a break, but in firefox it ignores the break command? I know this probably isn't the best way to get some space between different link categories, but I'm too lazy to go figure ou tthe css for this.

  2. skebrown
    Member
    Posted 10 years ago #

    I have noticed in the past that I sometimes had to add two <br>'s to get the desired affect.
    Maybe two will do?

  3. lawtai
    Member
    Posted 10 years ago #

    yea, but then two <br>'s will show up in IE where as only 1 would show up in firefox

  4. PressingIt
    Member
    Posted 10 years ago #

    The br doesn't show in Netscape either so it must be a Mozilla thang. (not that this helps you any :(

  5. Root
    Member
    Posted 10 years ago #

    Might I suggest that hand coding br tags in is not *a good thing*. That is not semantic mark up, and it destroys a degree of the automation we enjoy. Plus as you observe you get inconsitency across platforms. Link spacing can be styled like everything else in the CSS. Try line-height: xxpx;

  6. lawtai
    Member
    Posted 10 years ago #

    yea, but line-height seems to have a different effect on the links list that I add through the admin section than with other menus I might add through the index file.

  7. Root
    Member
    Posted 10 years ago #

    Well that is do with cascading and inheritance. You need to apply it to all the selectors you have invoked.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.