The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › The backgroud image seems to be cut off before using display:block for the “A” tag
I have a page where I used a background image for an “A” tag. And if I don’t use “display:block” for the “A” tag then the background image is cut-off at the top.
The expected output: http://img687.imageshack.us/img687/2853/displayblockcutexpected.jpg
The actual output: http://img259.imageshack.us/img259/4894/displayblockcutoff.jpg
The html code:
The CSS code
background: url(images/left_side.png) no-repeat left top;
padding: 7px 15px 4px 15px;
Can any one explain what is going one here?
Thanks in advance.