943,097 Members | Top Members by Rank

Ad:
Mar 8th, 2010
0

put a text on image

Expand Post »
how can i put this text on image so that this dropdown one and dropdown two appears on image and so on its drop down menu?

here is the code
starts

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>JavaScript Dropdown Menu Demo</title>
<link rel="stylesheet" href="dropdown.css" type="text/css" />
<script type="text/javascript" src="dropdown.js"></script>

<title>New Page 1</title>
</head>

<body>
<img border="0" src="../../All%20Users/Documents/My%20Pictures/Sample%20Pictures/Blue%20hills.jpg" width="272" height="166">

<dl class="dropdown">


<dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)">
Dropdown One</dt>
<dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
<ul>
<li><a href="#" class="underline">Navigation Item 1</a></li>
<li><a href="#" class="underline">Navigation Item 2</a></li>
<li><a href="#" class="underline">Navigation Item 3</a></li>
<li><a href="#" class="underline">Navigation Item 4</a></li>
<li><a href="#">Navigation Item 5</a></li>
</ul>
</dd>
</dl>

<dl class="dropdown">
<dt id="two-ddheader" onmouseover="ddMenu('two',1)" onmouseout="ddMenu('two',-1)">
Dropdown Two</dt>
<dd id="two-ddcontent" onmouseover="cancelHide('two')" onmouseout="ddMenu('two',-1)">
<ul>
<li><a href="#" class="underline">Navigation Item 1</a></li>
<li><a href="#" class="underline">Navigation Item 2</a></li>
<li><a href="#" class="underline">Navigation Item 3</a></li>
<li><a href="#" class="underline">Navigation Item 4</a></li>
<li><a href="#">Navigation Item 5</a></li>
</ul>
</dd>
</dl>

<div style="clear:both" /><p>
</body>

end
plz help
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Hira khan is offline Offline
1 posts
since Mar 2010
Mar 12th, 2010
0
Re: put a text on image
It looks like you are overcomplicating this. The fastest/easiest/safest method to put text over an image is to apply a background image in CSS.

Menu #4 on this page might help you:

http://www.cssplay.co.uk/menus/drop_examples.html

Or this menu with a background image:

http://www.projectseven.com/tutorial...e/workpage.htm
Reputation Points: 12
Solved Threads: 2
Newbie Poster
MoonTraveller is offline Offline
20 posts
since Feb 2008
Mar 16th, 2010
-1

reply

try in google u will better options and techniques to do this.
Reputation Points: 8
Solved Threads: 0
Newbie Poster
suzzena is offline Offline
12 posts
since Dec 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: I want to learn web designer
Next Thread in Site Layout and Usability Forum Timeline: Sites CAN BE viewable in ANY BROWSER....





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC