SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2013
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Accordion Final Touchs

    Hi, not sure if this is the correct forum, apologies if not.

    I have added an accordion to my site but I'm having a couple of problems with it. I've been playing with it for week but cannot get this right!

    First off, I want to add multiple 'div's' (Seperate comments) in each sectin. Unfortunately this only reads the top one (I'll post my code below)

    Secondly, it needs to be a set width and as long as it needs to be. I have set the width to what I need and the length to 1000px (to cover all potential instances). The problem is one of my columns now goes below the other 2 when opened!

    I also have some overlap.IE data in one secion overlapping the other.


    Please note, the code in each section is a feed taken from the FA Full Time website so I cannot edit it

    HTML:
    Code:
    	<div id="tablesfixturesresults">  <!-- Accordion - tablesfixturesresults START -->
    	
    	
    <h2 class="headerbox">Tables/Fixtures/Results</h2>
    	
    <!-- Accordion - Side Menu START -->
        <div id="accordion2">
        <ul>
            <li>
                <h1>Fixtures</h1>
                <div>
                    <span>
     
             <h4>Premier Division</h4>
    		  
    <div id="lrep319895695" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=481650819">click here for Premier Division</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '319895695'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>		  
    
           <h4>Division 1</h4>
    		  
    <div id="lrep195196557" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=403288927">click here for Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '195196557'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		  
    		<h4>Division 2</h4>		  
    
    <div id="lrep213198617" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=765513911">click here for Division Two</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '213198617'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		
    		<h4>Alliance Division 1</h4>		  
    		
    <div id="lrep238139318" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=495825332">click here for Alliance Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '238139318'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		
    		<h4>Alliance Division 2</h4>		  
    		
    <div id="lrep528476337" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=906984647">click here for Alliance Division Two</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '528476337'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>	
    
    		
                    </span>
                </div>
            </li>
            <li>
                <h1>Tables</h1>
                <div>
                                    <span>
     
             <h4>Premier Division</h4>
    		  
    <div id="lrep716502288" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=481650819">click here for Premier Division</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '716502288'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>		  
    
           <h4>Division 1</h4>
    		  
    <div id="lrep313940496" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=403288927">click here for Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '313940496'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
      
    		<h4>Division 2</h4>		  
    
    <div id="lrep718859499" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=765513911">click here for Division Two</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '718859499'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		
    		<h4>Alliance Division 1</h4>		  
    		
    <div id="lrep36056445" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=495825332">click here for Alliance Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '36056445'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		
    		<h4>Alliance Division 2</h4>		  
    		
    <div id="lrep776284370" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=906984647">click here for Alliance Division Two</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '776284370'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>	
    
    		
                    </span>
                </div>
            </li>
            <li>
                <h1>Results</h1>
                                <span>
     
             <h4>Premier Division</h4>
    		  
    <div id="lrep245446854" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=481650819">click here for Premier Division</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '245446854'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>		  
    
           <h4>Division 1</h4>
    		  
    <div id="lrep737249595" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=403288927">click here for Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '737249595'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		  
    		<h4>Division 2</h4>		  
    
    <div id="lrep513736752" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=765513911">click here for Division Two</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '513736752'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		
    		<h4>Alliance Division 1</h4>		  
    		
    <div id="lrep609847727" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=495825332">click here for Alliance Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '609847727'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		
    		<h4>Alliance Division 2</h4>		  
    		
    <div id="lrep792773559" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=906984647">click here for Alliance Division Two</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '792773559'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>	
    
    		
                    </span>
    		
    
    </div>   <!-- End of Accordion2 Div -->
        <script src="jquery-1.8.2.min.js"></script>
        <script src="jquery.accordion.js"></script>
        <script>    
        $("#accordion2").awsAccordion({
        type:"horizontal",
        cssAttrsVer:{
            ulWidth:"responsive",
            liHeight:50
        },
        cssAttrsHor:{
            ulWidth:"responsive",
            liWidth:50,
            liHeight:1000
        },
        startSlide:2,
        openCloseHelper:{
            openIcon:"ok-circle",
            closeIcon:"ok-sign"
        },
        openOnebyOne:true,
        classTab:"active",
        slideOn:"click"
    })
        </script>
          </section>
    
    
     
    
        </div> <!-- end of accordion horizontal div - END of side menu -->
    CSS:

    Code:
    /*
    Accordion ****************************************************************************
    */
    
    /*##VERTICAL ACCORDION##*/
    .accordion-ver>ul , .accordion-hor>ul{
      margin: 0 auto;
      padding: 0;
      list-style:none;
    } 
    .accordion-ver>ul>li {
      display:block;
      margin: 0;
      list-style:none;
      clear: left;
      position: relative;
      width: 600px;
      border-bottom:#f0f0f0 1px solid;
      background:#cccccc;
      *margin-bottom: -4px; /* IE6 e IE7 */
    }
    .accordion-ver>ul>li:hover {
      cursor:pointer;
    }
    .accordion-ver>ul>li.last {
      border: 0;
    }  
    .accordion-ver>ul>li>h1 {
      position: absolute;
      display:block;
      float:left;
      margin: 0;
      padding: 0 0 0 10px;
      top: 0;
      left: 0;
      font-size: 15px;
      font-family: Helvetica, Arial, sans-serif;
      text-decoration:none;
      text-transform:uppercase;
      color: #000;
    }
    .accordion-ver>ul>li>h1:hover {
      cursor:pointer;
    } 
    .accordion-ver>ul>li>div {
      display:none;
      background: #666;
      overflow: hidden;
      font-family: Helvetica, Arial, sans-serif;
    }
    .accordion-ver:hover>ul>li:hover>div {
      cursor: default;
    } 
    .accordion-ver>ul>li>div>span {
      padding:10px;
      display: block;
      text-align: left !important;
      line-height: normal;
    }
    .accordion-ver>ul>li>span.numericTab {
      position: absolute;
      display:block;
      top: 0;
      padding: 0 10px 0 0;
      float:right;
      margin: 0;
      right: 0;
      font-size: 15px;
      font-family: Helvetica, Arial, sans-serif;
      text-decoration:none;
      color: #000;
      background:#cccccc;  
    }
    .accordion-ver>ul>li>i {
      position: absolute;
      display:block;
      top: 0;
      right: 0;
      padding: 0 10px 0 0;
      float:right;
      margin: 0;
      font-size: 18px;
      text-decoration:none;
      color: #000;
    }
    
    /*##HORIZONTAL ACCORDION##*/
    .accordion-hor>ul>li {
      display:block;
      margin: 0;
      list-style:none;
      overflow: hidden;
      float:left;
      padding: 0;
      position: relative;
      border-right:#f0f0f0 1px solid;
      background:#cccccc;
    }
    .accordion-hor>ul>li:hover {
      cursor:pointer;
    }
    .accordion-hor>ul>li.last {
      border: 0;
    } 
    .accordion-hor>ul>li>h1 {
      position: absolute;
      display:block;
      float:left;
      /*margin-top: 0;*/
      margin-right: 0;
      margin-bottom: 0;
      margin-left: 0;
      width: 100%;
      top: 30px;
      text-align: left;
      font-size: 15px;
      font-family: Helvetica, Arial, sans-serif;
      text-decoration:none;
      text-transform:uppercase;
      color: #000;
    
      /* CSS3 Transform Rotate & Translate for H1 */
      white-space:nowrap;
      -moz-transform: rotate(90.0deg) translate(-40px,0px);  /* FF3.5+ */
      -moz-transform-origin: 0 100%;
      -o-transform: rotate(90.0deg) translate(-40px,0px);  /* Opera 10.5 */
      -o-transform-origin: 0 100%;
      -webkit-transform: rotate(90.0deg) translate(-40px,0px);  /* Saf3.1+, Chrome */
      -webkit-transform-origin: 0 100%;
      transform: rotate(90.0deg) translate(-40px,0px);  /* Saf3.1+, Chrome */
      transform-origin: 0 100%;
      filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1.0);  /* IE6,IE7 */
      -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1.0)"; /* IE8 */ 
    }
    .accordion-hor>ul>li>h1:hover {
      cursor:pointer;
    }
    .accordion-hor>ul>li>div {
      position:relative;
      display:block;
      float:left;
      overflow: hidden;
      *top:0px;       /* IE7 Hack */
      *left:0px;      /* IE7 Hack */
      margin:0;
      background: #666;
      font-family: Helvetica, Arial, sans-serif;
    }
    .accordion-hor:hover>ul>li:hover>div {
      cursor: default;  
    }
    .accordion-hor>ul>li>div>span {
      padding:10px;
      display: block;
      text-align: left !important;
      line-height: normal;
    }
    .accordion-hor>ul>li>span.numericTab {
      position: absolute;
      display:block;
      bottom: 0;
      padding: 10px 0;
      float:left;
      margin: 0;
      font-size: 15px;
      font-family: Helvetica, Arial, sans-serif;
      text-decoration:none;
      text-align: center;
      color: #000;
      background:#cccccc;  
    }
    .accordion-hor>ul>li>i {
      position: absolute;
      display:block;
      bottom: 0;
      padding: 10px 0;
      float:left;
      margin: 0;
      font-size: 18px;
      text-decoration:none;
      color: #000;  
    }
    
          body{background-color:#ffffff}
    .accordion-ver ul li{background-color:#404040}
    .accordion-ver ul li div{background-color:#ffffff}
    .accordion-ver ul li h1{color:#fcfcfc}
    .accordion-ver ul li div span{color:#404040}
    .accordion-ver ul li i{color:#c1d9f2}
    .accordion-ver ul li{border-width:3px}
    .accordion-ver ul li div span{padding:7px}  
    
    .accordion-hor ul li{background-color:#3d3d3d}
    .accordion-hor ul li div{background-color:#ffffff}
    .accordion-hor ul li h1{color:#ffffff}
    .accordion-hor ul li div span{color:#403f3f}
    .accordion-hor ul li i{color:#bed8f2}
    .accordion-hor ul li i{font-size:15px}
    .accordion-hor ul li div span{padding:11px}  
    	 
        /*End Accordion*/

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2013
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone got any ideas?

    This is my final touch before I go live

    I've come along way (Mostly thanks to Pullo)

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,597
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    It's not really clear what to do with all that code. Could you take a look at this thread, which will help you to post a more useful code sample:

    http://www.sitepoint.com/forums/show...Posting-Basics

    That way, we get a working example of what you have.

    Then try to make it really clear what you are trying to do.

  4. #4
    SitePoint Enthusiast
    Join Date
    May 2013
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Ralph thought that might be the case! (I can't see an option to edit the post so pelase see below)...........



    You can see an example of my accordion here: http://www.togganet.co.uk/YAL.html

    It is the accordion named: Tables/Fixtures/Results

    In each section I want multiple 'DIV's' (Or paragraphs) but when I put these in, only the top one shows.

    I'm sure it is a CSS (Or JS) issue but cannot pin point it!

    HTML
    Code:
        <div id="accordion2">
        <ul>
            <li>
                <h1>Fixtures</h1>
                <div>
                    <span>
     
             <h4>Premier Division</h4>
    
    <p>	   
    <div id="lrep195196557" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=403288927">click here for Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '195196557'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    </p>		 
    
           <h4>Division 1</h4>
    
    <p>	   
    <div id="lrep195196557" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=403288927">click here for Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '195196557'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    </p>
    	
    		
                    </span>
                </div>
            </li>
            <li>
                <h1>Tables</h1>
                <div>
                                    <span>
     
             <h4>Premier Division</h4>
    		  
    <div id="lrep716502288" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=481650819">click here for Premier Division</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '716502288'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>		  
    
           <h4>Division 1</h4>
    		  
    <div id="lrep313940496" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=403288927">click here for Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '313940496'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
     
    		
                    </span>
                </div>
            </li>
            <li>
                <h1>Results</h1>
                                <span>
     
             <h4>Premier Division</h4>
    		  
    <div id="lrep245446854" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=481650819">click here for Premier Division</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '245446854'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>		  
    
           <h4>Division 1</h4>
    		  
    <div id="lrep737249595" style="width: 350px;">Data loading....<a href="http://full-time.thefa.com/Index.do?divisionseason=403288927">click here for Division One</a><br/><br/><a href="http://www.thefa.com/FULL-TIME">FULL-TIME Home</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '737249595'
    </script>
    <script language="Javascript" type="text/javascript" src="http://full-time.thefa.com/client/api/cs1.js"></script>
    		  
    	
    		
                    </span>
    Bit of JS I have added...
    Code:
    </div>   <!-- End of Accordion2 Div -->
        <script src="jquery-1.8.2.min.js"></script>
        <script src="jquery.accordion.js"></script>
        <script>    
        $("#accordion2").awsAccordion({
        type:"horizontal",
        cssAttrsVer:{
            ulWidth:"responsive",
            liHeight:50
        },
        cssAttrsHor:{
            ulWidth:"responsive",
            liWidth:50,
            liHeight:1000
        },
        startSlide:2,
        openCloseHelper:{
            openIcon:"ok-circle",
            closeIcon:"ok-sign"
        },
        openOnebyOne:true,
        classTab:"active",
        slideOn:"click"
    })
        </script>
          </section>
    
    
     
    
        </div> <!-- end of accordion horizontal div - END of side menu -->
    CSS
    Code:
    /*##VERTICAL ACCORDION##*/
    .accordion-ver>ul , .accordion-hor>ul{
      margin: 0 auto;
      padding: 0;
      list-style:none;
    } 
    .accordion-ver>ul>li {
      display:block;
      margin: 0;
      list-style:none;
      clear: left;
      position: relative;
      width: 600px;
      border-bottom:#f0f0f0 1px solid;
      background:#cccccc;
      *margin-bottom: -4px; /* IE6 e IE7 */
    }
    .accordion-ver>ul>li:hover {
      cursor:pointer;
    }
    .accordion-ver>ul>li.last {
      border: 0;
    }  
    .accordion-ver>ul>li>h1 {
      position: absolute;
      display:block;
      float:left;
      margin: 0;
      padding: 0 0 0 10px;
      top: 0;
      left: 0;
      font-size: 15px;
      font-family: Helvetica, Arial, sans-serif;
      text-decoration:none;
      text-transform:uppercase;
      color: #000;
    }
    .accordion-ver>ul>li>h1:hover {
      cursor:pointer;
    } 
    .accordion-ver>ul>li>div {
      display:none;
      background: #666;
      overflow: hidden;
      font-family: Helvetica, Arial, sans-serif;
    }
    .accordion-ver:hover>ul>li:hover>div {
      cursor: default;
    } 
    .accordion-ver>ul>li>div>span {
      padding:10px;
      display: block;
      text-align: left !important;
      line-height: normal;
    }
    .accordion-ver>ul>li>span.numericTab {
      position: absolute;
      display:block;
      top: 0;
      padding: 0 10px 0 0;
      float:right;
      margin: 0;
      right: 0;
      font-size: 15px;
      font-family: Helvetica, Arial, sans-serif;
      text-decoration:none;
      color: #000;
      background:#cccccc;  
    }
    .accordion-ver>ul>li>i {
      position: absolute;
      display:block;
      top: 0;
      right: 0;
      padding: 0 10px 0 0;
      float:right;
      margin: 0;
      font-size: 18px;
      text-decoration:none;
      color: #000;
    }
    I hope this is clear

    I know there is a lot of CSS but i didn't want to exclude anything that was relevant. It all relates to the accordion

  5. #5
    SitePoint Enthusiast
    Join Date
    May 2013
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Having looked through my CSS again

    I think this has to be something to do with the JS (I cant read JS (Saying that I'm new to it all )

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,597
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    You have overflow: hidden in a few places, which prevents extra content being viewable. E.g.

    Code:
    .accordion-hor>ul>li {
    display: block;
    margin: 0;
    list-style: none;
    overflow: hidden;
    float: left;
    padding: 0;
    position: relative;
    border-right: #F0F0F0 1px solid;
    background: #CCC;
    }
    
    .accordion-hor>ul>li>div {
    position: relative;
    display: block;
    float: left;
    overflow: hidden;
    margin: 0;
    background: #666;
    font-family: Helvetica, Arial, sans-serif;
    }
    One option would be to change the one in red to overflow: auto; and removing the overflow: hidden in blue.

  7. #7
    SitePoint Enthusiast
    Join Date
    May 2013
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ralph

    Your a remarkable person!

    Its worked

    REALLY happy, thanks a lot

  8. #8
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,597
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Glad that helped.


Tags for this Thread

Bookmarks

Posting Permissions

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