SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    Hungary
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anchor tag wouldn't wrap...

    I will going crazy, because I had rewrite my code millions of time but I don't know what's wrong...

    Here is this page: http://www.pdamania.hu/index2.php3

    If you will visit it from IE5.5, everything is correct. This is what I want.
    But if you visit it with FireBird 0.6.1 (Mozilla/5.0 Gecko/20030728 Mozilla Firebird/0.6.1) the blue bordered box on the left hand side was wrapped down. I don't know why... The only thing what I was figured out if I use short anchor tags (the displayed text is short, for example 2 charaters) the page looks good. So I think there will be some problem around the nachor tags. I need to wrap them, but I don'r know how.

    If anybody can help me please drop some line about it!

    Thank you.
    http://co3app.com
    Manage projects, share files, collaborate
    with people and control your finances online.

  2. #2
    SitePoint Guru r2d2's Avatar
    Join Date
    Dec 2003
    Location
    In my van, fool!
    Posts
    646
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you need to limit the width of the div the links are in. Maybe try "width:49%".

    The div is being created to wide to fit in its parent div and be next to the float:right div so it has to drop down below where there is more space.

  3. #3
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a partial fix I'm afraid: it's past midnight here, and I've got to go to bed sometime

    In your structure.css:
    Code:
     DIV.floatLeft { float: left; width: 49%; }
    That seems to do the trick in Moz, for the problem you described.

    Things are still messed up further down the page, but I think that's likely to be a different issue.

  4. #4
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    Hungary
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by r2d2
    I think you need to limit the width of the div the links are in. Maybe try "width:49%".

    The div is being created to wide to fit in its parent div and be next to the float:right div so it has to drop down below where there is more space.
    Thank you r2d2, I made the suggested changes. Now it is working in FireBird, but It's failed in IE 5.5 I think I have to use some IE5.5 hacking...
    http://co3app.com
    Manage projects, share files, collaborate
    with people and control your finances online.


Bookmarks

Posting Permissions

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