Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

CSS overflowing text

  • 23-08-2006 10:19PM
    #1
    Registered Users, Registered Users 2 Posts: 6,384 ✭✭✭


    Hey guys, not sure how to correct this in css, but basically have a look at this link....

    there's two layers, outer_layer (the red background) and inner_layer (where the text resides, but in firefox, the red background stops before the text, i want it to extend so that all the text has a red background also (as it does in IE)...any ideas?

    (im used to having to compensate for IE not rendering stuff the way i want it, this is the first time im complaining about firefox)

    thanks
    keith


Comments

  • Registered Users, Registered Users 2 Posts: 68,173 ✭✭✭✭seamus


    Any reason why:

    A. You're using position:absolute
    B. You have the text in the inner div instead of the outer (the inner does nothing as best I can see)
    ? :)


  • Registered Users, Registered Users 2 Posts: 6,384 ✭✭✭kdouglas


    hmmmm....
    well i left out alot of stuff just for that example, the actual page has a couple more layers contained within the outer_layer

    removing the position:absolute solves the problem their in the example, but not on the full page which im working on...


  • Registered Users, Registered Users 2 Posts: 6,384 ✭✭✭kdouglas


    this example is more like the original


  • Closed Accounts Posts: 7,144 ✭✭✭DonkeyStyle \o/


    Just use tables *ducks* ;)


  • Registered Users, Registered Users 2 Posts: 6,384 ✭✭✭kdouglas


    #container {
    background-color:white;
    position:absolute;
    top:20px;
    bottom:20px;
    left:20px;
    right:20px;
    }

    ok, it seems removing that line fixes the problem in the example i linked to, but it didnt work on the actual website im working on, ill have a look around later to see if i can find anything else causing it


  • Advertisement
Advertisement