Jump to content

I need help with something!


lDaFreshKid
 Share

Recommended Posts

Ok so I know HTML i just need help with a table.Ok so im trying to align my text at the top of the 2 images i have done.for a live preview go to http://habbmania.net/djpanel/djlnn.phpYou can see the 2 images to the left and right and text in the middle.Im trying to put the text at the top and put a BR tag so it will look like this"The Current DJ ScheduledNon Scheduled"But once i put the Br tag in it shows the text breaking down to the next line, In Example 2.How would i align the text at the top of example 1 with a BR tag so it will be aligned with the images.THE WHOLE POINT IS TO FIX EXAMPLE #1Please helpThis is the code i have for it."<a href=""><img border="0" src="left.gif" /></a> The Current DJ Scheduled <b> <? include('djnow.php'); ?></b> <a href=""><img border="0" src="right.gif" class="float-right" /></a>"

Link to comment
Share on other sites

Ok so I know HTML i just need help with a table.Ok so im trying to align my text at the top of the 2 images i have done.for a live preview go to http://habbmania.net/djpanel/djlnn.phpYou can see the 2 images to the left and right and text in the middle.Im trying to put the text at the top and put a BR tag so it will look like this"The Current DJ ScheduledNon Scheduled"But once i put the Br tag in it shows the text breaking down to the next line, In Example 2.How would i align the text at the top of example 1 with a BR tag so it will be aligned with the images.THE WHOLE POINT IS TO FIX EXAMPLE #1Please helpThis is the code i have for it."<a href=""><img border="0" src="left.gif" /></a> The Current DJ Scheduled <b> <? include('djnow.php'); ?></b> <a href=""><img border="0" src="right.gif" class="float-right" /></a>"
try adding an align tag to the img
<img src="hackanm.gif" align="top" width="48" height="48" />

Link to comment
Share on other sites

not sure you text along top or not, so did both<div style="width:220px; margin:0 auto; clear:both;"><div style="width:100%; display:block; text-decoration:none;"><span style="display:block; width:100%;text-align:center;">The Current DJ Scheduled</span><a href="#" style="background: url(djlnn_files/left.gif) no-repeat;display:block;width:32px; height:32px;float:left;"></a><a href="#" style="background: url(djlnn_files/right.gif) no-repeat;display:block;width:32px; height:32px;float:right;"></a><span style="display:block; height:32px;line-height:28px;text-align:center;"><strong>DJ-C@nn0n</strong></span></div></div><div style="width:220px; margin:0 auto; clear:both;"><div style="width:100%; display:block; text-decoration:none;"><a href="#" style="background: url(djlnn_files/left.gif) no-repeat;display:block;width:32px; height:32px;float:left;"></a><a href="#" style="background: url(djlnn_files/right.gif) no-repeat;display:block;width:32px; height:32px;float:right;"></a><span style="display:block; height:32px;line-height:15px;text-align:center;"><span style="display:block;">The Current DJ Scheduled</span><strong>DJ-C@nn0n</strong></span></div></div>

Edited by dsonesuk
Link to comment
Share on other sites

try adding an align tag to the img
<img src="hackanm.gif" align="top" width="48" height="48" />

You should try to avoid suggesting deprecated tags and attributes. Use CSS text-align or vertical-align to align things.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...