Microsoft
Software
Hardware
Network
Question : text rollover button vertical distance
hello,
I have a roll over text button the class is added to the paragraph. my question is, I have 2 buttons but they are distant from each other, how can I have the top button 4px from the bottom button.
thanks for any help
k
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html
4/loose.dt
d
">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<style type="text/css">
<!--
p.superbuttons a {
color: #000000;
text-decoration: none;
background-color: #009900;
display: block;
padding: 3px 0px 3px 12px;
width: 150px;
border-top: 1px solid #EEEEEE;
border-right: 1px solid #666666;
border-bottom: 1px solid #666666;
border-left: 1px solid #EEEEEE;
background-repeat: no-repeat;
}
p.superbuttons a:hover, p.superbuttons a:active {
background-color: #333333;
color: #FFFFFF;
background-repeat: no-repeat;
}
-->
</style>
</head>
<body>
<p class="superbuttons"><a href="mypage.htm">your link text</a></p>
<p class="superbuttons"><a href="mypage.htm">your link text</a></p>
</body>
</html>
Answer : text rollover button vertical distance
p.superbuttons{
margin:0px 0px 4px 0px;
}
that should do it.
( tested it and it works fine.. )
Random Solutions
Access VBA Word merge
How can you search e-mail within Outlook 2010 and not use the index?
FILTERING EXCEL DATA USING VALUES FROM 2ND WORKSHEET
Mouse slow in Google Chrome after attempted XP sp3 update
Ajax Installation
Change Mac disk to from case-sensitive, Journaled to Case-insensitive, Journaled.
Win7/XP Encrypted file - won't let me open
Apple iWeb - how to save HTML to Disk or to publish the web site via FTP?
PHP Email
XenApp 6.0 multiple sessions per user