sydjeii Posted September 26, 2011 Posted September 26, 2011 im having trouble positioning my columns back to their original position after i added the navbar on top and some nav menus. here's what i did.. i defined a new style navBar to stylesheet.css, .navBar{ background:url(ext/jquery/ui/redmond/images/navbarbg2.png) no-repeat; height:66px; width:1024px; } .navBar_home a { background:url(images/navmenu_bg.png); float:left; margin-left:10px; margin-top:-67px; }.navBar_home a:hover{ background:url(images/navmenu_hoverbg.png); float:left; margin-left:10px; margin-top:-67px; } .navBar_profile a{ background:url(images/navmenu_bg.png); float:left; margin-left:155px; margin-top:-67px; }.navBar_profile a:hover{ background:url(images/navmenu_hoverbg.png); float:left; margin-left:155px; margin-top:-67px; } used navBar instead of ui-widget-header, and added some code to header.php <div class="navBar infoBoxHeading"><?php //echo ' ' . $breadcrumb->trail(' » '); ?></div> <?php //CHANGED UI-WIDGET-HEADER to navBar ?> <div class="navBar_home"> <?php echo '<a href="#">' . tep_image(DIR_WS_IMAGES . 'navmenu_home.png', "Home") . '</a>'; ?></div> </div> <div class="navBar_profile push_1"> <?php echo '<a href="account.php">' . tep_image(DIR_WS_IMAGES . 'navmenu_myprofile.png', "Home") . '</a>'; ?></div> </div> after that my site looked like this (see attached file) -=PINOY AKO=-
multimixer Posted September 26, 2011 Posted September 26, 2011 There could be more issues, depending on the context where you have your html block in, but here you close more div than what you open My community profile | Template system for osCommerce - New: Responsive | Feedback channel
sydjeii Posted September 26, 2011 Author Posted September 26, 2011 you were right sir. ive closed more divs..been stucked in this problem for 3 days.. my columns are ok now..thanks for your help.. :) -=PINOY AKO=-
Recommended Posts
Archived
This topic is now archived and is closed to further replies.