Solved

Achieving same effect in netscape

Posted on 2000-03-31
7
154 Views
Last Modified: 2010-04-09
View the following URL in IE and NS:

http://domaindlx.com/hoard/images/header.html

In IE it renders as intended ( ie. nested snug at the top of the browser and on both left and right as well as having the one cell vary in size depending on the window/screen size ). How do I make this happen the same way in netscape?

Thanks
Jerry
0
Comment
Question by:nasile
7 Comments
 
LVL 19

Accepted Solution

by:
daveamour earned 50 total points
ID: 2672350
Page margins are dealt with differently on IE and NN

Try changing your body line as follows

<body bgcolor="#000000" onLoad="MM_preloadImages('header_r2_c4_f2.gif');" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">

Let me know if this helps

Dave
0
 
LVL 8

Expert Comment

by:xabi
ID: 2672570
daveamour is right. About the right spacing is cause netscape will reserver space for the scroll bars.

xabi
0
 
LVL 7

Expert Comment

by:nettrom
ID: 2673018
if you want to be forwards compliant you'd also like to remove margins through CSS.  all you need is to add the following attribute to BODY:

  style="margin:0;"
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:nasile
ID: 2674459
Ok this is great... it cleared up the margin issue. The only problem is that there is still the one varied size cell that is specified as width=100% and has a backgroun image. That cell is not showing up in netscape. I tried setting the tr background to the image, the table background to the image and the td background to the image and it is not working in netscape.

Thanks
0
 
LVL 7

Expert Comment

by:nettrom
ID: 2675740
I tested this a bit at home, and the background image won't be shown if you define a width for the table cell.  remove width and the image is suddenly there.  haven't been able to find a workaround though.
0
 

Author Comment

by:nasile
ID: 2685881
hmm... myself neither.

Is there a way I can give maybe a portion of the points for this question since half of it has been solved?
0
 
LVL 7

Expert Comment

by:nettrom
ID: 2699510
I've forgotten about your question nasile, should've commented on it immediately.

when you want to split the points of a question you can ask the support staff over in the support area to help you do it.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question