THE BORE

General => The Superdeep Borehole => Topic started by: GilloD on September 08, 2008, 10:01:43 AM

Title: N00b-y CSS question.
Post by: GilloD on September 08, 2008, 10:01:43 AM
Let's say I have two style sheets- a.css and b.css. If a.css says

Code: [Select]
p .headline {
font-size:x-small;}

and b.css says

Code: [Select]
p .headline{
font-family: helevtica;}

Does headline become an EXTRA SMALL HELVETICA style or just HELVETCIA.

My question is, if the styles don't contradict (i.e., setting size to x-small in A and x-large in B), do they just "add up"?

I ask because I have some tightly styled text for our website, but now I need to add a CMS wrapper to a lot of those paragraphs. I suppose I could just tuck them into a <span>, but I'd like to reduce waste by just defining certain attributes for that CMS class.


Title: Re: N00b-y CSS question.
Post by: GilloD on September 08, 2008, 10:02:44 AM
I'm so stupid. I can just call two classes, apparently. IE
Code: [Select]
<div id="regclass cmsclass">
Title: Re: N00b-y CSS question.
Post by: GilloD on September 08, 2008, 10:47:08 AM
You can do that, but also make sure you spell helvetica correctly ;)

SEMANTIC WEB MY ASS. No ones gonna hold me down.

Thanks :)
Title: Re: N00b-y CSS question.
Post by: Joe Molotov on September 08, 2008, 12:58:26 PM
Use the AWP.
Title: Re: N00b-y CSS question.
Post by: Vizzys on September 08, 2008, 01:25:03 PM
might want to add "arial" or "san-serif" in addition, because the exact font helvetica isnt on all computers
Title: Re: N00b-y CSS question.
Post by: Tauntaun on September 08, 2008, 01:33:07 PM
Am I the only one who thought this was about Counter Strike Source?  :maf
Title: Re: N00b-y CSS question.
Post by: T234 on September 08, 2008, 01:36:18 PM
I did for a second, tauntaun, and I thought the question was gonna be how do I turn into an Asian or some shit.
Title: Re: N00b-y CSS question.
Post by: GilloD on September 08, 2008, 01:36:27 PM
might want to add "arial" or "san-serif" in addition, because the exact font helvetica isnt on all computers

It'll be in Japanese, so it doesn't matter. I was just being generic.
Title: Re: N00b-y CSS question.
Post by: Vizzys on September 08, 2008, 01:37:19 PM
lol ok
Title: Re: N00b-y CSS question.
Post by: Powerslave on September 08, 2008, 01:45:17 PM
lol what a css noob
Title: Re: N00b-y CSS question.
Post by: Tauntaun on September 08, 2008, 02:06:32 PM
I did for a second, tauntaun, and I thought the question was gonna be how do I turn into an Asian or some shit.

werd and not just any asian, you gotta be korean or like...canadian:

(http://brightcove.vo.llnwd.net/d2/unsecured/media/27585114/27585114_307434670_b560761ac0d62ccbc74508765e2df4614992c562.jpg)