[TAG] [lg-announce] Linux Gazette #136 is out!
Ben Okopnik
ben at linuxgazette.net
Wed Mar 7 19:36:48 MSK 2007
On Sun, Mar 04, 2007 at 04:44:12AM +0100, Karl-Heinz Herrmann wrote:
> > If it's a common one, then I'll have to rewrite the whole CSS thing for
> > the header.
>
>
> opera 9.10/Linux looks fine. No overlays.
>
> so does:
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601
> Firefox/2.0.0.2 (Ubuntu-edgy)
>
> I run already a slightly increased font size.
>
> But if I increase the font size to 200%+ in either opera or firefox the
> top box starts overlapping the box containing current issue.
>
>
> This seems to stem from a top position of the current issue box in
> absolute values. If you would specify the distance from the top in
> "em" or whatever the css exact version was it should scale with the
> font size. On the other hand this will give you quite varying results
> and default distances between the topmost boxes from browser to
> browser. Especially win/mac/linux issues with diferent default dpi
> values for displays could complicate this approach.
You've just put your finger precisely on the problem, Karl-Heinz. What
makes tweaking LG CSS so difficult is the fact that we need to remain as
browser-agnostic as possible while keeping the CSS itself relatively
simple (e.g., no IE-special hacks - that would restrict the CSS
maintenance to "experts".) Oh, and let's not forget the text-mode
browser layout as well... in other words, it's a juggling act that needs
to be disturbed as little as possible. This is also the reason I'm
willing to use tables for "fixed" layout: not every graphical browser
understands the table-like CSS layout, but all of them 'do' tables.
Until CSS is a perfect science, we get to deal with the fallout.
--
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
More information about the TAG
mailing list