Jump to content

Archived

This topic is now archived and is closed to further replies.

pneudralics

css rollover menu

Recommended Posts

I can't seem to align IMAGE with link. I want it to look like this:
IMAGE link

Ran out of ideas...anyone? I just keep on getting this:
IMAGE
link

[code]

<style type="text/css">
table.messagecenter a {
width:125px;
border:1px solid #333333;
display: block;
}

div.messagecenter a {
color: #333333;
background: #ffffff;
text-decoration:none;
font-size:11px;
line-height:16px;
font-family: Tahoma, verdana, sans-serif;
padding: 2px 5px;
}

div.messagecenter a:link {
color: #333333;
background: #cccc99;
}

div.messagecenter a:active {
color: #000000;
background: #cccc99;
}

div.messagecenter a:visited {
color: #333333;
background: #cccc99;
}

div.messagecenter a:hover {
color: #eeeeee;
background: #333333;
border:1px solid #000000;
}

</style>

<div class="messagecenter">
<table summary="" cellpadding="1" cellspacing="1" class="messagecenter">
<tr>
<td>IMAGE linnk</td>
</tr>
<tr>
<td>IMAGE link</td>
</tr>
<tr>
<td>IMAGE link</td>
</tr>
</table>
</div>
[/code]

Share this post


Link to post
Share on other sites
Cool thanks. Couldn't get the image inside with the link it looks like this:
IMAGE [link]

All I'm gonna do is match the border with the background color.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.