Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 362
  • Last Modified:

Trying to right align some text in a table cell that also has a image

http://roofgenius.com/test.asp
On the above page i have a download button that is centered in a table cell.
How can I right align a hyperlink on the same line as the centered download button.
the text to be right aligned is: "Downloading FAQ"
How can i do this?
0
isnoend2001
Asked:
isnoend2001
1 Solution
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Just add a <br> tag after the button
0
 
mensmaximusCommented:
Try

<td style="text-align: center" colspan="3">
	<div style="width:auto;">
		<a href="http://roofgenius.com/DownLoadSetups/RoofCalcWriter10Setup.exe"><img width="119" height="25" border="0" alt="download button" src="http://roofgenius.com/images/DownloadHere.jpg"></img></a>
	</div>
	<div style="text-align:right; margin-top: -22px;">
		<a href="DownloadFaq.asp">Download FAQ</a>
	</div>
</td>

Open in new window

0
 
Ishaan RawatDesigner | Developer | ProgrammerCommented:
Best way...

Add this to the Download FAQ's span tag...

position: relative;
top: -5px;
left: 0;

Open in new window

0
 
isnoend2001Author Commented:
Thanks
Adjusting this line worked
<div style="text-align:right; margin-top: -16px;">
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now