a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

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

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 not showing correctly in FF

 
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 and Accessibility >> Font not showing correctly in FF
Page: [1]
 
KCIWebMaster

 

Posts: 524
From: Fredericksburg VA USA
Status: offline

 
Font not showing correctly in FF - 2/26/2005 18:02:41   
I can't figure out what I'm doing wrong.

In this page the font is not displaying correctly, but it's fine on other pages.

Another frustrating one - there's supposed to be a graphic for Acrobat Reader with a link to download the software on this other page and it's not showing in either FF or IE.

It's probably something simple that I'm just not seeing.:)

I can post my stylesheet if that will help. Thanks!

_____________________________

Marissa

Insanity: doing the same thing over and over again and expecting different results.
--Albert Einsten
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Font not showing correctly in FF - 2/26/2005 18:50:16   
the font looked fine to me and the acrobat showed fine in IE

_____________________________

Dan

(in reply to KCIWebMaster)
caz

 

Posts: 3626
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Font not showing correctly in FF - 2/26/2005 19:20:03   
The font looks smaller in FF, but you have used keywords for the styling so maybe FF interprets small and smaller differently from IE.

The image displayed OK in both.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to dpf)
Giomanach

 

Posts: 6136
Joined: 11/19/2003
From: England
Status: offline

 
RE: Font not showing correctly in FF - 2/26/2005 19:34:26   
Marissa, might be a small thing to over look, but you're missing your Doctype....

And from your CSS:

body{
	background-color: #FFFFDF
}

P {
	font-family: Tahoma, Verdana, Arial;
	font-weight: normal;
	color: black;
	font-size: small;


Alter it to look like so:

body{
	background-color: #FFFFDF;
	font-family: Tahoma, Verdana, Arial;

}

P {
	font-weight: normal;
	color: black;
	font-size: small;


And please excuse me for picking this out, but you have an unclosed <p> tag:
<p align="center">Fredericksburg, Virginia 22407</td>


The main reason for it not working is, you are applying the CSS style to the <p> tag, and not the whole body, so only the content within the paragraphs will be styled, the content outside of them will take on the style of the users "default" fonts. In most cases TNR, 1em, black.

I hope that's not too confusing

Dan



_____________________________




(in reply to caz)
KCIWebMaster

 

Posts: 524
From: Fredericksburg VA USA
Status: offline

 
RE: Font not showing correctly in FF - 2/26/2005 20:56:50   
Dan,

Thanks so much. That did it. Your explanation made perfect sense. I'm very much a beginner in CSS (and web work for that matter) so I really appreciate the help from all of you.

I still can't figure out why I can't see the Adobe graphic but I'll worry about that later.

_____________________________

Marissa

Insanity: doing the same thing over and over again and expecting different results.
--Albert Einsten

(in reply to Giomanach)
caz

 

Posts: 3626
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Font not showing correctly in FF - 2/26/2005 21:59:55   
Marissa, now that you have specified your font-face in the body, there is no need to repeat that in following elements, the cascade will take care of that.

I still find that the font size is smaller in FF and this compounds it

#navcontainer ul
{
..
font-size: smaller;
..}

#navcontainer ul li { display: inline; }

#navcontainer ul li a
{..	
	font-size: smaller;
..}


I found that if I removed the second font-size smaller it displayed OK, it was inheritance there giving a smaller version of smaller.
There is a previous thread dealing with font sizing here
covering relative font sizing for all browsers and a good site for fonts and CSS is
the noodle incident

Dan and I diverge on relative and pixel precision:)

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to KCIWebMaster)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Font not showing correctly in FF
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