only some of my text wraps around nested div

Discussion in 'HTML & Website Design' started by cristian, Dec 21, 2008.

  1. #1
    Hi guys,

    I've encountered a problem that I can't find anything about. I have a text div with a nested div on either side, and the text wraps around them fine - but near the bottom of the right div, the text stops wrapping! I have no doubt that this is something silly I've overlooked, but I just can't figure it out the problem.

    I have put up a test page at:

    http://auctionbandits.com/antique_house_door_hinges_knobs.html

    Although the other linked elements are not in place on the server yet, I hope that what is there is enough to see the problem. As always, all assistance is really appreciated!

    Cris
     
    cristian, Dec 21, 2008 IP
  2. Excavator

    Excavator Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello cristian,
    I only made a few changes. See the modified CSS here -
    <!--
    
    a:link, a:visited, a:hover
    {
    text-decoration: none;
    }
    
    a:hover {
    	color:blue;
    	text-decoration: none;
    	border-bottom:solid;
    }
    
    #Gheader {
    	position:relative;
    	width:800px;
    	height:255px;
    	z-index:1;
    	left: 0px;
    	background-color: #FFFFFF;
    }
    
    #Glinks {
    	position:relative;
    	width:800px;
    	z-index:2;
    	left: 0px;
    	background-color: #FFFFFF;
    	height: 25px;
    	border-bottom-color: #CCCCCC;
    	border-bottom-style: solid;
    	border-bottom-width: thin;
    	border-top-color: #CCCCCC;
    	border-top-style: solid;
    	border-top-width: thin;
    }
    
    #Gtext {
    	width:800px;
    	background-color: #FFFFFF;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 14px;
    	padding: 10px;
    	text-align: left;
    overflow: auto;
    }
    
    #Gimage {
    	width:800px;
    	background-color: #FFFFFF;
    }
    
    #Gfooter {
    	position:relative;
    	width:800px;
    	height:75px;
    	z-index:4;
    	left: 0px;
    	background-color: #FFFFFF;
    	border-bottom-color: #CCCCCC;
    	border-bottom-style: solid;
    	border-bottom-width: thin;
    	border-top-color: #CCCCCC;
    	border-top-style: solid;
    	border-top-width: thin;
    }
    
    #Gadsense250x250 {
    	width:250px;
    	height:250px;
    	background-color: #FFFFFF;
    	float: left;
    	padding-right: 10px;
    }
    
    #Gadsense160x600 {
    	width:160px;
    	height:600px;
    float: right;
    	background-color: #FFFFFF;
    	padding-left: 10px;
    }
    
    #Gwelcome {
    	position:relative;
    	width:800px;
    	z-index:3;
    	left: 0px;
    	background-color: #FFFFFF;
    	top: 10px;
    }
    
    #body {
    	text-align: center;
    }
    
    #GMaster {
    	width: 800px;
    	margin-top: 0px;
    	margin-right: auto;
    	margin-bottom: 0px;
    	margin-left: auto;
    	position: relative;
    	left: 0px;
    	top: 0px;
    	padding-top: 20px;
    }
    
    p {
    	font-size:12px;
    	font-family:verdana, arial, sans-serif;
    	line-height: 1.3em;
    }
    
    h1 {
    	font-size:24px;
    	font-family:verdana, arial, sans-serif;
    	line-height: 1.3em;
    }
    
    h2 {
    	font-size:14px;
    	font-family:verdana, arial, sans-serif;
    	line-height: 1.3em;
    }
    
    -->
    
    <!--
    .style1 {
    	font-style: normal
    }
    -->
    
    Code (markup):
    Lots more to fix though...
     
    Excavator, Dec 21, 2008 IP
  3. cristian

    cristian Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi Excavator,

    Many thanks for the help - it looks great!

    But the "lots more to fix though" part worries me. This page will eventually be the template on which hundreds - or maybe thousands - of separate pages will be based, so I'd surely like to eliminate as many problems early in the game as I can.

    It would be great if you could just mention some of the more glaring problems you noticed, and I'll take it from there. If you decide not to, though, I still really appreciate your help with my initial problem!

    Cris
     
    cristian, Dec 21, 2008 IP