Click to See Complete Forum and Search --> : help with buttons


motoxxx
03-09-2005, 08:34 PM
ok i have a custom button made how do i make it so when u click it, it goes to a link

NogDog
03-09-2005, 08:44 PM
<a href="somepage.html"><img src="button.png" alt="button"></a>

Jeffro
03-12-2005, 05:59 PM
Originally posted by NogDog

<a href="somepage.html"><img src="button.png" alt="button"></a>

Don't forget to have
<a href="somepage.html"><img src="button.png" alt="button" style="border=0"></a>
This Page (http://aiowonder.funpic.org/clock/test.html) has examples and code on it.

Hope That Helps!
~Jeffro

CODE EDITED

PeOfEo
03-12-2005, 06:11 PM
Originally posted by Jeffro
Don't forget to have
<a href="somepage.html"><img src="button.png" alt="button" border="0"></a>
This Page (http://aiowonder.funpic.org/clock/test.html) has examples and code on it.

Hope That Helps!
~Jeffro style="border:0px;" would be the more correct way to do it.

the tree
03-13-2005, 02:39 AM
Originally posted by PeOfEo
style="border:0px;" would be the more correct way to do it. As it's zero, there's no need to express the units so style="border:0;" would be correct.
The page that Jeffro linked to doesn't even have a doctype so I really wouldn't advise using it as a reference.

Jeffro
03-13-2005, 06:15 AM
OK, OK. I'll change the code and correct the page.

PeOfEo
03-13-2005, 08:46 PM
Originally posted by the tree
As it's zero, there's no need to express the units so style="border:0;" would be correct.
The page that Jeffro linked to doesn't even have a doctype so I really wouldn't advise using it as a reference. That's true... the px is just a habbit for me :p

Jeffro
03-14-2005, 05:21 PM
Originally posted by the tree
...The page that Jeffro linked to doesn't even have a doctype so I really wouldn't advise using it as a reference.

Yeah, Well, you do a check on the boards you all depend on, and :eek: They aren't correct!!!!!!!:mad: ;)

PeOfEo
03-14-2005, 07:07 PM
we didn't design them.... If jupitermedia used yabb we would not have the invalidity problem. :o

Jeffro
03-14-2005, 07:10 PM
Originally posted by PeOfEo
we didn't design them.... If jupitermedia used yabb we would not have the invalidity problem. :o
I know, I may have overreacted. It's just that of the few pages I write, I always get critisized. I don't think webdeveloper.com has correct code.

PeOfEo
03-14-2005, 07:12 PM
I agree.

the tree
03-15-2005, 02:11 AM
Originally posted by PeOfEo
we didn't design them.... If jupitermedia used yabb we would not have the invalidity problem. :o But we would have the instability problem and keep on loosing our posts.

PeOfEo
03-15-2005, 09:29 PM
Originally posted by the tree
But we would have the instability problem and keep on loosing our posts. That depends on a few different factors, but yabb is open source isn't it?