CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

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 Dev Shed Forums Sponsor:
  #1  
Old March 15th, 2004, 06:17 PM
apdtech's Avatar
apdtech apdtech is offline
Save me Jebus!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: New York City, USA
Posts: 451 apdtech User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 46 sec
Reputation Power: 5
Exclamation "Antipixel" CSS Buttons

Ok - been diddlin around whit this thing for quite some time, cant figure it:

my css code:
Code:
.button {
    font-variant:       small-caps;
    color:              #ffffff;
    background-color:   #006699;
    border-color:       #cedefa;
    border-style:       outset;
    text-decoration:    none !important;
    margin:             4em 0em 0em 0em;
    padding:            0em 0.9em 0em 0.9em;
    border-width:       2;
}

.button:visited {
    color:              #ffffff;
    background-color:   #006699;
    text-decoration:    none !important;
}

.button:hover {
    color:              #006699;
    background-color:   #cedefa;
    text-decoration:    none !important;
}

.button:active {
    background-color:   #cedefa;
    border-style:       inset !important;
    text-decoration:    none !important;
}


My BROKEN html code:
Code:
<FORM NAME="frmBlah" ACTION="/php-bin/proc_blah.php">
<INPUT TYPE="text" VALUE="" NAME="username"><BR>
<A HREF="javascript:document.frmBlah.submit();" CLASS="button">Submit Query</A>
</FORM>


My WORKING html code:
Code:
<FORM NAME="frmBlah" ACTION="/php-bin/proc_blah.php">
<INPUT TYPE="text" VALUE="" NAME="username"><BR>
<A HREF="/php-bin/proc_blah.php" CLASS="button">Submit Query</A>
</FORM>


Now problem is when i have the non-submitting form (workinghtml) the words "Submit Query" are displayed on the css button. However it doesnt submit the form like i want it too .

However when i change it to a javascript command in the href element, the font "Submit Query" can't been seen on the button!

I am at the point of staring at this for soooo long and i cant figure out why it doesnt work.

Any help appreciated! Thanks!

Last edited by apdtech : March 15th, 2004 at 06:22 PM.

Reply With Quote
  #2  
Old March 15th, 2004, 06:50 PM
apdtech's Avatar
apdtech apdtech is offline
Save me Jebus!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: New York City, USA
Posts: 451 apdtech User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 46 sec
Reputation Power: 5
nevamind figured it out - was my css for plain links:

A:link etc

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > "Antipixel" CSS 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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway