Re: [css-d] css with input-submit

2006-04-22 Thread Christian Montoya
> > From: smithj7
> > 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.

I'm not sure how helpful this is, but I use

< button type="submit" >Submit< /button >

instead. Then I just style the buttons. It's a little easier than
adding a class to all the inputs with type "submit."

--
--
Christian Montoya
christianmontoya.com ... rdpdesign.com ... cssliquid.com
__
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/


Re: [css-d] css with input-submit

2006-04-22 Thread Glenn E. Lanier, II
> 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.

>  

--- HTML file 


--- 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.

> Select a Month name="getLink" id="menu">
>  value="http://dbs.myflorida.com/observe.shtml#January";>January


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/


[css-d] css with input-submit

2006-04-21 Thread smithj7
I'm new.  A member of the webaim list suggested I join this group cause
some of my questions are really CSS driven rather than accessiblity
issues.  When it comes to CSS, I'm a baby.  I was amazed to discover
that  Eric A. Meyer "chaperons" this group.  He..he... I've learned alot
from "Eric" and :Eric's" book as well as Kynn Bartlett's book is on my
to buy list.  
 
But to the point of my question:  I am currently using an inline style
for the input type=submit to ensure that our site LOOKS like my PARENT
ORGANIZATIONS REQUIREMENTS. I'm trying to redisgn my site using tabless
outline and using xhtml with a css style sheet.  I'm finding there's a
lot more to it than I previously thought.
 
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. Note:  I do not
want to use the button element.  This causes problems for users of my
site.
 
This is a sample of the html side.  (note the css for the paragraph is
basic - bold and centered and required DOE font family - I might be able
to improve this someway too.)
 
Select a Month
 
http://dbs.myflorida.com/observe.shtml#January";>January

  

 
 
 
 
 
__
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/