Re: CSS question with NN
by Nate Harel <nharel(at)nettech-services.net>
|
| Date: |
Mon, 29 Apr 2002 08:44:34 -0400 |
| To: |
Andrew McFarland <aamcf(at)aamcf.co.uk> |
| Cc: |
hwg-techniques(at)hwg.org |
| References: |
norton ntlworld norton2 norton3 |
| |
todo: View
Thread,
Original
|
|
Thank you Andrew,
So the obvious follow-up question is "how do I get it to work in both NN
and IE"?
Is there a way in CSS to create two styles, one for NN one for IE, and have
it match the browser?
Nate
At 4/29/2002 07:36 AM, Andrew McFarland wrote:
>At 18:14 27/04/02 -0400, Nate Harel wrote:
>
>>I found that if I use the body tag as follows, I get the background image:
>>{body .... class="bgimage"}
>>where bgimage is defined in the style sheet.
>>
>>Two problems:
>>1) In IE it shows, but I don't know how to position it farther down on
>>the page
>
>You can move it down the page a couple of ways. The hard (but NS4
>compatible) way is to increase the canvas size of the image so there is
>more space at the top. The easy, elegant (but NS4 incompatible) way is to
>do something like this:
>
>body {
> background-image: url(foo.gif);
> background-position: 10px 20px;
>}
>
>This will position the image 10px to the left and 20px down.
>
>>2) It does not show in NN4 at all. It flashes on the screen as the page
>>loads and then disappears.
>
>Sounds like the tables are covering the background image, and Netscape 4
>isn't honoring background-image: none. Try removing background-image: none
>from the table rule in CSS.
>
>Andrew
>
>--
>http://aamcf.co.uk/
>
>
>
----------------------------------
Nate Harel
NetTech Services
56 Pickering Street
Needham, MA 02492
Tel: 1-781-559-8176
Toll Free: 1-877-567-8936
FAX: 1-877-567-8936
Email: nharel(at)nettech-services.com
www.nettech-services.net
www.nettech-backup.com
www.nettech-hosting.com
----------------------------------
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.