Agent widgets and fonts break my layout
Posted: Sat Oct 16, 2004 10:39 am
Hello there!
Look at my site with some different browsers:
http://nordicbionews.com/?viewToday=0
It opens in "today mode" by default, which means that only today's news are shown, and that the page refreshes every five minutes.
But if you follow the link, it should be in "archive mode" (although it doesn't say so anywhere). There are two select boxes above the news listings. These widgets are drawn differently depending on browser and whatever circumstance. I have tested it on linux with mozilla-firefox and IE 6.0 for win98 through wine, and Konqueror for KDE 3.3.0.
It looks OK in most browsers but not in Konqueror. And as konqueror is just about the worst browser I know of, I don't bother very much. (I mean, it doesn't obey requests for pixel font sizes, ie the css syntax: "11px;". And it's javascript support is just about useless when trying to automate some form elements on a page)
Browsers tend to parse information about sizes differently and I wonder if there is a way to access a browser's widgets size in pixels and adjust the layout thereafter. Since konqueror consequently chooses to display bigger characters than I ever requested for, it is always a problem to view a site layout nicely.
(People talk about eye candy in the context of KDE, but noone mentions that fonts display like wanting to take the whole world for a rendering area. Why is that? Are my settings wrong? If they are, it should be about accessibility customizations enabled by default that I don't appreciate. And if it was, other pixel based dimensions should scale accordingly. But I can't find any special scaling settings, so I'm settling for not bothering too much.)
In brief:
Is there any CSS based way to ask a widget to report its current size (the absolute extenst of it's rendered box) so I can adjust other pixel based positions in the page and get a pleasant display?
I guess javascript could do the trick, but I think it is too much to demand from a web designer to have to program certain workarounds to be able to make a page display correctly in konqueror, which will remain a non popular browser as long as these issues exist.
Thanks.
/Jonas
Look at my site with some different browsers:
http://nordicbionews.com/?viewToday=0
It opens in "today mode" by default, which means that only today's news are shown, and that the page refreshes every five minutes.
But if you follow the link, it should be in "archive mode" (although it doesn't say so anywhere). There are two select boxes above the news listings. These widgets are drawn differently depending on browser and whatever circumstance. I have tested it on linux with mozilla-firefox and IE 6.0 for win98 through wine, and Konqueror for KDE 3.3.0.
It looks OK in most browsers but not in Konqueror. And as konqueror is just about the worst browser I know of, I don't bother very much. (I mean, it doesn't obey requests for pixel font sizes, ie the css syntax: "11px;". And it's javascript support is just about useless when trying to automate some form elements on a page)
Browsers tend to parse information about sizes differently and I wonder if there is a way to access a browser's widgets size in pixels and adjust the layout thereafter. Since konqueror consequently chooses to display bigger characters than I ever requested for, it is always a problem to view a site layout nicely.
(People talk about eye candy in the context of KDE, but noone mentions that fonts display like wanting to take the whole world for a rendering area. Why is that? Are my settings wrong? If they are, it should be about accessibility customizations enabled by default that I don't appreciate. And if it was, other pixel based dimensions should scale accordingly. But I can't find any special scaling settings, so I'm settling for not bothering too much.)
In brief:
Is there any CSS based way to ask a widget to report its current size (the absolute extenst of it's rendered box) so I can adjust other pixel based positions in the page and get a pleasant display?
I guess javascript could do the trick, but I think it is too much to demand from a web designer to have to program certain workarounds to be able to make a page display correctly in konqueror, which will remain a non popular browser as long as these issues exist.
Thanks.
/Jonas