cloudy

Author Topic: <Fieldset> Font Color  (Read 1076 times)

0 Members and 1 Guest are viewing this topic.

mth

  • Guest
<Fieldset> Font Color
« on: August 03, 2008, 03:10:27 PM »
A quick question:

Does anyone know how to control the color of the font on the fieldset legend text.  Currently, mine defaults to light blue and would like to change it but I am stumped to what controls its color.

http://69.143.90.55/webfiles/wxnoaaradio.php

Thanks in Advance,
Michael

Online TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Global Moderator
  • Posts: 5,868
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: <Fieldset> Font Color
« Reply #1 on: August 03, 2008, 03:28:27 PM »
Only shows up a light blue with MSIE...

CSS for fieldset, legend are what you need....

fieldset controls the whole fieldset properties
legend controls the title used in the fieldset

other tags to do what you want...


All you need is Time, Aptitude and Desire ... and you can build just about anything...

Online TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Global Moderator
  • Posts: 5,868
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: <Fieldset> Font Color
« Reply #2 on: August 03, 2008, 03:33:45 PM »
Like:

fieldset {
    color: #A52A2A;
    font-family: verdana;
}

legend {
    color: #A52A2A;
    background-color: #000000;
    padding: 4px 4px 2px 4px;
    font-family: ocrb;
    font-weight: bold;
    font-size: 130%;
}

All you need is Time, Aptitude and Desire ... and you can build just about anything...

mth

  • Guest
Re: <Fieldset> Font Color
« Reply #3 on: August 03, 2008, 07:26:47 PM »
Kevin,

I added your code and tailored it to my site.  Thanks a million!

Michael