TagUK2006
02-13-2009, 07:14 PM
Hi Guys,
Im trying to format some text links and images nside a div instead of using a table to get the layout I want..
I have tried and can space things the way I want between text links but the images sit slightly hugher than the text links and I want them all at the same level if you follow.
Here is my html for what I have and i wondered if someone could advice as to what CSS to add to format this properly.
<div align="right"><a href="pic.asp?<%= Server.HTMLEncode(MM_keepBoth) %>" style="margin-right:20px"><img src="mainImages/accept.png" border="0"/> View</a><a href="Getdetails.asp" target="_self" style="margin-right:20px"><img src="mainImages/email1.gif" border="0"/> Email</a><a href="default.asp"style="margin-right:20px"><img src="includes/Previous.gif" width="14" height="13" border="0"/>Go Back</a><a href="default.asp"></a></div>
Thanks Tag
Im trying to format some text links and images nside a div instead of using a table to get the layout I want..
I have tried and can space things the way I want between text links but the images sit slightly hugher than the text links and I want them all at the same level if you follow.
Here is my html for what I have and i wondered if someone could advice as to what CSS to add to format this properly.
<div align="right"><a href="pic.asp?<%= Server.HTMLEncode(MM_keepBoth) %>" style="margin-right:20px"><img src="mainImages/accept.png" border="0"/> View</a><a href="Getdetails.asp" target="_self" style="margin-right:20px"><img src="mainImages/email1.gif" border="0"/> Email</a><a href="default.asp"style="margin-right:20px"><img src="includes/Previous.gif" width="14" height="13" border="0"/>Go Back</a><a href="default.asp"></a></div>
Thanks Tag