![]() |
DIV Design question
Hi there,
it's not a question which has something to do with x-cart directly, but this one is driving me mad and i coudn't find any helpful code on the web. May be someone here has an answer. I designing my shop with css and div completely. i wanna show on the left side a background image and then overlay in the center text i tried this for example Code:
<div style="BACKGROUND-IMAGE: url(/skin1/central/countdown.gif); padding-right: 0px; PADDING-LEFT: 30px; PADDING-TOP: 100px; FONT-SIZE: 14px; BACKGROUND-REPEAT: no-repeat"> But the text is showing up below the picture. how can i overlay the text over the background? thanks in advance |
Re: DIV Design question
Ok first, never put the formatting IN the div, it should always be in the external stylesheet.
Next, in order to keep divs from stacking, you need to use the 'float' class. Get rid of the absolute positioning. |
Re: DIV Design question
Thanks Balinor
|
All times are GMT -8. The time now is 08:40 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.