OT: XHTML coding question

Eric Cope eric.cope at gmail.com
Mon Feb 7 19:46:47 MST 2011


The p.med_web applies only to <p> tags with the class = 'med_web'. If
you want to generalize, then change your css to :

.med_web{
...
}

Eric


On Mon, Feb 7, 2011 at 7:35 PM, Mark Jarvis <m.jarvis at cox.net> wrote:
>
> Any web monkeys out there?
>
> I'm using:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 TRANSITIONAL//EN"
> "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> I have the following in my css file:
> p.med_web {
>   font-size: 150%;
> }
>
> The following works well.
> <p class="med_web">blah blah blah</p>
>
> Why doesn't
> <span class="med_web">blah blah blah</span>
>
> work???
>
> Thanks,
>
> Mark Jarvis
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


More information about the PLUG-discuss mailing list