Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 17th, 2002, 07:18 AM
D1NGO D1NGO is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 221 D1NGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Buttons

How would you go about changing the look of submit buttons and so on. Example: all the buttons on this site are marone in colour..

any help is appreciated

Reply With Quote
  #2  
Old August 17th, 2002, 08:17 AM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to EvilivE
RE: Buttons

CSS

Reply With Quote
  #3  
Old August 17th, 2002, 11:00 AM
D1NGO D1NGO is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 221 D1NGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Buttons

hmm..well im not sure how to do it in css, but i figured out how to do it in HTML..in case anyone cares ill post the code..
php Code:
Original - php Code
  1.  
  2. <input name="Submit" type="image" value="Submit" src="/images/search_go_button.jpg">

Reply With Quote
  #4  
Old August 18th, 2002, 09:07 AM
D1NGO D1NGO is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 221 D1NGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Buttons

found an even better way ;)

php Code:
Original - php Code
  1.  
  2. <input type="submit" Value="Submit" style="background-color: #336699; border: 1 white line;, color: white;">

Reply With Quote
  #5  
Old August 20th, 2002, 11:37 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
RE: Buttons

style = blah blah blah

that's css =P

Reply With Quote
  #6  
Old August 21st, 2002, 05:39 AM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 5
Send a message via Yahoo to bakertrg
RE: Buttons

use this and you have rollover submits without using an image...

php Code:
Original - php Code
  1.  
  2. .button {
  3.     font-family: Arial, Helvetica, sans-serif;
  4.     font-size: 12px;
  5.     color: #ffffff;
  6.     font-weight: bold;
  7.     background-color: #025776;
  8.     width: 80px;
  9.     border: #ffffff;
  10.     border-style: solid;
  11.     border-top-width: 1px;
  12.     border-right-width: 1px;
  13.     border-bottom-width: 1px;
  14.     border-left-width: 1px
  15. }
  16.  
  17. .buttonover {
  18.     font-family: Arial, Helvetica, sans-serif;
  19.     font-size: 12px;
  20.     color: #025776;
  21.     font-weight: bold;
  22.     background-color: #ffffff;
  23.     width: 80px;
  24.     border: #ff0000;
  25.     border-style: solid;
  26.     border-top-width: 1px;
  27.     border-right-width: 1px;
  28.     border-bottom-width: 1px;
  29.     border-left-width: 1px
  30. }

Reply With Quote
  #7  
Old August 21st, 2002, 05:44 AM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 5
Send a message via Yahoo to bakertrg
RE: Buttons

oops and put this in your button tags
php Code:
Original - php Code
  1.  
  2. onMouseOver="formButton(this,'buttonover')" onMouseOut="formButton(this,'button')" class="button"

Reply With Quote
  #8  
Old November 11th, 2002, 05:38 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: RE: Buttons


Quote:
use this and you have rollover submits without using an image...

php Code:
Original - php Code
  1.  
  2. .button {
  3.     font-family: Arial, Helvetica, sans-serif;
  4.     font-size: 12px;
  5.     color: #ffffff;
  6.     font-weight: bold;
  7.     background-color: #025776;
  8.     width: 80px;
  9.     border: #ffffff;
  10.     border-style: solid;
  11.     border-top-width: 1px;
  12.     border-right-width: 1px;
  13.     border-bottom-width: 1px;
  14.     border-left-width: 1px
  15. }
  16.  
  17. .buttonover {
  18.     font-family: Arial, Helvetica, sans-serif;
  19.     font-size: 12px;
  20.     color: #025776;
  21.     font-weight: bold;
  22.     background-color: #ffffff;
  23.     width: 80px;
  24.     border: #ff0000;
  25.     border-style: solid;
  26.     border-top-width: 1px;
  27.     border-right-width: 1px;
  28.     border-bottom-width: 1px;
  29.     border-left-width: 1px
  30. }


how can i apply this code to change image to another image when mouse hovers over it.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Buttons


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek