slobra
10-12-2010, 09:26 PM
I created a drop down menu in my navbar with this code...
<td id="photo_menu" class="vbmenu_control">
<a href="#">Photos</a>
<script type="text/javascript"> vbmenu_register("photo_menu", true); </script>
</td>
<div class="vbmenu_popup" id="photo_menu_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Photos</td>
</tr>
<tr>
<td class="vbmenu_option">
<a href="/forums/album.php">My Albums</a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<a href="/forums/all_albums.php">All Albums</a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<a href="/forums/album.php?do=addalbum">Create New Album</a>
</td>
</tr>
</table>
</div>
The menu works fine but the alignment is different than the other drop down menus in my navbar and I can't figure out why. :confused: I must be missing something. If anyone has a second to kick-start my brain I would appreciate it! :D Screenshots...
Center aligned (incorrect):
http://truestreetcars.com/misc/photos.png
A different menu right aligned, but the code appears to be the same:
http://truestreetcars.com/misc/quicklinks.png
--------------- Added 1286938380 at 1286938380 ---------------
Neeeevermind. I just needed a few more Redbulls and BAM...brain started working. My code was all over the place. :lol:
<td id="photo_menu" class="vbmenu_control">
<a href="#">Photos</a>
<script type="text/javascript"> vbmenu_register("photo_menu", true); </script>
</td>
<div class="vbmenu_popup" id="photo_menu_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Photos</td>
</tr>
<tr>
<td class="vbmenu_option">
<a href="/forums/album.php">My Albums</a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<a href="/forums/all_albums.php">All Albums</a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<a href="/forums/album.php?do=addalbum">Create New Album</a>
</td>
</tr>
</table>
</div>
The menu works fine but the alignment is different than the other drop down menus in my navbar and I can't figure out why. :confused: I must be missing something. If anyone has a second to kick-start my brain I would appreciate it! :D Screenshots...
Center aligned (incorrect):
http://truestreetcars.com/misc/photos.png
A different menu right aligned, but the code appears to be the same:
http://truestreetcars.com/misc/quicklinks.png
--------------- Added 1286938380 at 1286938380 ---------------
Neeeevermind. I just needed a few more Redbulls and BAM...brain started working. My code was all over the place. :lol: