This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > How to set the font size as small





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to set the font size as small
hasanali00

2005-09-13, 7:17 am

In my style sheet I have set the font-size as 10px for the body tag.

However, when I view my site in IE, the text is still large. I manually have
to go to View> Text Size> Small to reduce the size.

How Can I ensure that the default text size of my site is "small"

regards

merlinvicki

2005-09-13, 7:18 pm

I dont think the body tag for 10 px is taking effect here. If it had you wouldnt have ben able to change the font size via the browser settings.
Can I have a look at your CSS and the HTML?
Kenneth W. Binney

2005-09-13, 7:18 pm

Small and large are somewhat relative terms, it would be helpful if you
could post a link in case your style sheet has a glitch


"hasanali00" <webforumsuser@macromedia.com> wrote in message
news:dg69ke$c7g$1@forums.macromedia.com...
> In my style sheet I have set the font-size as 10px for the body tag.
>
> However, when I view my site in IE, the text is still large. I manually
> have
> to go to View> Text Size> Small to reduce the size.
>
> How Can I ensure that the default text size of my site is "small"
>
> regards
>



merlinvicki

2005-09-13, 7:18 pm

Originally posted by: Kenneth W. Binney
Small and large are somewhat relative terms, it would be helpful if you
could post a link in case your style sheet has a glitch


I genarally use :
TD
{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:smaller;
color:#000;
}


Kenneth W. Binney

2005-09-13, 7:18 pm

I'm not a CSS guru, but what happens when you specify a specific number in
px?


"merlinvicki" <mail@merlinvicki.com> wrote in message
news:dg6c4n$for$1@forums.macromedia.com...
> Originally posted by: Kenneth W. Binney
> Small and large are somewhat relative terms, it would be helpful if you
> could post a link in case your style sheet has a glitch
>
>
> I genarally use :
> TD
> {
> font-family:Verdana, Arial, Helvetica, sans-serif;
> font-size:smaller;
> color:#000;
> }
>
>



Murray *TMM*

2005-09-13, 7:18 pm

That's wrong. You cannot prevent text size changes in the browser....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"merlinvicki" <mail@merlinvicki.com> wrote in message
news:dg6a50$d1i$1@forums.macromedia.com...
>I dont think the body tag for 10 px is taking effect here. If it had you
>wouldnt have ben able to change the font size via the browser settings.
> Can I have a look at your CSS and the HTML?



Murray *TMM*

2005-09-13, 7:18 pm

That's what you will get, except as modified by the local browser settings.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Kenneth W. Binney" <kenbinney@ossiningdesignguild.com> wrote in message
news:dg6dik$hud$1@forums.macromedia.com...
> I'm not a CSS guru, but what happens when you specify a specific number in
> px?
>
>
> "merlinvicki" <mail@merlinvicki.com> wrote in message
> news:dg6c4n$for$1@forums.macromedia.com...
>
>



merlinvicki

2005-09-13, 7:18 pm

When you specify a fixed size as in "11px" it becomes a fixed size for the
display and the viewer cannot change the size for the font display if he/she
feels uncomfortable at the specified size.

You should not determine at what size people should see the page for eg
somebody viewing the page on a 17 inch display at his normal resolution will
find a 10px text too small to read which may be okay for someone on a 15in
display and 1024 res. and thats where a variable text size helps.
:)

Murray *TMM*

2005-09-13, 7:18 pm

That is wrong.

You can change it in any modern browser *except* IE (as it is set by
default), but by enabling the accessability option in IE, you will then be
able to change it there, too.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"merlinvicki" <mail@merlinvicki.com> wrote in message
news:dg6gf5$m8d$1@forums.macromedia.com...
> When you specify a fixed size as in "11px" it becomes a fixed size for the
> display and the viewer cannot change the size for the font display if
> he/she
> feels uncomfortable at the specified size.
>
> You should not determine at what size people should see the page for eg
> somebody viewing the page on a 17 inch display at his normal resolution
> will
> find a 10px text too small to read which may be okay for someone on a 15in
> display and 1024 res. and thats where a variable text size helps.
> :)
>



merlinvicki

2005-09-13, 7:23 pm

Originally posted by: Murray
That is wrong.

You can change it in any modern browser *except* IE (as it is set by
default), but by enabling the accessability option in IE, you will then be
able to change it there, too.



Mind you IE enjoys a real good market share. It is always best to keep IE as
bencmark while making your design. The MS hate club is now going to go after my
head now! but I'll stick to statistics. Firefox is not without its own security
flaws(as we found out last week)

Point 2. It is better to keep the default options for the viewers. Dunno how
many surfers are aware of accessibility options or the way to change it. Its
just a case of Lowest Common denominator. The more you have inside it, the
better.



Michael Fesser

2005-09-13, 7:32 pm

..oO(merlinvicki)

>Mind you IE enjoys a real good market share.


But not because of its quality.

>It is always best to keep IE as
>bencmark while making your design.


No. Best is to develop to written standards and _fix_ for IE if
necessary.

>The MS hate club is now going to go after my
>head now! but I'll stick to statistics.


Web statistics are rather worthless.

>Firefox is not without its own security
>flaws(as we found out last week)


Yep, but the chance of getting it fixed is _much_ higher than with IE.

>Point 2. It is better to keep the default options for the viewers.


This means 100% or 1em, which of course would be the best.

Micha
merlinvicki

2005-09-14, 4:20 am

Originally posted by: Micha
.oO(merlinvicki)

Mind you IE enjoys a real good market share.

>But not because of its quality.


quality
[color=darkred]
>It is always best to keep IE as
>bencmark while making your design.


>No. Best is to develop to written standards and _fix_ for IE if necessary.


though it may be better.
[color=darkred]
>The MS hate club is now going to go after my
>head now! but I'll stick to statistics.


>Web statistics are rather worthless.


sites and their AW stats report are excellent data for SEO purposes. The whole
SEO business revolves around these web statistics. If what you about is true
then all the SEO firm have gone nuts or or living in a self-imagined world. Or
is it you?.....
[color=darkred]
>Firefox is not without its own security
>flaws(as we found out last week)


>Yep, but the chance of getting it fixed is _much_ higher than with IE.


probability/statistics domain you just called worthless
[color=darkred]
>Point 2. It is better to keep the default options for the viewers.


>This means 100% or 1em, which of course would be the best.

[color=darkred]
accessibility settings in IE which Murray had proposed.

Regards



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews