Re: css to replace table layout
by bkrWeb Services <bkrweb(at)bkrweb.com>
|
Date: |
Wed, 24 Apr 2002 07:33:31 -0500 |
To: |
Andrew McFarland <aamcf(at)aamcf.co.uk>, <hwg-style(at)hwg.org> |
References: |
bkrweb |
|
todo: View
Thread,
Original
|
|
Thanks. I will check this out.
I do know that the coding for indexcss.html validates. This was one of the
first things I checked when it wasn't working right.
Kathie
At 08:35 AM 4/24/02 +0100, Andrew McFarland wrote:
>At 21:20 23/04/02 -0500, bkrWeb Services wrote:
><snip/>
>> The problem with the css version is that in NN4.7, I can't get the
>> three smaller images to line up horizontally.
><snip/>
>
>We can solve this by using one NS4 CSS bug to counteract another :-)
>
>If you put
>
>@import url('additional.css');
>
>at the top of your stylesheet a CSS compliant browser will fetch the
>content of additional.css and stick it at the top of the stylesheet.
>Netscape 4, however, doesn't do this. It just ignores the whole @import rule.
>
>There is obviously something in dickey.css that Netscape 4 doesn't like;
>I'd guess it is
>
>.space {
> border-style: solid;
> margin-top: 30px;
> margin-right: 30px;
> margin-bottom: 30px;
> margin-left: 30px;
> vertical-align: middle;
>}
>
>So, take that out of dickey.css and put it into additional.css,
>remembering to add the @import to dickey.css. That should mean that
>Netscape doesn't see this rule, and so it shouldn't choke, but other
>browsers do see it, and they will display the page as before.
>
>There are possibly a few other issues with the HTML which might be making
>your life more difficult. I'll have a more detailed look when I get home.
>
>Andrew
>
>--
>http://aamcf.co.uk/
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA