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 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2009
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts

    CSS align problem and backgrounds not showing both in IE

    Hi i'm getting two problems only in IE
    1.My sidebar as seen in FF & SF should align right which is correct in IE however "maincontent2" which should be align/ ( as seen in FF & SF ) top left so it is in align with the top of the sidebar. That last bit doesn't work in IE it just goes below the bottom of sidebar.
    My link>>http://ibbuk.co.uk/12/
    Here is my Php at the start of index.php if helps
    PHP Code:
    <?php
    include"header.php";
    include
    "sidebar.php";
    ?>
    ^^ Then after this is the "maincontent2" bit.

    2. The secound part to my problem is if you see the blue box in FF which is called "statsbar2" in the CSS well that background doesn't show in IE!
    CSS for both
    Code:
    #maincontent2{background:transparent; float:top left; line-height:130%; margin-top:8px; width:578px;}
    
    #sidebarcontent2{background:#ffffff  no-repeat; float:right; width:302px; border-left:4px solid#963E97;}
    #statsbar2{
    background: url(http://ibbuk.host56.com/statsbg2.jpg)no-repeat #00FFFF;
    color:#ffffff;
    margin-bottom:4px;
    }
    Last edited by jimmytubbs; 06-11-2009 at 07:52 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Please edit your post and remove the underline from the whole text. It make your text hard to read.

    Now have a try by
    Code:
    #maincontent {/*style.css (line 960)*/
    background:transparent url(http://ibbuk.co.uk/images/2bg.png) no-repeat scroll 0;
    color:#963E97;
    margin-right:305px;
    /*width:578px;*/
    }
    Last edited by abduraooft; 06-11-2009 at 06:17 AM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Jun 2009
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by abduraooft View Post
    Please edit your post and remove the underline from the whole text. It make your text hard to read.

    Now have a try by
    Code:
    #maincontent {/*style.css (line 960)*/
    background:transparent url(http://ibbuk.co.uk/images/2bg.png) no-repeat scroll 0;
    color:#963E97;
    margin-right:305px;
    /*width:578px;*/
    }
    Cool that worked well thanks,
    Any success whith my secound problem?


  •  

    Posting Permissions

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