I have tried to format my page with CSS without too much luck so far.
I need to have the big image centered (horizontally) a开发者_运维技巧nd just a bit displaced from the top. Then I need to put some text on top of it , and also a small image (on top of the big image as well).
I am trying to do this using div but every time something slips me. Any help will be much appreciated, thanks.
If you could post a link it would be nice...
<div style="background:transparent url(bigimage.jpg) no-repeat center center;width:500;min-height:500;">
<p>my text</p>
<img alt="" src="smallimage.jpg"/>
</div>
I would recommend you to pay a visit to www.w3schools.com on the css reference in the right, you can test with css code and view the result of each tag.
精彩评论