Solved

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

Posted on 2013-05-17
4
326 Views
Last Modified: 2013-05-18
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
Comment
Question by:isnoend2001
4 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39176765
Just add a <br> tag after the button
0
 
LVL 2

Accepted Solution

by:
mensmaximus earned 500 total points
ID: 39176782
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
 
LVL 9

Expert Comment

by:Ishaan Rawat
ID: 39176967
Best way...

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

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

Open in new window

0
 

Author Closing Comment

by:isnoend2001
ID: 39177278
Thanks
Adjusting this line worked
<div style="text-align:right; margin-top: -16px;">
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now