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 7 of 7
  1. #1
    New to the CF scene
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer Line Breaks in IE 6

    In my web app I have a an html string that is output like this to the browser:

    <td class="BREADCRUMBS"><div class="Inner_td"> Visited: <a href="webpage.jsp"> Locations </a> | <a href="webpage.jsp"> Times </a>

    The associated css:

    td.BREADCRUMBS div {width:180ex;padding-top:4px}

    The result if Firefox is as would be expected. In IE 6 pc I get line breaks before and after every <a> tag like:

    Visited:
    Locations
    |
    Times

    anyone seen something like this before? anyone know of a style attribute of a surrounding element that would cause this?

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Width

    Other than the ex unit is rather unusual outside print style sheets, no; try a different width, or give the div a background color to see if the width is sufficient for both links to sit in.

    And, if possible, please remove your other (double) post.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #3
    New to the CF scene
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry about the double post.... The width of the cell and div are confirmed to be more than wide enough to fit the links. when I disable css, they sit properly on one line though, so I think there maybe some rouge attribute somewhere....it has alot of parent elements so its not really practical for me to post all the css. Its definitely wide enough... I also tried adding a whitespace:nowrap; to no avail.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Link?

    Could you post a link to the page online? There's a good chance that there's something somewhere else in any of your styles that may cause this.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #5
    New to the CF scene
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry, internal cvs so i can't post a link. I'm just hoping someone has run into a similar bug or recognizes what attribute might be doing this

  • #6
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,369
    Thanks
    32
    Thanked 286 Times in 280 Posts
    Why is your td width 180ex instead of 180 pixels? Could just be a typo but I thought it worth mentioning.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #7
    New to the CF scene
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    another developer set that to ex (not sure why myself), I'm just trying to figure out why this is behaving this way. ex or px does not affect this issue here though.


  •  

    Posting Permissions

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