473,659 Members | 2,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="blokstij l3" cellpadding="10 pt">
<tr>
<td class="venster" >
<a class="hlink2" target="content " href="thome.htm ">· <font
face="Arial" size="2"><b>Hom e/Visie</b></font></a>
<br />
<a class="hlink2" target="content "
href="dienstpro duct.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 3198
*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="blokstij l3" cellpadding="10 pt">
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
1944
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, helvetica, sans-serif; } A:LINK { BACKGROUND: #ffffff; COLOR: #0000cc; FONT: 80% Arial,helvetica,sans-serif;} A:VISITED { BACKGROUND: #fcfcf0; COLOR: #6666cc; FONT: 80% Arial,helvetica,sans-serif;} A:HOVER { BACKGROUND: #666633; COLOR: #ffffff; FONT: 80%...
23
3746
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 perhaps 3 usable levels of zoom. The increments are small and it only has 4 zoom levels. Same thing with changing resolutions. When you change from 1280x1024 to 800x600 the page looks acceptable after changing the zoom a click or two.
39
8654
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, text overflowing out of popup window, etc) on a windows systems using 120dpi fonts (large fonts), but everything looks perfect in 96dpi small fonts.
300
18284
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 size. The HTML "hardcore elititst" profess that it is a useless font because it is too big compared to other fonts. Personally I do not care one way or the other, but I generally trust
16
3887
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 IMO. I read somewhere (a W3C tip I think) that the best way is to specify a "base" size and then have all your fonts relative that, but I'm not sure how that works. TIA
5
4479
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 browers are forcing the top navigation menu to dislpay "staggered" after the the first <ul><lielement. Can anyone see why this is happening ?
3
2491
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 and Chinese. All forms of my compiled C# desktop application, as well as in Visual Studio
53
5240
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 non-support. I'm wondering if there's some way I could still get a primitive version of this functionality, because different fonts display at very different optical sizes for the same nominal sizes. For example, suppose I want type to display in...
1
2062
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 {width:199px; border-bottom:solid 1px rgb(200,200,200);} .nav3-grid dt a, .nav3-grid dt a:visited {display:block; min-height:2.0em /*Non-IE6*/; height:auto !important; height:2.0em /*IE6*/; line-height:2.0em; padding:0px 10px 0px 20px; border-top: solid 1px...
0
8427
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8330
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8523
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8626
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2749
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.