need help shifting tables

Discussion in 'PHP' started by BuLLeTz, Jul 14, 2008.

  1. #1
    hey, i need some help with this new joomla template im working with...ill show the code and pics so everyone can get an understanding of what i want, and hopefully i can get an answer.

    heres how the template looks: http://img212.imageshack.us/img212/5859/beforeyv4.gif

    the blue arrow is what i want to happen.

    so this is how i want the template to look: http://img516.imageshack.us/img516/195/afterpl7.gif


    here is the coding of the template(its joomla based):
    			<table class="nopad" cellspacing="0">
    				<tr valign="top">
    					<?php if (mosCountModules('left')) { ?>
    					<td class="leftcol">
    						<?php mosLoadModules('left', -2); ?>
    					</td>
    					<td class="leftdiv"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="" width="16" /></td>
    					<?php } ?>
    					<td class="maincol">
    						<?php if (mosCountModules('header')) { ?>
    						<div id="banner"><?php mosLoadModules('header',-1); ?></div>
    						<div class="divtop"></div>
    						<?php } ?>
    						<table class="nopad" cellspacing="0" width="100% ">
    							<tr valign="top">
    								<td class="contentcol">
    								<?php if (mosCountModules('user1') || mosCountModules('user2')) { ?>
    									<div class="usermodules">
    										<div class="mod1">
    											<div class="mod2">
    												<div class="mod3">
    													<div class="mod4">
    														<?php if (mosCountModules('user1') && mosCountModules('user2')) { ?>
    														<div class="moddiv1">
    															<div class="moddiv2">
    																<div class="moddiv3">
    																<?php } ?>
    																	<table class="nopad" cellspacing="0">
    																		<tr valign="top">
    																			<?php if (mosCountModules('user1')) { ?>
    																			<td class="usercol">
    																				<?php mosLoadModules('user1', -2); ?>
    																			</td>
    																			<?php } ?>
    																			<?php if (mosCountModules('user2')) { ?>
    																			<td class="usercol">
    																				<?php mosLoadModules('user2', -2); ?>
    																			</td>
    																			<?php } ?>
    																		</tr>
    																	</table>
    																	<?php if (mosCountModules('user1') && mosCountModules('user2')) { ?>
    																</div>
    															</div>
    														</div>
    														<?php } ?>
    													</div>
    												</div>
    											</div>
    										</div>
    									</div>
    									<div class="moddivider"></div>
    									<?php } ?>
    									<?php if ($show_pathway == "true") { ?>
    								  <div class="path-padding">
    			              <?php mosPathway(); ?>
    			            </div>
    			            <?php } ?>
    									<div class="padding">
    											<?php mosMainbody(); ?>
    									</div>
    									<?php if (mosCountModules('user3') || mosCountModules('user4')) { ?>
    									<div class="moddivider"></div>	
    									<div class="usermodules">
    										<div class="mod1">
    											<div class="mod2">
    												<div class="mod3">
    													<div class="mod4">
    														<?php if (mosCountModules('user3') && mosCountModules('user4')) { ?>
    														<div class="moddiv1">
    															<div class="moddiv2">
    																<div class="moddiv3">
    																<?php } ?>
    																	<table class="nopad" cellspacing="0">
    																		<tr valign="top">
    																			<?php if (mosCountModules('user3')) { ?>
    																			<td class="usercol">
    																				<?php mosLoadModules('user3', -2); ?>
    																			</td>
    																			<?php } ?>
    																			<?php if (mosCountModules('user4')) { ?>
    																			<td class="usercol">
    																				<?php mosLoadModules('user4', -2); ?>
    																			</td>
    																			<?php } ?>
    																		</tr>
    																	</table>
    																	<?php if (mosCountModules('user3') && mosCountModules('user4')) { ?>
    																</div>
    															</div>
    														</div>
    														<?php } ?>
    													</div>
    												</div>
    											</div>
    										</div>
    									</div>
    									<?php } ?>
    								</td>
    								<?php if (mosCountModules('right')) { ?>
    								<td class="rightdiv"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="" width="16" /></td>
    								<td class="rightcol">
    									<?php mosLoadModules('right', -2); ?>
    								</td>
    								<?php } ?>
    							</tr>
    						</table>
    					</td>
    				</tr>
    			</table>
    PHP:
    the mod where the image appears is called 'header'...the 'right' mod is what i want shifted up into the 'header'...so i just want that header image shifted to the left and make it a little smaller...hopefully someone can help me.

    thanks.
     
    BuLLeTz, Jul 14, 2008 IP