473,386 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Different font size in my navigation bar

Dear all,

I have a problem in difference in font size on my navigation bar.
On different Windows PCs with IE5-IE6 the font size differs.
At first I try to fix it to place <font> tags around the text like:
<table summary=" " width="100%" class="blokstijl3" cellpadding="10pt">
<tr>
<td class="venster">
<a class="hlink2" target="content" href="thome.htm">· <font
face="Arial" size="2"><b>Home/Visie</b></font></a>
<br />
<a class="hlink2" target="content"
href="dienstproduct.htm#kader"><font face="Arial" size="2"><b>·
Kader</b></font></a>
<br />
</td>
</tr>
</table>

This to circumvent the problem, but it does not always work !
Normally the font size was coming from a CSS sheet.
See for yourself on http://www.t-webvisio.nl

Can anybody help me to get a fixed even size font on every kind of
browser ?

Regards,

Twan
Jul 20 '05 #1
2 3186
*t*************@organon.com* <tw************@organon.com>:

On different Windows PCs with IE5-IE6 the font size differs.
So what?

After a quick glance at your CSS, I see you use 'pt' and 'px' for
font-sizes, both aren't well suited for the job ('em' is best); a
combination of both only can make it worse. Furthermore it looks as if you
don't take much adavantage from the cascade and selectors and thus have an
overly complex stylesheet.

In general you shouldn't need to set 'font-size' on inline elements like
'a', 'font-family' maybe a little less seldom, because the inherited values
fit the best most of the time.
At first I try to fix it to place <font> tags around the text like:
Argh! Yet you throw in a third kind of font-size dimensions.
<table summary=" " width="100%" class="blokstijl3" cellpadding="10pt">
IIRC the obsolete HTML attribute 'cellpading' takes only a number as value,
which is then interpreted as pixels, but this is ciwas, not ciwah.
Can anybody help me to get a fixed even size font on every kind
of browser ?


Why would you want such a mad thing? It's luckily impossible.

--
"Music is essentially useless, as life is."
George Santayana
Jul 20 '05 #2
tw************@organon.com wrote:

Can anybody help me to get a fixed even size font on every kind of
browser ?


What, even on text-to-speech browsers?

If you understand web authoring, you would know it's impossible and not
useful to ask for it either. If you absolutely need to you can suggest
a pixel-based font in the CSS, which _might_ be overridden by users who
know how to do it, and _might_ render text inaccesible for users who
don't know how to alter it.

--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: MasonC | last post by:
In Opera 7.23 I am unable to control the font sizes in sideBar and topBar divs. No problem in MSIE 6 or Mozilla The pertinent css is: (I've tried many variations) A { FONT: 90% Arial,...
23
by: BobK | last post by:
Hello Everyone, I am updating the CSS for my site but want new and original page to appear the same. My original CSS permits small increments of zooming (ctrl/mouse wheel) so that you get...
39
by: David Jubinville | last post by:
Hi All, I've run into a bit of an interesting problem with CSS and font DPI and would certainly welcome help. Problem: Page layout defined in CSS has font size issues (overlapping frames,...
300
by: Ståle Sæbøe | last post by:
I am a bit curious about this. The graphic design people I work with say it is their preferred font for web pages. The reason being that it is "kinder" to the eye both in terms of shape and...
16
by: JD | last post by:
Hi guys What's the best way to specify font size using CSS? I try to avoid absolute units like pt and px because then users can't resize the fonts in IE, but % and em are a complete pain to use...
5
by: Syl | last post by:
Hello experts!! The top menu navigation bar displays perfectly in IE, but does not display properly in Mozilla or Netscape : http://checkeredshirt.com/textonly.html For some reason the non-IE...
3
by: Ryan Liu | last post by:
Hi, I have a big urgent problem to solve. I used to use Windows 2000 Chinese version, now I installed Windows XP (English) system. The problem is not about 2000 or XP, it is about English...
53
by: Jonas Smithson | last post by:
In his book "CSS: The Definitive Guide" 2nd edition (pgs. 116-117), Eric Meyer has an interesting discussion about "font-size-adjust" that was evidently dropped in CSS 2.1 due to browser...
1
by: djcronos | last post by:
Hi all, I'm using an open source template from oswd.org and I wanted to change the color of one of the links to make it stand out from the others. Here's the CSS code: .nav3-grid...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.