vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 08-10-2004, 09:48 PM
DarknessDivine's Avatar
DarknessDivine DarknessDivine is offline
Senior Member
 
Join Date: May 2004
Posts: 250
Question Can someone tell me how to align this?

It's a module and I am trying to align this info into the center of the module but it won't center, I've tried <center>,doesn't work I've tried <p alight="right"> center and everything nothing works it still hangs over the side...What is in bold below is what I am trying now and it's pushes it in a little but the text still hangs over?????
Quote:
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td background="forums/images/myimages/nav_r_01.jpg" align="right"><strong><font color="#FFFFFF" size="3">On This Date</font><img src="forums/images/myimages/nav_right_mid_01.jpg" align="absmiddle"></strong></td>
</tr>
<tr>
<td><img src="forums/images/myimages/nav_r_03.jpg"></td>
</tr>
<tr>
<td valign="top" background="forums/images/myimages/nav_r_04.jpg"><table width="140" border="0" cellpadding="4" cellspacing="0">
<tr>
<td valign="top" background="forums/images/dcc/nav_r_04.jpg"> <font color="#20438A"><p align=right><script src="forums/external.php?type=js&forumids=23" type="text/javascript"></script>
<script type="text/javascript">
<!--
for (i = 0; i < 1; i++)
{
document.writeln(""+threads[i].title+"");
}
//-->
</script></font></td>
</tr>
</table></td>
</tr>
</table>
__________________
vBACMPS, Gallery user and Fan!!!
Come talk about the best dog breed in the world @
BoxerTalk!
  #2  
Old 08-11-2004, 11:41 AM
chrisvonc chrisvonc is offline
Member
 
Join Date: May 2004
Posts: 65
Default Re: Can someone tell me how to align this?

Give this a whirl. Looked like the bottom row was the problem and the centering coding:
PHP Code:
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
  <
tr
    <
td background="forums/images/myimages/nav_r_01.jpg" align="right"><strong><font color="#FFFFFF" size="3">On 
      This Date
</font><img src="forums/images/myimages/nav_right_mid_01.jpg" align="absmiddle"></strong></td>
  </
tr>
  <
tr
    <
td><img src="forums/images/myimages/nav_r_03.jpg"></td>
  </
tr>
  <
tr>
    <
td align="center" valign="top" background="forums/images/myimages/nav_r_04.jpg"><font color="#20438A"
      <
script src="forums/external.php?type=js&forumids=23" type="text/javascript"></script>
      <script type="text/javascript">
<!--
for (i = 0; i < 1; i++)
{
document.writeln(""+threads[i].title+"");
}
//-->
</script>
      </font></tr>
</table> 
That centers the the bottom scripts which I think is what you were having the problem with? If not, try a "align="center" in front of the valign in that line of your original code?
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Tables out of align CMPS. DarknessDivine Troubleshooting / "How do I..." Questions 1 06-19-2004 12:12 AM


All times are GMT -4. The time now is 12:16 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.