navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Font Confusion

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Font Confusion
Page: [1]
 
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
Font Confusion - 9/2/2005 17:25:38   
Just for the fun of it I created my own style sheet and then told IE to point to it when viewing pages. For testing, I just set the font family nothing else. Here is an example:

body {
font-family: Arial, Helvetica, sans-serif;
}

td {
font-family: Arial, Helvetica, sans-serif;
}

th {
font-family: Arial, Helvetica, sans-serif;
}
p {
font-family: Arial, Helvetica, sans-serif;
}

Curiously, when viewing our Intranet homepage, which uses, don't laugh, Comic Sans, all the fonts change to Arial except those within <p> tags. Why would that be?

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Font Confusion - 9/2/2005 17:49:47   
p {
font-family: Arial, Helvetica, sans-serif;
}

this should alleviate that... I'm not sure why it would be any different, unless you have an inline style declared on the page somewhere (like in FP page properties or an inline style sheet?)

BTW - If you set the font-family in the body you shouldn't have to declare it anywhere else... everything should default up the chain to body, provided you haven't set it to something else somewhere else.



_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to BeTheBall)
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: Font Confusion - 9/2/2005 18:39:59   
quote:

p {
font-family: Arial, Helvetica, sans-serif;
}


Hey Bobby, thanks for the reply, but did you see that the code you posted already exists at the end of my script? I am really puzzled by the fact that everything seems to change to Arial except text and links that occur within <p> tags.

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to bobby)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Font Confusion - 9/2/2005 18:45:08   
yep, sorry... meant to put that in quotes.

It should be changing your <p> tags to Arial. If you're using FP I would double check the page properties and make sure it's not overriding your tags on each page (it would act as an inline style sheet)

syntax looks correct, so I don't know any other reason why it would be a problem...



_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to BeTheBall)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Font Confusion
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts