xcoderx Posted October 8, 2009 Share Posted October 8, 2009 guys say you got a jpeg template design and there are menus like optons already written. hwo would we be able to write text and link on top of the text already written on the image? Link to comment https://forums.phpfreaks.com/topic/176932-how-to-add-link-to-image/ Share on other sites More sharing options...
cags Posted October 8, 2009 Share Posted October 8, 2009 You can use text-indent: -9999px; to have the text there so it will work for screen readers etc, but not visible. You might need to set overflow: hidden; to stop the 'focus border' from stretching way out to the side. Link to comment https://forums.phpfreaks.com/topic/176932-how-to-add-link-to-image/#findComment-932923 Share on other sites More sharing options...
xcoderx Posted October 8, 2009 Author Share Posted October 8, 2009 You can use text-indent: -9999px; to have the text there so it will work for screen readers etc, but not visible. You might need to set overflow: hidden; to stop the 'focus border' from stretching way out to the side. hi this is the image can u please show me an example? im new to css i go no idea how to get going. Link to comment https://forums.phpfreaks.com/topic/176932-how-to-add-link-to-image/#findComment-932974 Share on other sites More sharing options...
cags Posted October 8, 2009 Share Posted October 8, 2009 I'm not very good at css myself. But judging from the experience I do have, your best option in this case will be to remove the writing from the image and simply use the background as a background-image and add the writting like normal. Link to comment https://forums.phpfreaks.com/topic/176932-how-to-add-link-to-image/#findComment-932986 Share on other sites More sharing options...
xcoderx Posted October 8, 2009 Author Share Posted October 8, 2009 ok that a good idea but wonder how to do the home portion aera. actuay its class project had been given a jpeg image and damn not getting any idea how and where to start lol Link to comment https://forums.phpfreaks.com/topic/176932-how-to-add-link-to-image/#findComment-933281 Share on other sites More sharing options...
haku Posted October 9, 2009 Share Posted October 9, 2009 What are you trying to do? Add new text to the image? Link to comment https://forums.phpfreaks.com/topic/176932-how-to-add-link-to-image/#findComment-933451 Share on other sites More sharing options...
bmdsherman Posted October 9, 2009 Share Posted October 9, 2009 Here is a tutorial for what I think your trying to say: http://www.w3schools.com/TAGS/tag_map.asp Link to comment https://forums.phpfreaks.com/topic/176932-how-to-add-link-to-image/#findComment-933453 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.