Ezilon.com - Target Your Audience, be Seen in Your Region

Stuck in html

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 34 posts

Joined: Feb 2004

Hey guys,

I need your help. I have just had this new site design, but I have had some problems.

I need to put text over the top of some of the images, such as title bars, side bars..etc, and I normally can do it, but for some reason, when I try to put the text on top of one of the images, it either writes the text above or below the image.

Any help please???

Megan's picture
Administrator

She has: 10,154 posts

Joined: Jun 1999

How are you trying to do this? Are you using the images as backgrounds or what? Are you using tables or CSS?

It would help to give us a URL so we can see exactly what the problem is.

They have: 34 posts

Joined: Feb 2004

Well, I haven't got my domain transferred yet, but here's my temp URL...

http://216.67.252.162/~wapture/

If you can see, I need to put text over the right side panel, to show two of my hostings - yet I cannot do this for some reason or another.

I also need text over the title bars, and next to the server picture below the header.

bja888's picture

He has: 902 posts

Joined: Feb 2004

Let me guess your trying to do something like this: <img src="bla.img">Look im writing on a picture!</img>' Am I right?

The Webmistress's picture

She has: 5,587 posts

Joined: Feb 2001

You will need to make those images backgrounds to the table cells so that you can then put the text into the cell.

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

They have: 34 posts

Joined: Feb 2004

well, can you give me some help, tell me what to do... I've never felt more un-experienced..lol

brady.k's picture

He has: 1,383 posts

Joined: Feb 2002

use css:

td.hosting1 {
background-image: url('www.mesay.com/img.gif');
background-position: fixed;
}

Kyle Brady, President, Intuitive Industries LLC.
http://www.int-ind.com
[EMAIL=brady.k@gmail.com]brady.k@gmail.com[/EMAIL] - [EMAIL=brady.kyle@int-ind.com]brady.kyle@int-ind.com[/EMAIL]

sumeiko's picture

He has: 144 posts

Joined: Jun 2004

You could just use a simple alt tag:

<img src="image url" alt="This text is on the picture!">
This is a simple HTML tag. I think it is supported by most browsers. Sticking out tongue

The most beautiful thing we can experience is the mysterious. It is the source of all true art and science.
- Albert Einstein

Busy's picture
Modrater

He has: 6,151 posts

Joined: May 2001

alt tags disappear on some browsers once the image has loaded but you can use title="same text as alt" as well which stays put. This will only put the text in the image, not on.

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

They have: 10 posts

Joined: Jun 2004

Another way would be to position the text with css. It is easy and fast.

Nick