Need help getting a picture and an UL li of pictures inside the box..

Discussion in 'HTML & Website Design' started by co.ador, Sep 18, 2009.

  1. #1
    I am facing bugs and properties cong. problems and I need some advice.

    [​IMG]

    If you notice in the largethumb image overlap the the 6px red border wrapping the content which comes from the id #rmc doesn't reach all the way down to entirely wrap the largethumb image in the imageviewer. I was wondering how can I make it contain the largethumb inside of itself and reach the bottom of the largethumb

    Html code
    <html>
    <head>
    <link type="text/css" href="../stylesheets/restaurantwebpageprueba.css" rel="stylesheet" media="all" />
    </head>
    <body>
    <div id="rmc">
    
    <div id="rc1">
    <ul id="rc1ul" >
    <li><a href="#">About Restaurant</a></li>
    <li><a href="#">Our Cuisine</a></li>
    <li><a href="#">Our Team Work</a></li>
    <li><a href="#">Hygiene and Guidelines</a></li>
    </ul><!-- end rc1ul -->
    
    <div id="videoplayer">
    <img class="line" src="images/videoplayer.jpg" alt="videoplayer" width="500">
    <p>Lorem Ipsum is simply dummy text
    of the printing and typesetting
    industry. Lorem Ipsum has been
    the industry's standard dummy
     text ever since the 1500s, when
     an unknown printer took a galley.</p>
    </div><!-- end videoplayer-->
    </div> <!-- end rcl -->
    
    <div id="rc2">
    <img class="line" src="../images/line..gif" alt="line">
    <ul class="smallthumbs" >
    
    <li><a href="#"><img src="images/blog1.jpg" alt="1"></a></li>
    <li><a href="#"><img src="images/blog2.jpg" alt="1"></a></li>
    <li><a href="#"><img src="images/blog3.jpg" alt="1"></a></li>
    <li><a href="#"><img src="images/blog4.jpg" alt="1"></a></li>
    <li><a href="#"><img src="images/blog5.jpg" alt="1"></a></li>
    
    </ul><!-- end smallthumbsul -->
    
    
    <img class="largethumb" src="images/blog5.jpg" alt="large">
    
    
    </div><!-- end rc2 -->
    </div><!-- end rmc-->
    <!--
     
                        </body></html>
    HTML:

    #rmc or container element
    #rmc {
    border: 6px solid red;
    position:relative;
    left:202px;
    top:80px;
    width:65%;
    height:100%;
    
    }
    Code (markup):
    Largethumb properties
    #rc2 ul li img{
    position:relative;
    text-align:center;
    height:100%;
    width: 100%;
      margin: 0 auto;
    }
    
    #rc2 .largethumb {
    margin-top:10px;
    width:100%;
    height:70%;
    
    }
    Code (markup):
    entire CSS stylesheet
    #rmc {
    border: 6px solid red;
    position:relative;
    left:202px;
    top:80px;
    width:65%;
    height:100%;
    
    }
    #rc1 {position:relative;
    width:100%;
    padding:0px;
    margin:0px;
    }
    #videoplayer { margin:0px auto;
    width:500px;
    position:relative;
    top:40px;
    
    }
    
    #videoplayer img{
    position:relative;
    width:100%;
    
    }
    #rc1 ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
    text-align:center;
    }
    #rmc #rc1 ul li {
    width:190px;
    float:left;
    margin:4px;
    border:1px solid green;
    
    
    
    }
    #rc2 {
    position:relative;
    top:70px;
    
    
    }
    
    .smallthumbs{
    text-align:center;
    }
    #rc2 .line {
    width:100%;
    height:3px;
    
    }
    #rmc #rc2 ul {
    list-style-type:none;
    
    padding:0px;
    text-align:center;
    width: 750px;
      margin: 10px auto;
     
    }
    
    
    
     #rmc #rc2 ul li {
    width:140px;
    height:60px;
    float:left;
    margin:4px;
    border:1px solid green;
    text-align:center;
    }
    
    #rc2 ul li img{
    position:relative;
    text-align:center;
    height:100%;
    width: 100%;
      margin: 0 auto;
    }
    
    #rc2 .largethumb {
    margin-top:10px;
    width:100%;
    height:70%;
    
    }
    Code (markup):
    I want to say that the image above in this post has been Print Screen from the firefox browser which is presenting this bug but in internet explorer the picture is inside the #rmc element as suppose to be. Why in firefox display differently. I know that different browsers interpret html and css etc differently.

    how could that be fixed for firefox and still internet explorer display the way it should uch......
     
    co.ador, Sep 18, 2009 IP