Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
A.M #1
Globally change fontsize in website
Hi,
I am trying to globally change the default font size in all pages in my
website.
I created a shared CSS file which contains a class like this:
..NormalText11 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #003300;
}
And in every page i have <BODY tag like this:
<body background="Images/menuback.gif" class="NormalText1" >
Using above style in <Body tag, it does changes the fonts and colors;
however it doesn't change the font size. It uses the default font-size which
is 12px.
That means i have to explicitly mention font-size everywhere in <P> or <TD>
tags.
Is there a better way to define default font size for all pages in website
in a ceteralized place ?
Any help would be appreciated,
Ali
A.M Guest
-
Can't change administration settings for website
Hi there We've had a change of address for our website and I want to change the administration settings to reflect these changes but once I make... -
TextArea max fontSize
I am having issues while trying to get my text really big. Here's a sample clip: <?xml version="1.0" encoding="utf-8"?> <mx:Application... -
Newbie: how you sync a change to the website
Hi, How do I make a change to a site managed by Contribute and make sure that the editors sync to that latest version before they accidently... -
Possible to change website name?
Hi, I have just set up a second website connection for our intranet. All is working great except it shows the connection as "Unnamed Connection... -
Change print orientation by website
I have a webpage that prints nicely when the layout is switched from portrait to landscape. Many of my site users have mistakenly printed it... -
mick_white #2
Re: Globally change fontsize in website
You're wrong, the style in the CSS file is ".NormalText11", in the body
tag it's ".NormalText1"
Mick
A.M wrote:
>Hi,
>
>I am trying to globally change the default font size in all pages in my
>website.
>I created a shared CSS file which contains a class like this:
>
>.NormalText11 {
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 8px;
> color: #003300;
>}
>
>And in every page i have <BODY tag like this:
>
><body background="Images/menuback.gif" class="NormalText1" >
>
>Using above style in <Body tag, it does changes the fonts and colors;
>however it doesn't change the font size. It uses the default font-size which
>is 12px.
>
>That means i have to explicitly mention font-size everywhere in <P> or <TD>
>tags.
>
>Is there a better way to define default font size for all pages in website
>in a ceteralized place ?
>
>Any help would be appreciated,
>Ali
>
>
>
>mick_white Guest
-
darrel #3
Re: Globally change fontsize in website
> font-size: 8px;
For starters, 8px is incredibly small...that may cause a lot of problems for
your end users.
<TD>> That means i have to explicitly mention font-size everywhere in <P> orAre you specifying font sizes anywhere else with any other tags? It sounds> tags.
like you may have a separate style defning sizes for P tags or TD tags.
Yes, use this:> Is there a better way to define default font size for all pages in website
> in a ceteralized place ?
body, div, p, th, td, li, dd {
font-size: 11px;
}
Then, everywhere else, use a relative size (ems, percentages, etc.)
That way, when you want to change font size globally, you only need to
change that one item.
Note that you can just declare the 'body' if you're not worrying about NN4.
-Darrel
darrel Guest
-
A.M #4
Re: Globally change fontsize in website
Thanks for help
No. The style changes color and font, but it ignores the size.> Are you specifying font sizes anywhere else with any other tags?
NN4.> Note that you can just declare the 'body' if you're not worrying about
My website works with IE5.0 and higher. Is it a big deal? Am I going to
loose alot of visitors ?
Thanks again for help,
Ali
"darrel" <notreal@hotmail.com> wrote in message
news:bra3po$oa1$1@forums.macromedia.com...for>> > font-size: 8px;
> For starters, 8px is incredibly small...that may cause a lot of problemswebsite> your end users.
>> <TD>> > That means i have to explicitly mention font-size everywhere in <P> or>> > tags.
> Are you specifying font sizes anywhere else with any other tags? It sounds
> like you may have a separate style defning sizes for P tags or TD tags.
>> > Is there a better way to define default font size for all pages inNN4.>> > in a ceteralized place ?
> Yes, use this:
>
> body, div, p, th, td, li, dd {
> font-size: 11px;
> }
>
> Then, everywhere else, use a relative size (ems, percentages, etc.)
>
> That way, when you want to change font size globally, you only need to
> change that one item.
>
> Note that you can just declare the 'body' if you're not worrying about>
> -Darrel
>
>
A.M Guest
-
A.M #5
Re: Globally change fontsize in website
Sorry, it was just a typo. In the actual page, it changes the color and font
face, but it ignores the size !!!
"mick_white" <mick@gerrytimlin.com> wrote in message
news:3FD890ED.4060603@gerrytimlin.com...which> You're wrong, the style in the CSS file is ".NormalText11", in the body
> tag it's ".NormalText1"
> Mick
>
> A.M wrote:
>> >Hi,
> >
> >I am trying to globally change the default font size in all pages in my
> >website.
> >I created a shared CSS file which contains a class like this:
> >
> >.NormalText11 {
> > font-family: Verdana, Arial, Helvetica, sans-serif;
> > font-size: 8px;
> > color: #003300;
> >}
> >
> >And in every page i have <BODY tag like this:
> >
> ><body background="Images/menuback.gif" class="NormalText1" >
> >
> >Using above style in <Body tag, it does changes the fonts and colors;
> >however it doesn't change the font size. It uses the default font-size<TD>> >is 12px.
> >
> >That means i have to explicitly mention font-size everywhere in <P> orwebsite> >tags.
> >
> >Is there a better way to define default font size for all pages in>> >in a ceteralized place ?
> >
> >Any help would be appreciated,
> >Ali
> >
> >
> >
> >
A.M Guest
-
darrel #6
Re: Globally change fontsize in website
> I think NN4 probably comprises about 1% or less of visitors
Well, that's according to your server logs. It all depends on the particular
site's audience.
-Darrel
darrel Guest
-
rob :: digitalburn #7
Re: Globally change fontsize in website
I think NN4 probably comprises about 1% or less of visitors, and most of
those can switch to IE if they need to (although they might not bother).
And according to my server logs, more people still use IE2.0 than NN7 :)
rob :: digitalburn Guest
-
DiMa #8
Re: Globally change fontsize in website
Then we'll need an URL to see the problem in action.
--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
posts:
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url]
For Answers, check here first:
[url]http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver[/url]
[url]http://www.macromedia.com/support/dreamweaver/technotes.html[/url]
[url]http://www.projectseven.com/faqbase[/url]
[url]http://www.dreamweaverFAQ.com[/url]
[url]http://www.macromedia.com/support/forums/etiquette.htm[/url]
[url]www.flyingtigerwebdesign[/url] dot com
"A.M" <I-Hate-Spam@sapm.com> wrote in message
news:bra74m$19j$1@forums.macromedia.com...> Sorry, it was just a typo. In the actual page, it changes the color and font
> face, but it ignores the size !!!
>
> "mick_white" <mick@gerrytimlin.com> wrote in message
> news:3FD890ED.4060603@gerrytimlin.com...> which> > You're wrong, the style in the CSS file is ".NormalText11", in the body
> > tag it's ".NormalText1"
> > Mick
> >
> > A.M wrote:
> >> > >Hi,
> > >
> > >I am trying to globally change the default font size in all pages in my
> > >website.
> > >I created a shared CSS file which contains a class like this:
> > >
> > >.NormalText11 {
> > > font-family: Verdana, Arial, Helvetica, sans-serif;
> > > font-size: 8px;
> > > color: #003300;
> > >}
> > >
> > >And in every page i have <BODY tag like this:
> > >
> > ><body background="Images/menuback.gif" class="NormalText1" >
> > >
> > >Using above style in <Body tag, it does changes the fonts and colors;
> > >however it doesn't change the font size. It uses the default font-size> <TD>> > >is 12px.
> > >
> > >That means i have to explicitly mention font-size everywhere in <P> or> website> > >tags.
> > >
> > >Is there a better way to define default font size for all pages in>> >> > >in a ceteralized place ?
> > >
> > >Any help would be appreciated,
> > >Ali
> > >
> > >
> > >
> > >
>
DiMa Guest
-
rob :: digitalburn #9
Re: Globally change fontsize in website
Obviously there'll be a variance away from the mean depending on particular
circumstances. I based that figure on various trends, including, but not
limited to, the servers logs from my own sites and those of my clients.
darrel wrote:>>> I think NN4 probably comprises about 1% or less of visitors
> Well, that's according to your server logs. It all depends on the
> particular site's audience.
>
> -Darrel
rob :: digitalburn Guest
-
Troyan #10
Re: Globally change fontsize in website
Try it (immediate after <body> tag or between <head> </head>):
<basefont style="font: 8px Verdana, Arial, Helvetica, sans-serif; color: #003300;" />
This should work.
Troyan Guest



Reply With Quote

