Jump to content
xisto Community
Microsoft

I Need Help With Text Over Images

Recommended Posts

Well, the website you're talking about seems to have simply placed the image and the text together, of course, inside a <div> container... perhaps they have an external stylesheet that reduces the z-index of images.

In any case, what you could try doing is create a separate body.main class and set background image to whatever picture you want, and have an attribute that says no-scroll. For instance:

body.main{background-image:url('whatever');background-repeat: no-repeat;background-attachment: fixed;}

If you aren't particularly familiar with CSS, try visiting the W3Schools training pages.

Cheerio :)

Share this post


Link to post
Share on other sites

To put text over an image is quite easy, you can do it with tables by setting the background of a table to an image like this:

<td valign="top" background="img/light_paper.gif">

or using CSS tags like this:

<div style="position: relative; margin-bottom: -35px; padding-left: 7px;"><img style="display: block; position: absolute; width: 466px; height: 50px;" src="http://forums.xisto.com/no_longer_exists/;

There are other ways, but these are the common ways to do it.

Hope that helps. :)

Share this post


Link to post
Share on other sites

It's obviously that you're new in cascading style sheet (css), so, if you want a cool ebook about it, just private email me and i send it to you right away.

Share this post


Link to post
Share on other sites

<td valign="top" background="img/light_paper.gif">
or using CSS tags like this:
<div style="position: relative; margin-bottom: -35px; padding-left: 7px;"><img style="display: block; position: absolute; width: 466px; height: 50px;" src="http://forums.xisto.com/no_longer_exists/;
Or you could just set a background image for whatever element contains your text, e.g.:

h3#yourText { background: url(yourimage.jpg) top left no-repeat; }

Share this post


Link to post
Share on other sites

Well? I visit the website in internet explorer which is better because i can hear the song i can hear it in FF but when i visit it in IE the letters look messed up =\ why does it look fine only in Firefox?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.