Government Security
Network Security Resources

Jump to content

Photo

Text Over Rol Over Image


  • Please log in to reply
2 replies to this topic

#1 kingvandal

kingvandal

    Master Sergeant

  • Second Lieutenant
  • 776 posts

Posted 27 January 2011 - 07:36 AM

Maybe I am trying to do something that cannot be done...:blink:

I have a simple roll over image. I want to place text on top of it (Not through photoshop). If I set the image to background the rollover does not work but text is on top of image. If I make the roll over in a div tag the roll over works fine but text is on next line and link is busted. I cannot get the text on top of the image. Below is the code I have be trying to get to work. Any help is great.


<th width="119" scope="col"><div <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('DivSubBut123','','images/DivBut/DivButGry-Admin.png',1)"><img src="images/DivBut/DivButBlu-Admin.png" name="DivSubBut123" width="125" height="63" border="0" ></a><font size="+4"</font><a href="test.html" target="_blank">TEST</a></div></th></p>

Tchirimbimbim!!!
Very Interesting: Windows XP Source Code! and Windows Vista Source Code!!. Read'em and weap...

#2 bonarez

bonarez

    Retired GSO Second Lieutenant

  • Sergeant Major
  • 1,252 posts

Posted 27 January 2011 - 10:27 AM

I remember trying this a few years ago (and failed as well) Never was really into web dev myself..

I tried to circumvent this with css but never got around to finish it.. Still think it could be done with css since it gives more options in positioning your div's Don't know about layering though
"Ask the right question and you will receive the right answer. I'm just very sensitive about the right syntax"

Read the rules before you post

#3 kingvandal

kingvandal

    Master Sergeant

  • Second Lieutenant
  • 776 posts

Posted 27 January 2011 - 11:23 AM

real frustrating espically since it seems possible but nowhere canI find anythig that says for over a photo..lol
Tchirimbimbim!!!
Very Interesting: Windows XP Source Code! and Windows Vista Source Code!!. Read'em and weap...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users