Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Typing Over Image
ctbrons
post Apr 18 2006, 08:00 PM
Post #1


Newbie
*

Group: Members
Posts: 9
Joined: 10-April 06
Member No.: 21,629



Is it possible to have a linked font over an image (not being a background image)? If so, how do I accomplish that?
Go to the top of the page
 
+Quote Post
Kubi
post Apr 18 2006, 08:04 PM
Post #2


To Cool for Cache
Group Icon

Group: [MODERATOR]
Posts: 1,082
Joined: 16-June 05
From: Some Place.
Member No.: 8,317
T17 GFX Crew



You want text on top of an image? And you don;t want the image to be the background...kinda like a button?

Well, you can make a button in photoshop and then code it.

CODE

<a href="http://thelink.com" target="_blank"><img src="http://theimage.theextension" border="0" alt="your Description"></a>
Go to the top of the page
 
+Quote Post
ctbrons
post Apr 18 2006, 08:41 PM
Post #3


Newbie
*

Group: Members
Posts: 9
Joined: 10-April 06
Member No.: 21,629



I have thought about that, but I would prefer not to use a button. I would just like to be able to create a link on top of an image. Case-in-point what you see at the bottom of this page: http://www.faithcity.org/contact.html
Go to the top of the page
 
+Quote Post
serverph
post Apr 18 2006, 08:56 PM
Post #4


Ancient Enigma
Group Icon

Group: [MODERATOR]
Posts: 1,741
Joined: 11-July 04
From: under the stars
Member No.: 76



QUOTE(ctbrons @ Apr 19 2006, 04:41 AM) *

I have thought about that, but I would prefer not to use a button. I would just like to be able to create a link on top of an image. Case-in-point what you see at the bottom of this page: http://www.faithcity.org/contact.html


on the contrary, that example you gave just uses one big background image, with text aligned to occupy the desired positioning. if you want it that way, you might want to view the source code of the page, and see how it was done. then just tweak it according to your needs. smile.gif (although you want it NOT as a background which renders your example moot and irrelevant already).
Go to the top of the page
 
+Quote Post
garbage
post Apr 18 2006, 09:17 PM
Post #5


Privileged Member
*********

Group: [HOSTED]
Posts: 659
Joined: 16-April 06
From: Texas
Member No.: 21,945



ight man i think i have exactly what you need i helped write this script a while back and the only thing i did different for you is the part in orange

everything in red can be changed to your liking as far as colors
also font can be changed as well

and make sure you change the image link in green

QUOTE
<div align="center"><table border="0" cellpadding="0" cellspacing="0" width="425" height="175" background="http://img149.imageshack.us/img149/3522/garbagegrouch4yr.jpg"><td width="425" height="175" colspan="1"><td width="1" height="175"><td width="400" height="50"><div style="width: 425; height: 175; overflow: auto; font-family: Verdana, Tahoma, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; scrollbar-arrow-color:#FFFFFF; scrollbar-track-color:#538BB1; scrollbar-face-color:#275A7D; scrollbar-highlight-color:#538BB1; scrollbar-1dlight-color:#275A7D; scrollbar-darkshadow-color:#0A253B; scrollbar-shadow-color:#275A7D;"><div style="padding: 0px;">

<a href="http://img136.imageshack.us/img136/918/brushlessbgtutbygarbage2nr.jpg" target="blank">Brushless Background</a> if you want text without link just type text only

<br></div></div></td><td width="1" height="127"></td></tr><tr><td width="400" height="0" colspan="1"></td></tr></table></div>




hope this helps

Go to the top of the page
 
+Quote Post
WindAndWater
post Apr 19 2006, 12:10 AM
Post #6


Advanced Member
*******

Group: Members
Posts: 106
Joined: 1-April 06
Member No.: 21,148



I can't honestly see why you wouldn't use a background image (for a div or a table cell) but if you feel the great need to do it another way, you can use the z-index variable in css which allows for the layering of multiple elements.
Go to the top of the page
 
+Quote Post
Tyssen
post Apr 19 2006, 03:01 AM
Post #7



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



QUOTE(WindAndWater @ Apr 19 2006, 10:10 AM) *

I can't honestly see why you wouldn't use a background image (for a div or a table cell) but if you feel the great need to do it another way, you can use the z-index variable in css which allows for the layering of multiple elements.

Like WaW says, using an image in the HTML and then using z-index to position text over it would be a dumb way of doing it but if you absolutely had to (although I'd like to hear a good reason why), then you'd also need to use positioning (absolute/relative) to get the two elements to occupy the same space.
Go to the top of the page
 
+Quote Post
andrew1123
post Jul 14 2006, 07:35 AM
Post #8


Newbie
*

Group: Members
Posts: 1
Joined: 14-July 06
Member No.: 26,602



this is what you need to do: biggrin.gif
QUOTE
<img src="source" style="vertical-align: middle" />
<span style="position: relative; left: -width_of_the_image">
text
</span>

the parts in red are parts that you edit depending on your preferences smile.gif
you can make text a link as you wanted

the only problem is that text doesn't center itself within the image. i cant figure out how to do that (unless you manually get it to the center by moving it pixel by pixel). sad.gif

This post has been edited by andrew1123: Jul 14 2006, 07:45 AM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Turning An Image Into A Cartoon Style - Photoshop(30)
  2. Typing Speed(42)
  3. Making A Scroll Bar In Flash(4)
  4. Fixed Background Image(10)
  5. 800 Banners + Best Free Banner Text/image Maker!(15)
  6. What Is Theme Of Your Current Desktop Image(19)
  7. Dynamic Image / Signature Generator(12)
  8. Expanding Image Gallery(6)
  9. Watermark Your Image With Simple Php Script(33)
  10. How To Create Embed Image Mail In Gmail(44)
  11. Scrolling Images?(4)
  12. Mylot.com(16)
  13. A Simple Php Captcha - Image Validation(21)
  14. Image Hosting...(12)
  15. Image Not Taking The Right Size In Web Page(1)
  1. Google Rolling Image Trick(11)
  2. Do You Use Imagefilez.com?(25)
  3. The Right Web Album/image/photo Album Host?(9)
  4. Centering A Div Containing Image.(9)
  5. Cascading Windows(5)
  6. Windows Live Image Search(0)
  7. Image Viewing(3)
  8. Image Upload(11)
  9. Link Image Css Bug In Firefox(7)
  10. What Is Personality Typing?(0)
  11. Exact Image Index(2)
  12. Trap17 Dynamic Recent Post/topic Image(17)