W3C home > Mailing lists > Public > www-html@w3.org > June 2005

Re: Text over image?

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Mon, 13 Jun 2005 17:37:59 +0200
Message-ID: <42ADA857.4030109@students.cs.uu.nl>
To: a monkey <the.only.monkey@gmail.com>
Cc: www-html@w3.org

a monkey wrote:

> I have a large image using a map in my html page. How do I put text  
> over a certain part of it?

Use CSS and absolute positionioning.

e.g. :

<div style="position: relative;">
   <img src="big_picture.png" />
   <p style="position: absolute; top: 50px; left: 100px;">Text</p>

But this question is really inappropriate on www-html.


Ushiko-san! Kimi wa doushite, Ushiko-san!!
Laurens Holst, student, university of Utrecht, the Netherlands.
Website: www.grauw.nl. Backbase employee; www.backbase.com.
Received on Monday, 13 June 2005 15:37:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:11 UTC