Re: @import

by Gerhard Schoening <g.sch(at)onlinehome.de>

 Date:  Sat, 14 Sep 2002 11:18:23 +0200
 To:  hwg-style(at)hwg.org
 References:  witsys
  todo: View Thread, Original

> absolutely and actually if you are generic enough with
> your css

...where "generic enough" is the crux of the matter... ;))

> you can use the same css style sheet for Netscape
> 6+ as you do for IE as they are the closest to matching IE
> implementation...  then, you only have to really worry
> about older versions of Netscape....

I'm currently working to reduce and simplify - step by step (!)
- the tables used for positioning on this site

http://www.ferien-medoc.de/

using (so far)

<.link rel="stylesheet" type="text/css" href="basic.css" />
<.style type="text/css" media="screen"> @import
"ferien.css"; </style>

At this time, the pages are already displayed pretty
much the same in IE 5.5/6, Moz 1.1, Op 6.04 (all Win 98 SE), and
NS 7 (Win2k Pro). IE 5 (Win2k Pro) shows a minor glitch with
the borders of the nav menu "buttons" - NN 4.75 (Win 98 SE)
looks somewhat simpler (e.g., shows the unordered list
that's behind the nav menu).

There's already only a container table left that encloses a
navigation table and a content table, each one containing
several table cells. Next steps are to get rid of the
container table, then remove all table rows and cells but
one, resulting in two one-cell tables like that:

|--t1--|----------t2---------|
|      |                     |
|      |                     |
| css  |         css         |
|      |                     |
|      |                     |
|      |                     |
|------|---------------------|

The final step, maybe, will be replacing the 2 tables
with positioned DIVs...


Gerhard

PS: "Eric Meyer on CSS" and "Teach Yourself CSS in 24
Hours" are great books on your way to much simpler,
well-structured code :)

-------------------------------------
Gerhard Schoening:

Community & Portal Websites in PHP & MySQL
http://www.cp-web.com

Bilingual Web Design and Programming
http://www.schoening-online.com

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA