PHP buttons/images

C++, C#, Java, PHP, ect...
Post Reply
Rastan
Posts: 126
Joined: Tue Apr 13, 2010 1:48 am

PHP buttons/images

Post by Rastan »

I'm still pretty new to PHP and coding in general so be easy on me if this is dumb/has been covered and I didn't see. I have tried to look more into this but I don't see a conclusive answer to this question.

I'm trying to figure out if theres a way to make buttons in PHP other than just having a grey button or going with a link type text. i.e. If I wanted to make a graphic and have it display for my button fully customized.


Thanks in advance for your time.

-Rastan
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: PHP buttons/images

Post by Jackolantern »

CSS can style buttons. Here is a page about how to do it. And here is another one.
The indelible lord of tl;dr
Rastan
Posts: 126
Joined: Tue Apr 13, 2010 1:48 am

Re: PHP buttons/images

Post by Rastan »

Thanks that clears it up some.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: PHP buttons/images

Post by Jackolantern »

For more advanced techniques, you can also use Javascript. However, it is much easier to see if CSS can do what you need first.
The indelible lord of tl;dr
Rastan
Posts: 126
Joined: Tue Apr 13, 2010 1:48 am

Re: PHP buttons/images

Post by Rastan »

I think that will do what I want for the submit type buttons. I'm playing with making/using images for link inputs. I think that will handle the rest of it. I didn't put it all together until I happened to catch a line out of what you linked me so thanks for that. For some reason CSS, links, and submit type buttons have been confusing me since I started messing with coding.
Post Reply

Return to “Coding”