Solved

netscape browser offset

Posted on 1998-08-16
2
253 Views
Last Modified: 2010-04-09
I wanna align a background and a table so it looks the same in IE3-4 and NS3-4. (no browser offset)
At the moment its not possible under NS?
Are the some speciel NS tags i gotta know? Or do i have to use style or something else? (and the what about NS3?
Morten
0
Comment
Question by:msvendsen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Expert Comment

by:Otta
ID: 1836738
By default, <TABLES> are left-justified
and top-justified, in both browsers.
What "differences" are you seeing,
and what "problems" does this create?

Perhaps, you need to use Adobe PDFs
(Portable Document Files), if "layout"
is that critical to your need?
0
 

Accepted Solution

by:
cmuir earned 190 total points
ID: 1836739
In Netscape the background is set to start at position 0,0.
Graphics and Tables etc however all have this horrid offset.
From experience this is about 10,10. - pushing your element to the right and down.

If this is the case you can use the STYLE attribute of the TABLE to shift the pic/table to 0,0.

Try.

STYLE="margin-left:-10; margin-top:-10;

Note that I have tried to find a solution that will cover both IE & NS but without joy. Therefore you will have to have a browser detector script to send the user to the correct page - one with negative margins and one with zero margins

It worked for me !
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

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