Jul 20, 2008

Xhtml Strict Method For Submit/reset Buttons As An

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Xhtml Strict Method For Submit/reset Buttons As An

kvarnerexpress
What's the proper way to handle submit and reset buttons?

Using type submit and reset don't allow you to replace the default button with an image, using the type image doesn't allow a button to automatically act like a submit or reset....so far as I know.

So How should I do this when I want to use a custom image as the button?

Code will be best way to explain, thanks!

Reply

truefusion
This is how i would do it:
CODE

<input type="submit" value=" " name="" style="background: url(url/of/image.jpg); width: width of image; height: height of image;"  />
<input type="reset" value=" " name="" style="background: url(url/of/image.jpg); width: width of image; height: height of image;"  />

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : xhtml, strict, method, submit, reset, buttons

  1. [request] Gimp Tutorial For Watermarking Pictures
    can someone explain the method I need to use to do that? (2)
  2. Password Reset [resolved]
    (2)
    Hi, i created the account some time ago and i hadnt used it, i would like to have my password
    reseted since i dont remember wich i have choosen. Thanks. Regards, Seba....
  3. Reset My Site Pelase
    read for more info (6)
    Can you just reset my cpanel / website FTP and all to how it was when I got it new please? Don't
    change any passwords, just make it so it's like brand new again. thanks --why? because I have
    some files in public_HTML that I am trying to delete even after I give it 777 it says permission
    denied so please reset /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" />....
  4. Flash Problem
    sometimes the buttons will load the wrong link. (9)
    Its weird but sometimes when you hit the forums or roster button on my flash banner it will load:
    www.childrenofconan.trap17.com/index.html instead of what its suppost to. It works fine, but if you
    mess around and click the buttons for a little bit you will notice this happening. This is a problem
    because people visiting the site will sometimes click the button once and be like oh I guess the
    link is broken and never come back, if anyone has a solution to what could be the problem it would
    be awesome. This is one of my first custom flash banners and im just confused what....
  5. Frontpage Problem
    Strange message when press Submit (0)
    Trying to set up a "skeleton" form generated with Frontpage 2000. After installing Frontpage
    Extensions, when I hit Submit on the form I get this response: *-*-* :-| :^| :-/ :-( 8-( *-*-*
    * status=1 * osstatus=0 * msg=FrontPage security violation. * osmsg= I'm new at
    this, and don't understand any of the above response. Please explain the above stuff and suggest
    how to fix it. Thanks, Jack Here's the brief code: <!--webbot
    bot="SaveResults" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/CS....
  6. List Of Free Directories To Submit Your Websites
    (7)
    Hi: Submission in free directories is a world-known way to increase ranking and traffic. But most
    of you don't know a good source of that list of directories. Here is a great source of free
    directories list . Just start submission in those directories in your free time, and see you
    ranking.......
  7. Xhtml Input Field Problem
    (1)
    Hi, i use XHTML Strict and CSS, making one site. Here's some CSS code : CODE .LoginFromField
    { margin : 9px 3px 0 3px; width : 120px; height : 18px; float : left; color :
    #666; background-image : url(./FormFieldDefaultBg.gif); background-repeat : repeat;
    font-family : Verdana, Helvetica, sans-serif; font-size : 12px; border : 1px solid #aaa;
    } XHTML code: CODE <?xml version="1.0" encoding="windows-1251"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "h....
  8. Which Archiving Method Is Faster?
    One by one or all at the same time? (5)
    Well, I hope I am posting this in the right forum. I was wondering if you tech-guys know if there is
    any difference in speed if: I am let's say extracting two 2gb archives file1.rar and file2.rar:
    1. at the same time 2. one after another I'd really like to know that, because I really love to
    multi-task but sometimes I get the feeling that things would go faster if I did one thing and then
    after the first one is completed, move on to another rar archive for example... Thank you all for
    your answers!....
  9. Password Reset [resolved]
    (6)
    Did some major housecleaning and threw away my password. Please reset. Thanks!....
  10. Opening Hyperlink In New Window Using Xhtml 1.0 Strict
    (5)
    My website (currently under construction) is all going well until I realized that the XHTML 1.0
    Strict DTD does not allow the target="_blank" attribute. How would I find a way around this? I'm
    used to using XHTML 1.0 Transitional, but I want this website to be Strict for a change. I would
    really like it if someone here at trap17 can give me some css that allows them to be opened in a new
    window. I have searched on Google and only found ways that include writing my own DTD (which I
    don't want to do), use javascript, and use another doctype. All of those things, ....
  11. Java Iterator Help
    I need help with a method using iterator (2)
    /** * Remove from the club's collection all members who * joined in the given month,
    and return them stored * in a sparate collection object. * @param month The month of the
    membership. * @param year The year of the membership. * @return The number of members.
    */ public ArrayList purge(int month, int year) { if(month >= 1 && month
    { Iterator it = members.iterator(); ArrayList purged;
    purged = new ArrayList(); int counter = 0; wh....
  12. Submit Your Site To Google
    How to make google find your site (14)
    How to submit website to google? Is there any fast and guaranteed way to do it?....
  13. Can You Reset My Credits To 0
    (9)
    Hello, dear administration Merry Christmas I was busy these past days to post on forums, and i have
    -8 credits now. Can you reset them to zero please. Have lovely holidays....
  14. Help: Disable All Buttons Inside A Div Element
    How do you write a function to disable all buttons given a div id (8)
    I need help to write a function to disable all buttons iside a div ID. if possible the function will
    disable all buttons even the ones inside child divs belonging to the main div.....
  15. Credit Reset
    (5)
    Apparently, there was a problem with the termination script and I am left with over 13,000 credits.
    I am posting here to request a reset of my credits so I can start earning credits for hosting and
    not have my applications declined because of this glitch. /wink.gif" style="vertical-align:middle"
    emoid=";)" border="0" alt="wink.gif" />....
  16. Account Reset
    (1)
    I know this sounds strange, but can you please reset my hosting? This is the first time I have used
    cPanel and I seem to have messed it up regarding Fantastico and deleting files etc... /blush.gif"
    style="vertical-align:middle" emoid=":blush:" border="0" alt="blush.gif" /> Anyway, can you please
    tell me if you can do this?....
  17. Need To Reset My Password. Cant Access Cpanal
    (2)
    hi mods, figured i cant check my cpanal so i need a password reset. my user name is: modon.....
  18. How To Reset Internet Explorer 7.0 Settings (ries)
    (1)
    How to Reset Internet Explorer 7.0 Settings (RIES) If you experience problems with Internet
    Explorer 7.0 and you want to back Internet Explorer 7.0 to its first-run state, you can use the RIES
    to reset Internet Explorer 7.0 Settings. To do this follow below steps: Click on Tools menu, select
    Internet Options, click on Advanced tab, and finally click on Reset button to Reset Internet
    Explorer Settings This feature resets bellow setting to their "first-run" states: search
    providers browsing history ActiveX controls appearance settings browser's home page form da....
  19. Need Password Reset. [resolved]
    (7)
    For some reason I cannot access my cpanel, though, I am positive that I am entering the right
    password. Whatever. Please, reset cpanel password for http://studentunion.trap17.com/ . If it
    costs credits - I agree anyway, I have enough. Please notify me of the new password via e-mail, or
    PM. Thank you. P. S. I'd have done it myself, but in the processes script i get: "User Data
    Verfied Successfully! Changing password.. This can take time... Please be patient..(Do not hit
    Reload or Back) Password Change Failed!"....
  20. Getting Information From Submit Button
    I need to grab information from a submit button. (1)
    I basically have an array that uses characters as keys and has an integer value to it. I have a
    loop that outputs the list in that array. For each entry I want a a button to remove it. The button
    will submit the form to another page which contains the script to be able to remove it from the
    array. The infomation for the keys name is used for the buttons name value. Im not sure how you go
    about grabbing this information once on the submitted page. heres my code CODE
    echo("<form name='jobs' action='remove_job.php'>"); foreach....
  21. 2nd Method Of Disabling Safe Mode On Winxp
    Check this one out too (2)
    Another method to disable safe mode is to remove the registry key: Backup the key before deleting
    it, of course. This method does not remove the boot menu. However, it disables Windows' ability
    to actually boot to safe mode. Attempting to boot to safe mode will cause a quick Blue Screen of
    Death (BSOD) and restart.....
  22. How To Reset Cpanel Password?
    My password is not working (5)
    Hi, first of all, Thanks for starting such a nice service for free... I want to change my cPanel
    password. How to do this??? If only you (the admin) can do this, so please reset my cPanel password
    and send me My cPanel username is bimaljr My email for cPanel brcreation gmail.com Thanks.......
  23. DNS Hijack SearchAtHand.com Browser Result Removal
    this is a browser hijack and method of removing (6)
    Recently, I don't know when, I realized that my browser was opening some weird pages. It would
    either open to what it seemed to be a valid webpage but it always looked the same. But the contents
    will be text only but always with adult related links... so I was curious but never paid any
    attention since these pages were coming up only when I mistyped an URL address. But the pages
    popped up were always the same and it got me curious. So I started to click on refersh and see how
    far it will lead. At the end, it led to a site called "SearchAtHand.com" After few minutes ....
  24. How To Reset Your Bios (guide)
    (8)
    There are 2 ways you can reset your bios. 1. On the motherboard there is a small watch battery.
    Remove this battery along with the power cable from the power supply. Hold down the power button to
    fully discharge the system. Wait 2-3 minutes then reinstall the battery and plug in your system.
    Your reset is now complete 2. Some motherboards have a 3 pin jumper by the battery. Lets say that
    the jumper is on pins 2 and 3. Remove the jumper while the machine is OFF and place onto pins 1 and
    2. Power on your machine for a minute. (Note: Your system will not POST). Shutdown....
  25. Logitech G15 Keyboard
    Macro Buttons (5)
    I recieved the Logitech G15 keyboard this past christmas, and i'm wondering who else uses it. I
    really love the backlit keys, and the LCD, but has anyone got the macro buttons to work properly?
    Windows does not register them as an actual key, the program seems to register it, and spit out the
    macro. I can't use it for actual gaming, like counter-strike because there is no practical way
    to bind it. Link is here: http://www.logitech.com/index.cfm/products...CONTENTID=10717 ....
  26. Multiple Drop Down Menus W/ Submit Button
    (6)
    I am building a page that will have 2 drop down menus and a submit button. The first menu will have
    one set of options, say colors (red, blue, green, yellow). The second menu will have another set of
    options, say sizes (small, medium, large). What I want to be able do is select a color and a size,
    click submit and have it go to the page for those options. So if a user picks 'Red' and
    'Small' and clicks submit they will be linked to page1.html. If they pick 'Blue' and
    'Large', they will be linked to page2.html, and so on. Any ideas how to ....
  27. [photoshop]grunge Abstract Sig ~ Samma
    Includes Multi Color Method (9)
    Im not sure if this has been done before... I havent seen a grunge abstract tut before, but anyways
    here it is /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> Outcome:
    1. Fill the canvas with black, and brush with white using a grunge brush. After you have
    completely filled the whole layer with the grunge brush, go to Image > Adjustments > Auto Contrast,
    then go to Filter > Sharpen > Sharpen Edges, then finaly go to Edit > Fade Sharpen Edges and do an
    opacity of 50%. Make a new layer. Repeat Step 1. another 2 times using different gru....
  28. Can Reset The Id Auto Increment?
    phpMyadmin (10)
    hi, Can we reset the id auto increment in the mysql database using by phpMyadmin? let's say the
    shoutbox . the id #number table.. somehow i deleted some rows.. and i wanted to re-order/reset the
    id number acendingly in order rather than skip out.. thks ....
  29. Change Font Size On Taskbar Buttons
    (4)
    Would you like larger fonts on your taskbar buttons? Maybe you're a little short sighted, or
    just want to mess about a bit:) Here's how to do it... 1. Right click anywhere on your Desktop
    (not on an icon) and the context menu appears. 2. From the context menu, select Properties, and the
    Display Properties window appears. 3. Select the "Appearance" tab by clicking on it once. 4.
    Select the "Active Title Bar" from the "Item:" drop down list. 5. Adjust the font size, color,
    bold, or italics using the selectors to the right of the font box. 6. Click Apply to ....
  30. Http Method Post Is Not Supported By This Url
    (4)
    hi , i wrote an html file .... method="POST"
    action="http://localhost:8080/examples/servlet/request"> .... and the request.java is import
    java.io.*; import javax.servlet.*; import java.sql.*; import java.text.*; import java.util.*; import
    javax.servlet.http.*; public class request extends HttpServlet { public String getServletInfo() {
    return " Servlet connect to database and show the result of a SELECT"; } private Connection dbcon;
    public void init(ServletConfig config) throws ServletException { String loginUser="postgres"; String
    loginPasswd="postgres"; String loginU....

    1. Looking for xhtml, strict, method, submit, reset, buttons

Searching Video's for xhtml, strict, method, submit, reset, buttons
Similar
[request]
Gimp
Tutorial For
Watermarking
Pictures -
can someone
explain the
method I
need to use
to do that?
Password
Reset
[resolved]
Reset My
Site Pelase
- read for
more info
Flash
Problem -
sometimes
the buttons
will load
the wrong
link.
Frontpage
Problem -
Strange
message when
press Submit
List Of Free
Directories
To Submit
Your
Websites
Xhtml Input
Field
Problem
Which
Archiving
Method Is
Faster? -
One by one
or all at
the same
time?
Password
Reset
[resolved]
Opening
Hyperlink In
New Window
Using Xhtml
1.0 Strict
Java
Iterator
Help - I
need help
with a
method using
iterator
Submit Your
Site To
Google - How
to make
google find
your site
Can You
Reset My
Credits To 0
Help:
Disable All
Buttons
Inside A Div
Element -
How do you
write a
function to
disable all
buttons
given a div
id
Credit Reset
Account
Reset
Need To
Reset My
Password.
Cant Access
Cpanal
How To Reset
Internet
Explorer 7.0
Settings
(ries)
Need
Password
Reset.
[resolved]
Getting
Information
From Submit
Button - I
need to grab
information
from a
submit
button.
2nd Method
Of Disabling
Safe Mode On
Winxp -
Check this
one out too
How To Reset
Cpanel
Password? -
My password
is not
working
DNS Hijack
SearchAtHand
.com Browser
Result
Removal -
this is a
browser
hijack and
method of
removing
How To Reset
Your Bios
(guide)
Logitech G15
Keyboard -
Macro
Buttons
Multiple
Drop Down
Menus W/
Submit
Button
[photoshop]g
runge
Abstract Sig
~ Samma -
Includes
Multi Color
Method
Can Reset
The Id Auto
Increment? -
phpMyadmin
Change Font
Size On
Taskbar
Buttons
Http Method
Post Is Not
Supported By
This Url
advertisement



Xhtml Strict Method For Submit/reset Buttons As An



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE