-
قرار گرفتن موقعیت ها در زیر هم
سلام. من یک قالب دارم که کد یکی از موقعیت ها این می باشد
کد:
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user5" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
حالا من این یک موقعیت را می خواهم به 3 تا افزایش دهم و آمدم کد نویسی را بصورت زیر درآوردم
کد:
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user5" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user6" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user7" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
همه همه چیز خوب هست ولی این 3 موقعیت ها بصورت افقی در کنار هم هستند و من می خوام این 3 موقعیت بصورت عمودی زیر هم باشند!
چطوری باید کاری کنم بصورت عمودی قرار گیرند؟ مرسی
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
09-28-2010 06:43 PM
# ADS
تبلیغات در جوملا فارسی
علاقه مندی ها (Bookmarks)