PDA

View Full Version : Need help editing code


MrHorror
11-01-2012, 12:53 AM
Hi. I finally found a way to add new links to my navbar (small one below tabs) using this code in the navbar template.

<li><a href=""></a></li>

But I need help altering this a bit. How would I go about editing this bit of code to show a tiny 12x12 icon next to the new navbar link?

Lynne
11-01-2012, 02:03 AM
Just put an image tag before the <a href....> part.

http://www.w3schools.com/tags/tag_img.asp

MrHorror
11-01-2012, 02:32 AM
Thanks tons!!

MrHorror
11-06-2012, 11:01 PM
Ok new question, how would I edit this code to where the image I add is clickable? So when people click the icon, it'll take them to my facebook or twitter page?

kh99
11-06-2012, 11:05 PM
You just need to put an "a" tag around the img tags, like

<a href="some_url"><img ....></ a>

MrHorror
11-07-2012, 05:32 PM
Thank you kh99!!