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 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Background Color- Cuts Away

    Hello,

    So I am trying to make a CSS page. I like the idea of coloring the background of some paragraphs to separate them from others. So I put them in Div's.
    The problem is that some of the Divs don't function in some browsers some of the time. The problem is that the background will get cut. You can center the paragraph and refresh and it’s all there, scroll around and come back the color is ½ is chopped off in the middle of a paragraph line.
    IT ONLY DOES THIS IN non-full sized screens. But full sized or not the paragraph/li text is wrapping.

    The DIV called “bbg” contains nothing but text and:
    <h2><a name="...">...</a></h2>
    <h3>...</h3>
    <p>...</p><br><br>
    <ul><li>..</li>
    <li>..</li>
    <li>..</li>
    <li>..</li></ul></div>

    Here is my CSS code which is a bit long because I am working with NS4 as my base browser (company request no arguing)
    .bbg {
    background-color: #EEEEFF;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
    margin-right: 45px;
    margin-bottom: 10px;
    margin-left: 45px;
    border-color: #EEEEFF;
    border-style: solid;
    border-width: 1px;
    font-size: 90%;
    color: #000099;
    font-family: arial, sans-serif;
    }

    It is currently acting up in IE6 in Windows.

    Any ideas??

    Thanks!
    Amanda
    Last edited by amaher1; 12-19-2005 at 11:01 PM.

  • #2
    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
    Ugh you will need to use ilayer and layer tags for NS4 unfortunately.


  •  

    Posting Permissions

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