Re: copy to clipboard
| From: | Gabor Hojtsy | Date: | Wed, 28 Aug 2002 18:57:14 +0000 |
| Subject: | Re: copy to clipboard | ||
| References: | 1 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-409@lists.php.net to get a copy of this message | ||
> because the copy to clipboard puts more space on the top of the example
then
> the bottom, I suggest adding a little space to the bottom of the example
so
> the example does not look like it belongs to the bottom text this could be
> confusing at first glance. the added space is not part of the attached
gif.
>
> to apply the changes copy this text over the previous codelink
> ********************************
> .codelink {
> font-size: 10px;
> text-align: right;
> }
> .codelink a{
> position:relative;
> left: -5px;
> top: 4px;
> background-color: #dcdcdc;
> padding: 4px;
> border: #aaa solid 1px;
> }
> ********************************
What about?
-----------------------[snip]-----
.codelink {
font-size: 10px;
text-align: right;
}
.codelink a {
position: relative;
right: 10px;
background-color: #dcdcdc;
padding: 4px 0px 4px 0px;
display: block;
}
-----------------------[snip]-----
This really puts the codelink onto a tab-like surface...
BTW I was unable to achive any left side padding on this object
(second padding value) in IE5, regardless of what was specified
there, so this was why I choose 0px on both sides...
Goba