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
    Regular Coder
    Join Date
    Jan 2011
    Posts
    302
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Sections in a Div

    Hi, I am re-formatting some pages - on http://www.countyfairgrounds.net/arizona/arizona.php
    in the featured divisio - where Taylor Swift is
    are two sections figureleft and figureright in chrome they look fine in IE8 they don't and everything I have tried doesn't seem to work. Help please?

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 726 Times in 720 Posts
    Try:

    Code:
    section.figureleft {
        color: #400000;
        float: left;
        font-size: 16px;
        margin: 10px 0 10px 20px;
        padding: 10px;
        width: 300px;
    }
    
    section.figureleft {
        color: #400000;
        font-size: 16px;
        margin: 0 450px 10px 20px;
        padding: 10px;
    }

  • #3
    Regular Coder
    Join Date
    Jan 2011
    Posts
    302
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Thanks for the help and although it moved the figureleft class up some it did not work. Then I had this bright idea of taking figureleft and inputting align:left and then with the right one I put align:right - that solved the problem - below
    Thanks for helping.

    section.figureleft{
    margin: 0px 450px 10px 20px; /*top,right,bottom,left*/
    font-size:16px;
    color:#400000;
    font-weigh:bold;
    float:left;



    }
    section.figureright{
    margin: -100px 20px 10px 430px;
    float:right;
    overflow:auto; /*top,right,bottom,left*/


  •  

    Tags for this Thread

    Posting Permissions

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