hi,
if you mean you want to use the same image everytime an H1 tag is generated you’re best off using a background iimage...so your css would look something like this:
h1 {
background: url(images/my-image.jpg) no-repeat 0px 0px;
padding: 0px 0px 0px 20px;
}
You would have to mess around with the padding and background positioning (the 0px 0px) to get the image where you want it but that’s basically it. You could add other specifications of course but the above will essentially give you your image with an h1 tag....you don’t need any div classes if that’s all you want to do.
www.9thwave.co.uk
WEB | DESIGN | PRINT
Hi,
I wanted that image to come from a TV. So the enduser could insert an image. Anyway I droppped the idea and did is as you desribed.
Thanks.
Hi,
thanks, nice and short solution. I give the " user" the option to use h1 to h6 each with an image choice.
Just style them all the same. Do you think it would be possible to create a dropdown TV that would make them choose from a few pre created images. So I can set size etc?