Alignment - NBS






 

 

Alignment - NBS

View Full Version : Alignment


Fierce Deity
13-Dec-2002, 11:35 PM
If you go to my site(www.cgi-bin.spaceports.com/~spi/forum) you'll see the buttons I have in the member bar, and they are to the left, no matter what I do I can't seem to align them in the middle.
Here is what the code looks like:

<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>
<tr>
<td align='left' valign='middle'><b>{ibf.lang.logged_in_as} {ibf.member.name}</b> ( <a href='{ibf.script_url}&act=Login&CODE=03'>{ibf.lang.log_out}</a>$ad_link $mod_link )</td>
<td align='right' valign='middle'>
&nbsp; <b><a href='{ibf.script_url}&act=UserCP&CODE=00' title='{ibf.lang.cp_tool_tip}'>{ibf.lang.your_cp}< /a></b> | <a href='{ibf.script_url}&act=Msg&CODE=01'>{$msg[TEXT]}</a>
&nbsp; | <a href='{ibf.script_url}&act=Search&CODE=getnew'>{ibf.lang.view_new_posts}</a> | <a href='javascript:buddy_pop();' title='{ibf.lang.bb_tool_tip}'>{ibf.lang.l_qb}</a>
</td>
</tr>
<tr>
<td align='middle' valign='middle'>
<script src="xaramenu.js"></script><script menumaker src="camden.js"></script>
</td>
</tr>
</table>
Can someone help please?

Topgunn9
14-Dec-2002, 03:36 AM
I can't help but generally you look for where it says:
<div align=right>
and change that to center ;))

LLOYD
SpinnaWeb

Fierce Deity
14-Dec-2002, 04:15 AM
there is no instances of Div align in the member bar section of the templates, but I did set the properties of the part I wanted to be aligned but it still wont work. Maybe I put it in wrong?

here it is seperate from the rest of the code:

<tr>
<td align='middle' valign='middle'>
<script src="xaramenu.js"></script><script menumaker src="camden.js"></script>
</td>
</tr>

Topgunn9
14-Dec-2002, 08:32 AM
Maybe you need to do like AristiA did and put it on a new line. Use:
<br> or <p></p>

LLOYD
SpinnaWeb

Aristia
14-Dec-2002, 06:51 PM
<td align='left' valign='middle'><b>{ibf.lang.logged_in_as} {ibf.member.name}</b> ( <a href='{ibf.script_url}&act=Login&CODE=03'>{ibf.lang.log_out}</a>$ad_link $mod_link )</td>
<td align='right' valign='middle'>


You put that as the top part, have u tried changing the td align?

Fierce Deity
14-Dec-2002, 08:32 PM
I've tried left, right, center, middle, to no avail, it just will not budge from the left hand side of the screen. I've also tried putting both <*p align=center>, and the older <*div align=center>, around the part I wanted center and still no go.

I wouldn't mind it so much if it didn't screw up the: My Controls | 0 new messages | View New Posts | My Assistant part.

Edit: opps I guess html is turned on in this board, lol.