| | Is it possible to have a linked font over an image (not being a background image)? If so, how do I accomplish that? |
|
|
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>
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
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.
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
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.
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.
this is what you need to do:
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 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).
Similar Topics
Keywords : typing, image
how do u make a pic a backround?? (3) ?email me if u know! Trap17 forum asks you to post contributes with substance. .... (5) Ok...another question...may sound stupid, but we're all stupid...how'd I be able to create (13) ok my problem now is that i need it to auto width the image that needs to be use so then I can use (2) Ok I been searching for days now on a half way descent tutorial on how to do a Image Roll Over Drop (13) ok, well i had had people review Hogwartsmagic.net and they said that i should get it to not be one It shows the body bg image only... (11) Remember that site layout I was hacking down for IE? Which by the way I didnt really like, but it (5) I have a menu page that consists of links to other pages. The page has a background image of a (6) Hi, Never hapened to me since HTML was invented. I've got a webpage ( h.shtml - I've also Just little reminder (10) Easy teahnic, post the following codes between and QUOTE <!-- (10) hello there well i designed this image that includes text a logo i shall say i am aware that i need homemade images in forms buttons (3) Hi, I have the next formular : CODE <form method='post' (3) Howdy all, I'm working on a project for college but ran into a "little" problem with SMIL, Looking for typing, image
|
|
![]() Typing Over Image |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|