Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Font size unstable!! Help!

Font size unstable!! Help!

Locked

Views: 1,063

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
22 Apr 2009, 2:37 AM
#1
ohgnow avatar

ohgnow

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Font size unstable!! Help!

Dear All,

This is my site:

http://ttsar.com

very Strange phenomenon:

when you Refresh the browser:
all the font sizes (besides the top part) become Unstable! sometime larger, sometimes smaller...
(my correct setting should be the smaller font)

any body got some idea about this?
where should be the problem?

thank you very much

22 Apr 2009, 3:07 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Font size unstable!! Help!

Looked fine to me, as of the moment. Have you tried clearing your browsers' cache?

22 Apr 2009, 4:21 AM
#3
ohgnow avatar

ohgnow

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: Font size unstable!! Help!

Get Em Fast:

Looked fine to me, as of the moment. Have you tried clearing your browsers' cache?

thank you very much for you help:smile:

it is ok with IE now.

but still not ok with Flock.

just don't know the reason..

but anyway it is not a big problem:cool:

22 Apr 2009, 9:25 AM
#4
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: Font size unstable!! Help!

strange behaviour... in firefox

I would change your stylesheet...

body {
color:#EEEEEE;
font-family:lucida sans unicode,verdana,arial,helvetica,sans-serif;
font-size:100%;
line-height:160%;
}

#mainWrapper {
background-color:#444444;
border-bottom:1px solid #000000;
border-left:1px solid #000000;
border-right:1px solid #000000;
text-align:left;
width:99%;
font-size:80%;

}

23 Apr 2009, 6:18 PM
#5
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: Font size unstable!! Help!

Is it better to use the em or pixels?

23 Apr 2009, 9:48 PM
#6
rstevenson avatar

rstevenson

Totally Zenned

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

Re: Font size unstable!! Help!

% for those first couple, then em from there on. Pixels is a way of hard coding a size, but you don't how big your visitor's screen/browser window/resolution is, so you may end up with unreadable text if you use pixels. You can Google for a pile of info and opinions on this, but the simple answer is to use the units of measurement as in the default stylesheet.css and just change the values to suit.

Rob