-
Web button placement, alignment and on hover effect
Ok, so at the moment my widget containing the HTML reads as: <img src="http://proaudioheadz.com/uploads/vow.png"<ul> <li><a><a href="http://www.proaudioheadz.com/wp-content/uploads/2011/07/music_production1.png"><img src="http://www.proaudioheadz.com/wp-content/uploads/2011/07/music_production1.png" alt="" title="music_production" width="263" height="84" class="aligncenter size-full wp-image-196"</a></li> <li><a>link 2</a></li> <li><a>link 3</a></li> <li><a>link 4</a></li> </ul> and the CSS reads as: <!DOCTYPE HTML> <html> <head> <title>Page Title</title> <style type="text/css"> #musicbutton { display: block; width: 263px; height: 42px; background: url("uploads/vow.png"); } #musicbutton:hover { background-position: 0 -42px; } </style> </head> <body> <a id="musicbutton" title="Music Production" href="music-production.htm"></a> </body> </html> I refreshed the page and somthing has happened, not to sure what yet.. So the styling, someone told me i have to create a somthing called a "class"?
-
Hey peeps!
Hello, im new here to so your not alone..
-
Web button placement, alignment and on hover effect
Woops, the code in my text widget is not what i posted, it is actually this: <a href="http://www.proaudioheadz.com/wp-content/uploads/2011/07/music_production1.png"><img src="http://www.proaudioheadz.com/wp-content/uploads/2011/07/music_production1.png" alt="" title="music_production" width="263" height="84" class="aligncenter size-full wp-image-196" /></a> What do i need to modify in that CSS code you kindly posted? For reference, the page in question can be viewed here: http://www.proaudioheadz.com About half way down the page is the area where the buttons are to be placed..
-
Hello WDF
Hi Aaron_WebDev, Thanks for the welcome..
-
Hello WDF
Thanks DJSelling, glad to be here..
-
Web button placement, alignment and on hover effect
Hi jonnyhocks, I suppose it would be navigation yes, the image below should give an idea of the kind of layout i am trying to achieve. I know the buttons are big and garish and i will most likely redo the buttons once i have the understanding of how to do this (code wise) down, i just knocked these buttons up real quick. Ill take a look at that CSS tut you posted and see if its a viable way of achieving my goal. Thanks for your reply. Regards, Wayne.
-
Hello WDF
Thanks for the welcome MikeChipshop, This looks like a friendly and knowledgable community.. (make my drink a sugar free soft drink as im diabetic.. )
-
Hello WDF
Hello WDF community, My name is Wayne, i have worked in the audio design industry for over ten years and have been lucky enough to work with some very talented individuals on some fantastic projects. I have founded a small audio design company and am looking to build an online presence. The design of our website has fallen to me, me who has next to no programming experience.. I am keen to learn new skills however and am relishing the challenge, im looking forward to meeting you all and helping out where i can. Regards, Wayne.
-
Web button placement, alignment and on hover effect
Hi everyone, I have created a graphic in photoshop, it is a web button i would like to place on our website that links to anothe page. Here is the image: As you can see the image is a two tier image, the top image is how the image will look on the page in a static state, and the lower image is how the image will look on mouse over. I have place this image on our page, but of course the whole image is being displayed and i would like to position the image to an ideal position. I would eventually like four images like this but for the moment need to learn the skills of how to position an element and apply the hover effect. Here is the HTML code i have used to place the image: <img src="http://proaudioheadz.com/uploads/vow.png" This code has been placed inside of a text/HTML widget I have not done any CSS work yet and my coding skills are limited. Our publishing platform is latest WP. Could someone please advise me as to how to proceed. Regards, Wayne.