If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Size of font in Firefox so small, IE is fine??

Size of font in Firefox so small, IE is fine??

Locked

Started by peterelli on 23 Jan 2009, 8:59 PM · Views: 3,001

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
23 Jan 2009, 8:59 PM
#1
peterelli avatar

peterelli

New Zenner

Join Date:
Jan 2008
Posts:
45
Plugin Contributions:
0

Size of font in Firefox so small, IE is fine??

OK,

I did the search here and didn't find a resolution?

In firefox, my website text is tiny. Not very appealing. But in IE, it's fine.

Yes, I designed the site in IE. But now have learned not to but instead use Firefox. Fact I don't use IE for anything now.

So what can I do?

Do I redo everything in FF and adjust for IE?? I don't have a ton of pages but want to correct this as best as possible.

I am running 1.37 and it not easy for me to upgrade so I am waiting for 2.0

url is: bagpipecradle.com

Thanks for the help as always...
Peter

side question - for 1.37, which is the better html editor for FF??

23 Jan 2009, 9:55 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Size of font in Firefox so small, IE is fine??

You can not have stylesheet.css and stylesheet1.css without issues

Zen Cart loads each .css files in order. Delete or rename stylesheet1.css to any extention other than .css

Then you have in the latter

body {

	margin: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 8px;
	color: #000000;
	background-color:#FFFFFF;
	}

and in your current stylesheet

body {
	margin: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 75px;
	color: #000000;
	background-color:#FFFFFF;
	}

This should be a percentage and by default is 62.5% - - try setting it back to that

Zen-Venom Get Bitten

23 Jan 2009, 10:08 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,752
Plugin Contributions:
0

Re: Size of font in Firefox so small, IE is fine??

Set your font-size in the body to 62.5% as advised by Kobra, that will set the "base" font size in all browsers to 10px - then you adjust specific areas to be larger by using a percentage or em -

example - 110% or 1.1em would equal 11px

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

24 Jan 2009, 3:24 AM
#4
peterelli avatar

peterelli

New Zenner

Join Date:
Jan 2008
Posts:
45
Plugin Contributions:
0

Re: Size of font in Firefox so small, IE is fine??

Thanks guys...

I deleted the stylesheet1, not sure why that was there? Probably me doing something stupid.

I changed back to 62.5% and the size is OK.

Can I move it up a bit to 70% or 72%, I did try it and it appeared ok.

But my IE is pretty big? It's ok but I know there are a lot of IE users on the net?

I could live with it I guess.

Thanks again... this place is great.
Peter

24 Jan 2009, 2:37 PM
#5
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Size of font in Firefox so small, IE is fine??

Peterelli:

I changed back to 62.5% and the size is OK.
Can I move it up a bit to 70% or 72%, I did try it and it appeared ok.

There are various opinions on this -- mine and the dev's being two. :smartalec:

I think the 62.5% value is based on old ideas about how to trick the browser into giving you 10px text size -- as if that size was a widely acknowledged standard of some sort. After all, that only gives 10px (as Kim explained) on screens with certain logical/physical pixel size ratios. And a lot of modern screens end up rendering text which is way too small when the 62.5% value is left there. When I find myself squinting at text in a ZC site, I know right away that the stylesheet still says 62.5%.

I set the size to 100% in the html definition at the top of the stylesheet (to fix an old IE bug) and then set 0.8em in the body definition -- equivalent to 80%. The text looks a little larger than I like in IE, but if I cared enough about it I could fix that with an IE hack.

Of course all of this depends on your site design. There is no right answer. So if 75% gives you the result you want, make it so.

Rob

Breakfast: the most important donut of the day.

27 Jan 2009, 2:53 PM
#6
peterelli avatar

peterelli

New Zenner

Join Date:
Jan 2008
Posts:
45
Plugin Contributions:
0

Re: Size of font in Firefox so small, IE is fine??

Thank you to all... this helped. I hope others find this thread.

Can't wait for 2.0!!!

Peter