Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2013-05-17
4
341 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 10

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Easy responsive table out of existing table 28 60
ebay style="image-orientation: 90deg;" 2 52
Make Line Items Look Good Over Mobile 2 83
ASP.NET Content Page 3 29
Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

860 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