> From: smithj7
> Sent: Friday, April 21, 2006 7:27 PM
> I'm new. A member of the webaim list suggested I join this
Welcome.
> I don't have a clue how to do the html side or the CSS style
> sheet side
> for the input type=submit except using the inline style.
Two options that I know of:
input[type=submit]
{
/* your styles here */
}
input[type=checkbox]
{
/* styles */
}
which IE (6 and earlier, at least) do not recognize, so a better solution is
to apply a class to the input and style it that way.
> <input type="submit" style="font-size: 10px; font-weight: bold;
> font-family: ariel; background: ffedca" value="Go"></p>
--- HTML file ----
<input type="submit" class="subbutton" value="Go">
--- CSS file ---
.subbutton
{
font-size: 10px;
font-weight: bold;
font-family: ariel;
background-color: #ffedca;
}
You might want to rethink the px sizing on your font, either not setting it
at all, or using ems/% for font size. Discussed many, many times on the
list.
You should provide a fallback font in the event someone does not have Arial
installed. Generally, font-family lists several related fonts, followed by
either serif or sans-serif, which tell the browser to use a serif (or
sans-serif) font if none of the fonts are installed.
> <p class="option"><label for="menu">Select a Month</label><select
> name="getLink" id="menu">
> <option
> value="http://dbs.myflorida.com/observe.shtml#January">January
</option>
Do not name your classes the names of elements/tags. This will lead to grief
on some browsers/platforms.
--G
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/