View Full Version : Paragraph background image
05-10-2008, 10:14 PM
The background-image of a <p> is not showing fully.
I have an online example at http://www.jamiewest.org.uk/css/codingforums/
and the button being at
Would using a min-height: be acceptable here?
05-10-2008, 11:11 PM
You could just use height:25px which will show the image.
I believe IE 6 has problems with min-height and min-width, so sticking to just "height" will probably be easiest.
05-11-2008, 02:20 AM
I got that working now, I tried to change it to an anchor <a> tag and it has gone back to just covering the text.
Any ideas on this one?
05-11-2008, 02:30 PM
05-11-2008, 02:53 PM
Hi there rafiki,
as the a element is an inline element you will need to use this sort of coding....
<a id="button" href="#">home</a>
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.