Guest Posted December 12, 2005 Posted December 12, 2005 Hello. I'm currently using CC 3.06 with the Killer Skin. I've been able to add a new section called "Swarovski Colors" in my styleTemplates/global/index.tpl The problem is, the bottom part of the box isn't closing and I'm not sure why. The code - <div class="boxTitleLeft">Swarovski Colors</div> <div class="boxContentLeft"> <div><iframe src="http://www.mpbeaddesigns.com/colorchoices.html" frameborder="0" width="130" height="90"></iframe></div> </div> The website - http://www.mpbeaddesigns.com/index.php So, I'm just curious, what am I doing wrong? Anyone have any ideas? Thanks in advance for any help/guidance. Starlin Quote
Guest gwizard Posted December 12, 2005 Posted December 12, 2005 It seems you have used the wrong css style. On the Shopping cart you have boxTitleRight and on the Swarowski box you have boxTitleLeft. Try switching them around and see what happens. Anyway, the box images definitions is the CSS. Quote
Guest Posted December 12, 2005 Posted December 12, 2005 <div class="boxTitleRight">Your Title</div> <div class="boxContentLeft"> code you wish to add <border="0" > </div> <div class="boxFootRight"> </div> or Go HERE http://www.cubecart.com/site/forums/index....showtopic=12521 Quote
Guest Posted December 12, 2005 Posted December 12, 2005 Ok - well thank you both. Unfortunately, it's gotten a bit better (there is a bottom part to the square) but it's a little mis-aligned. This is the new code <div class="boxTitleRight">Swarovski Colors</div> <div class="boxContentLeft"> <div><iframe src="http://www.mpbeaddesigns.com/colorchoices.html" frameborder="0" width="120" height="90"></iframe></div> <div class="boxFootRight"> </div> I tried playing around with titleleft, right, etc... - nothing. Any ideas? I'm going to keep playing around with it but any help would be greatly appreciated. GWizard - I'm not really sure that I understand what you meant. The shopping cart and the Swarovski Color boxes should be on the left side - with the other 3 elements on the right. Again - thank you in advance. Starlin Quote
Guest aikdo Posted December 12, 2005 Posted December 12, 2005 (edited) Change <div class="boxTitleRight">Swarovski Colors</div> <div class="boxContentLeft"> <div><iframe src="http://www.mpbeaddesigns.com/colorchoices.html" frameborder="0" height="90" width="150"></iframe></div> <div class="boxFootRight"></div> To <div class="boxTitleRight">Swarovski Colors</div> <div class="boxContentLeft"> <iframe src="http://www.mpbeaddesigns.com/colorchoices.html" frameborder="0" height="90" width="150"></iframe></div> <div class="boxFootRight"></div> OR <div class="boxTitleRight">Swarovski Colors</div> <div class="boxContentLeft"> <div><iframe src="http://www.mpbeaddesigns.com/colorchoices.html" frameborder="0" height="90" width="150"></iframe></div> </div> <div class="boxFootRight"></div> you had 1 too many div openings, this will now worked i have tested it... Edited December 12, 2005 by aikdo Quote
markscarts Posted December 12, 2005 Posted December 12, 2005 @ Aikdo, there is now a closing </div> tag in the code you posted . . . should be removed. He actually had an extra div tag in the wrong place, as you discovered, and a matching closing tag that is no longer needed <div class="boxTitleRight">Swarovski Colors</div> <div class="boxContentLeft"> <iframe src="http://www.mpbeaddesigns.com/colorchoices.html" frameborder="0" height="90" width="150"></iframe></div> <div class="boxFootRight"></div> Code above, now has 3 open, 3 close :wacko: Quote
Guest aikdo Posted December 12, 2005 Posted December 12, 2005 that final </div> closing tag was the colLeft Ending, and nothing to do with the box... Quote
markscarts Posted December 12, 2005 Posted December 12, 2005 that final </div> closing tag was the colLeft Ending, and nothing to do with the box... nothing to do with the box... = nothing to do with the post Sorry, just a nitpicker sometimes. As long as anyone else who reads the post and uses the code knows, the last </div> is superfluous :) Quote
Guest Posted December 13, 2005 Posted December 13, 2005 Aikdo and Markscarts - You guys are great - thank you SO MUCH for your help. Looks quite good now. I had thought that I counted my opening div with closing /divs - guess I have to go back to remedial counting. Again - thank you for your help! Starlin Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.