tags:

views:

1397

answers:

6
+1  Q: 

HTML Button Style

how could i get a button to look like the "Check It" button on this page http://www.intus.co.za/

A: 

style="border: 1px #000 solid"

Ilya Birman
You could just view the CSS yourself: http://www.intus.co.za/sheet.css
Ilya Birman
+5  A: 

HTML:

<input class="field" type="submit" style="margin-right: 10px;" value="Check It"/>

CSS:

.field {
border:1px solid #000000;
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
}

I got this using Firebug (a Firefox plugin).

Greg
+3  A: 

If you're going to do this much, get Firebug, and simply inspect the element you like. It shows:

<input class="field" type="submit" onclick="javascript:popup();return false;" style="margin-right: 10px;" value="Check It"/>

.field {
  border:1px solid #000000;
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
}
Ned Batchelder
+1  A: 

Anything you want to try to duplicate on the web ought to be checked out with Firebug: http://getfirebug.com

You can see the HTML and CSS (and JavaScript for that matter) that you'd need.

Eric Wendelin
+1  A: 

I used the element inspector in Firebug and it shows this for the button.

element.style {
margin-right:10px;
}

.field {
border:1px solid #000000;
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
}
Jeff Atwood
A: 

...or, if you use IE, there's the IE Developer Toolbar.

Tor Haugen