Re: Reduce font size in cake.generic.css

2007-09-23 Thread Grant Cox

What about

*{
  font-size: 80%;
}

that should at least apply to all elements...  However, if you put it
at the top of your CSS it may be overridden by any further font-size
definitions (I don't think it matters if one measure is %, and other
in px / em - I think they just overwrite).  Vice versa at the bottom -
every element text will be 80% of the "normal" size, not 80% of what
it had previously been defined.


On Sep 23, 2:55 am, Mike52 <[EMAIL PROTECTED]> wrote:
> I would like to reduce the font size, for all styles.
> The effect should be similar to reducing the font size via ctrl-
> scrollwheel in the browser.
>
> Can this be easily done in the stylesheet?
> I tried adding this to the body selector in the css:
>   font-size: 80%;
>
> But this only affected the body text (i.e. not the text enclosed in
> other styles).
>
> Do I really need to modify every style in cake.generic.css?
> Or is there a way to reduce the base font size, so that all styles
> keep their relative size to this base font?
>
> I know that this is more a CSS question than a cakephp question.
> Apologies.
>
> Thanks,
> Mike


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Reduce font size in cake.generic.css

2007-09-22 Thread Mike52

I would like to reduce the font size, for all styles.
The effect should be similar to reducing the font size via ctrl-
scrollwheel in the browser.

Can this be easily done in the stylesheet?
I tried adding this to the body selector in the css:
  font-size: 80%;

But this only affected the body text (i.e. not the text enclosed in
other styles).

Do I really need to modify every style in cake.generic.css?
Or is there a way to reduce the base font size, so that all styles
keep their relative size to this base font?

I know that this is more a CSS question than a cakephp question.
Apologies.

Thanks,
Mike


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---