Jump to content

I need help with something!


lDaFreshKid

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>

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...