mini web page! ???

P

Paul Furman

The webmaster replied to me that I should change my font size settings
in IE to "medium" which fixed it. I've never had that happen before
though. It seems to be really advanced CSS stuff they are using but my
IE sure didn't like it.
Here's a screen capture with my text size set at the default "smallest":
http://www.edgehill.net/Clipboard01.gif
 
M

Mark Parnell

The webmaster replied to me that I should change my font size settings
in IE to "medium" which fixed it. I've never had that happen before
though. It seems to be really advanced CSS stuff they are using but my
IE sure didn't like it.

Hardly advanced. They are specifying font size in ems. IE has a bug
(surprise!) where fonts specified in ems are scaled dramatically when
you change the font size in your browser.

They should be using % (or not specifying a font size at all).

BTW: Please don't post upside down.
http://www.allmyfaqs.com/faq.pl?How_to_post
 
R

rf

The webmaster replied to me that I should change my font size settings
in IE to "medium" which fixed it.

The webmaster is missing a couple of important facts.

There is a bug in IE. When font-size is specified in ems, particularly when
tables are used for layout, the standard
smallest-smaller-normal-large-largest settings are multiplied by a couple of
orders of magnitude. Smallest becomes fly droppings. Largest becomes
billboard size. Try it and see. This is the first bit of missing
information.

The second bit is that the workaround for this but is quite simple, specify
font-size: 100% for the body element.

Looking at the HTML and CSS I can see that the webmaster is missing a whole
lot more information. The CSS is bloated. There is no use made of
inheritance anywhere. Every single rule specifies everything about fonts,
even to specifying the defaults. The entire CSS file could be re-written in
about 5 lines.

Same for the HTML. It's a mess (apart from using tables). bgcolor attributes
all over the place instead of CSS. Browser sniffing that does not work.

This page was written by some sort of wisiwydon'tg.
I've never had that happen before
though. It seems to be really advanced CSS stuff they are using but my

See above. Do not use this size as a learning tool.
IE sure didn't like it.

Cheers
Richard.
 
R

rf

Malcolm said:
A: Top posts.
Q: what is the most annoying thing on the usenet?

And the second most annoying thing is under or over snipping of the post
being replied to. It took me twenty seconds to work out to whom you were
replying to and why :-(

Cheers
Richard.
 
P

Paul Furman

rf said:
There is a bug in IE. When font-size is specified in ems, particularly when
tables are used for layout, the standard
smallest-smaller-normal-large-largest settings are multiplied by a couple of
orders of magnitude. Smallest becomes fly droppings. Largest becomes
billboard size...

...workaround for this but is quite simple, specify
font-size: 100% for the body element.


That's my conclusion that em's are good for sizing elements to match the
text (holds true even when browser settings are changed) but percent
works better and is more logical for actually specifying the font sizes.


...The CSS is bloated. There is no use made of
inheritance anywhere. E


Can someone give a 30 second example of inheritence syntax in CSS? I saw
that somewhere (once). It does seem preposterous not to do this.
 
M

Mark Parnell

Can someone give a 30 second example of inheritence syntax in CSS? I saw
that somewhere (once). It does seem preposterous not to do this.

body {font-size: 100%;
font-face: sans-serif; }

Everything in the body should inherit the font styles. No need to set it
for every element.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top