July 16, 200818 yr Hi guys, right ive got some wierd issues on the site im designing, the html is here.... http://www.carl-robinson.co.uk/CHS/Concept2.html the css is here..... http://www.carl-robinson.co.uk/CHS/main2.css if you look on the page your'll see the problems, first the two divs and the bottom i cant get to align properly, i think i managed to bodge it, but then im having problems with the second div's header, the background isn't coming up and if i type more then one word, it starts going down onto a new line. would be great if someone could help me with this because once thats done i can actually start putting content onto pages to get it finished and up! also excuse the messy css! and i know theres alot of other things going haywire on there, im just trying to sort this out first cheers in advane
July 16, 200818 yr Hi there, had a look at your css and html, I think if you close your boxone div that'll help, at the moment boxtwo is inside it. Then float boxone and boxtwo left, taking away your position: relative, and they should line up nicely Hope it works out, Kirsty
July 16, 200818 yr <div id="boxone"> <h2 class="secondheader">What We Do </h2> <div id="topimgsmall"><img src="images/PtopBGsmall.png" /></div> <div class="laing"> <ul> <li>Bespoke system design and supply</li> <li>Thermal Store Cylinders </li> <li>Underfloor, thermal skirting and low temperature heating systems</li> <li>Ground, Air and Water Heat pumps</li> <li>Solar collectors</li> <li>Boilers </li> <li>Control systems</li> <li>Domestic manifold systems</li> <li>Consultations and Site surveys</li> <li>Training available at our new training centre in Chelmsford</li> <li>Free technical support and honest advice </li> <li>System commissioning</li> <li>Free quotations</li> </ul> </div> <div class="botimg2"><img src="images/PbotBGsmall.png" /></div> <div id="boxtwo"> <h2 class="secondheader">I </h2> <div id="topimg2"><img src="images/PtopBGsmall.png" /></div> <div class="laing"> <ul> <li>Bespoke system design and supply</li> <li>Thermal Store Cylinders </li> <li>Underfloor, thermal skirting and low temperature heating systems</li> <li>Ground, Air and Water Heat pumps</li> <li>Solar collectors</li> <li>Boilers </li> <li>Control systems</li> <li>Domestic manifold systems</li> <li>Consultations and Site surveys</li> <li>Training available at our new training centre in Chelmsford</li> <li>Free technical support and honest advice </li> <li>System commissioning</li> <li>Free quotations</li> </ul> </div> <div class="botimg2"><img src="images/PbotBGsmall.png" /></div> </div> CSS: #boxone { } <div id="boxone"> <h2 class="secondheader">What We Do </h2> <div class="laing"> <ul> <li>Bespoke system design and supply</li> <li>Thermal Store Cylinders </li> <li>Underfloor, thermal skirting and low temperature heating systems</li> <li>Ground, Air and Water Heat pumps</li> <li>Solar collectors</li> <li>Boilers </li> <li>Control systems</li> <li>Domestic manifold systems</li> <li>Consultations and Site surveys</li> <li>Training available at our new training centre in Chelmsford</li> <li>Free technical support and honest advice </li> <li>System commissioning</li> <li>Free quotations</li> </ul> </div> <div class="botimg2"><img src="images/PbotBGsmall.png" /></div> <div id="boxtwo"> <h2 class="secondheader">I </h2> <div id="topimg2"><img src="images/PtopBGsmall.png" /></div> <div class="laing"> <ul> <li>Bespoke system design and supply</li> <li>Thermal Store Cylinders </li> <li>Underfloor, thermal skirting and low temperature heating systems</li> <li>Ground, Air and Water Heat pumps</li> <li>Solar collectors</li> <li>Boilers </li> <li>Control systems</li> <li>Domestic manifold systems</li> <li>Consultations and Site surveys</li> <li>Training available at our new training centre in Chelmsford</li> <li>Free technical support and honest advice </li> <li>System commissioning</li> <li>Free quotations</li> </ul> </div> <div class="botimg2"><img src="images/PbotBGsmall.png" /></div> </div>
July 16, 200818 yr Author Hi there, had a look at your css and html, I think if you close your boxone div that'll help, at the moment boxtwo is inside it. Then float boxone and boxtwo left, taking away your position: relative, and they should line up nicely Hope it works out, Kirsty kirsty i love you, i aint got no work done this afternoon until you told me that! cant believe i didnt close that div!! i even checked all my divs earlier! thanks alot! might have some more issues in a minute...
July 16, 200818 yr I've ignored the styling - just the position - u want something like this: CSS: #boxone { width: 49%; float: left; } #boxtwo { width: 49%; float: right; } .clear { clear: both; } <div id="boxone"> <h2 class="secondheader">What We Do </h2> <ul> <li>Bespoke system design and supply</li> <li>Thermal Store Cylinders </li> <li>Underfloor, thermal skirting and low temperature heating systems</li> <li>Ground, Air and Water Heat pumps</li> <li>Solar collectors</li> <li>Boilers </li> <li>Control systems</li> <li>Domestic manifold systems</li> <li>Consultations and Site surveys</li> <li>Training available at our new training centre in Chelmsford</li> <li>Free technical support and honest advice </li> <li>System commissioning</li> <li>Free quotations</li> </ul> </div> <div id="boxtwo"> <h2 class="secondheader">I </h2> <ul> <li>Bespoke system design and supply</li> <li>Thermal Store Cylinders </li> <li>Underfloor, thermal skirting and low temperature heating systems</li> <li>Ground, Air and Water Heat pumps</li> <li>Solar collectors</li> <li>Boilers </li> <li>Control systems</li> <li>Domestic manifold systems</li> <li>Consultations and Site surveys</li> <li>Training available at our new training centre in Chelmsford</li> <li>Free technical support and honest advice </li> <li>System commissioning</li> <li>Free quotations</li> </ul> </div> <br class="clear" />
July 16, 200818 yr Author hey got a problem now its broken in FF3 now i'll upload it to the interenet in a sec would love if you have a solution for this
July 16, 200818 yr Hi, I just checked the one that I changed in FF3 and it worked fine, exactly the same as when I got it off the web apart from the divs lined up. The only part of the code I changed (apart from closing the div) were: #boxone { width:467px; float: left;} #boxtwo{ float: left;} I haven't deleted the CSS file I have here yet so if you want it let me know and I'll send it to you Kirsty
Create an account or sign in to comment