[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

specify button width in explorer

Posted on 1999-12-16
1
Medium Priority
?
162 Views
Last Modified: 2010-04-09
I wan't to be able to specify how big a submit button to be.  My code works on Netscape 4.7 but not explorer 5.  What must I do to get explorer 5 to use a given button with?

My code:
<html>
   <body>
      <form>
         <input type=text name=thetext>
         <input type=submit name=hello  value=testing width=500>
      </form>
   </body>
</html>
0
Comment
Question by:calvinrsmith
1 Comment
 
LVL 8

Accepted Solution

by:
xabi earned 80 total points
ID: 2286783
Try this:

<html>
<head>
<style type="text/css">
<!--
input.button { width: 500px; }
-->
</style>
</head>
   <body>
      <form>
         <input type=text name=thetext>
         <input type=submit name=hello  value=testing width=500  class="button">
      </form>
   </body>
</html>

xabi
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

640 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question