|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
 |
setting textarea font to match rest |
 |
|
 |
|
|
|
  08-22-04 - 12:25 AM
|
I haven't specified fonts, leaving the user to have their chosen font.
However, different tags render in different default fonts: text, input,
& textarea all different from one another. I guess this is normal
behaviour, but it looks poor, and I don't want our website to look that
way (to out of the box browsers).
How would I set textarea's 'like' input, or how would I determine
(Javascript?) what's being used by an input field, to set the textarea
the same ? If it's got to be javascript, is there a way to set style for
all textareas together, rather than individual textareas ?
The difference between input boxes & text is bearable, if necessary, but
the textarea default font stands out too much.
Thanks,
Chris
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
 |
Re: setting textarea font to match rest |
 |
|
 |
|
|
|
  08-24-04 - 12:19 AM
|
Chris Sharman wrote:
> I haven't specified fonts, leaving the user to have their
> chosen font.
>
> However, different tags render in different default fonts:
> text, input, & textarea all different from one another. I
> guess this is normal behaviour, but it looks poor, and I
> don't want our website to look that way (to out of the box
> browsers).
>
> How would I set textarea's 'like' input, or how would I
> determine (Javascript?) what's being used by an input
> field, to set the textarea the same ? If it's got to be
> javascript, is there a way to set style for all textareas
> together, rather than individual textareas ?
>
> The difference between input boxes & text is bearable, if
> necessary, but the textarea default font stands out too
> much.
Didn't try this, but how about
body,input,textarea{
font-family:Helvetica,sans-serif;
font-size:100%;
}
?
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Jay-Z - Excuse Me Miss feat Pharrell
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
| All times are GMT. The time now is 03:30 PM. |
 |
|
|
|
|
|  |
|