dcole.ath.cx Posted February 4, 2007 Share Posted February 4, 2007 how do you have an image that has text on top of it... like using z-index. Link to comment Share on other sites More sharing options...
Anders Moen Posted February 4, 2007 Share Posted February 4, 2007 You just use CSS like this:position: absolute;left: Xpx;right: Xpx;top: Xpx;bottom: Xpx;But I don't recommend doing this, because if I don't remember wrong, it's not shown right in all browsers. You should use PHP with GD. Or simply use the image as a background-image.#bg {background-image: url(image.gif);background-repeat: no-repeat;background-position: center;width: Xpx;height: Xpx;}<div id="bg">Hey! There's a background-image on this text </div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now