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 to the CF scene
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS issue (I think?) (adult site)

    Something is wrong with the CSS of my site in Firefox and Internet Explorer! I'm self-taught so any help is much appreciated

    www.chloeboulez.com/About

    you can see that my photos are not staying in the frames!

    here is the CSS

    #container {width:1100; height:454; padding:0px;}
    #image {float:left; width:344px; height:520px; padding:10px; border:30px solid black;}
    #rotating-item-wrapper {position:relative; width:344px; height:520px;}
    #image2 {width:395px; height:270px; padding:10px; border:30px solid black;}
    #rotating-item-wrapper2 {position:relative; width:395px; height:270px;}
    .rotating-item {display:none; position:absolute;}
    #image2 {width:395px; height:270px; padding:10px; border:30px solid black;}
    #image3 {float:left; width:250px; height:650px; padding:10px;}

    and the HTML

    <div id="container"><br>
    <div id="image"><div id="rotating-item-wrapper">
    <img src="Images/About1.jpg" width="324" height="500" border="10" align="left" class="rotating-item"/>
    <img src="Images/About2.jpg" width="324" height="500" border="10" align="left" class="rotating-item"/>
    <img src="Images/About3.jpg" width="324" height="500" border="10" align="left" class="rotating-item"/></div></div>

    thanks in advance!!

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    You dont specify a valid doctype, which IE hates. All pages should have a doctype and <html> is not enough if you expect cross browser compliance.

    You also have some other code validation errors, but adding the doctype might take care of them as well.
    Teed


  •  

    Posting Permissions

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