Hi, I read on a Web site how to put a little picture next to certain links, using CSS.
It works fine except when the link wraps onto the next line. In this case the picture tries to display itself at the end of the top line, and not at the end of the wrapped line, as it should.
Here is the code:
----------------------
a.offsite {
padding-right: 10px;
padding-bottom: 0px;
background-image: url(aoutside.gif);
background-repeat: repeat-y;
background-position: right;
}
----------------------
Any ideas how to fix this so that when the link text is wrapped onto the next line then the picture appears on the bottom line, to the right of the link text?
Thx,
May
It works fine except when the link wraps onto the next line. In this case the picture tries to display itself at the end of the top line, and not at the end of the wrapped line, as it should.
Here is the code:
----------------------
a.offsite {
padding-right: 10px;
padding-bottom: 0px;
background-image: url(aoutside.gif);
background-repeat: repeat-y;
background-position: right;
}
----------------------
Any ideas how to fix this so that when the link text is wrapped onto the next line then the picture appears on the bottom line, to the right of the link text?
Thx,
May