So, I was trying to figure out a way to hover over some images/button and then have it displayed on top of a table ( I wish I could give ya’ll a screen shot).
Anywho, I got it to work… but when I change the size of the browser (IE 7 and Firefox) the image remains in the same position causing it to look out of place.
When I tried to use position:relative, it’s even worse…
Could someone explain relative position vs. absolute… below is a condensed version.
Also, my verbage is underlined?
Why and how would I go about fixing that?…
I thought what I did was pretty clever, but it seems like a lot of trouble… do I have to start over?
<head>
<!–hoverover–>
<style type=”text/css”>
div#links a span {display: none;}
div#links a:hover span {display: block;
position: absolute?; top: 345px; left: 705px; width: 195px;
padding: 5px; z-index: 100;
color: #0174DF; margin: 10px; background: #FFFFFF;
font: 10px verdana, sans-serif; text-align: left;}
.showme {display: block;
position: absolute?; top: 345px; left: 705px; width: 195px;
padding: 5px; z-index: 100;
color: #0174DF; margin: 10px; background: #FFFFFF;
font: 10px verdana, sans-serif; text-align: left;}
</style>
<!–hoverover–>
</head>
<BODY>
<table width=”178″ height=”1175″ cellspacing=”0″ cellpadding=”0″ border=”0″>
<tr>
<td width=”178″ height=”84″ align=”center” valign=”top”>
<div>
<a href=”
<img src=”something/something/something.jpg” width=”158″ height=”84″ border=”0″ alt=””>
<span class=”showme”>
<img src=”something/something/something.jpg”><BR><BR><BR>
WORD: DEFINITION…VERBAGE
</span>
</a>
</div>
</td>
</tr>
<tr>
<td width=”178″ height=”84″ align=”center” valign=”top”>
<div = “links”>
<a href=”
<img src=”something/something/something.jpg” width=”158″ height=”84″ border=”0″ alt=””>
<span>
<img src=”something/something/something.jpg”><BR><BR><BR>
WORD: DEFINTION…VERBAGE
</span>
</a>
</div>
</td>
</tr>
</table>
</BODY>