Solved

XHTML 1.0 Transitional

Posted on 2004-08-06
7
521 Views
Last Modified: 2013-12-16
Does anyone know why if I define topmargin and leftmargin using XHTML 1.0 Transitional, it doesnt work in Netscape 7.1?
0
Comment
Question by:Nitestarz
[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
  • 3
  • 2
  • 2
7 Comments
 
LVL 10

Expert Comment

by:rockmansattic
ID: 11735634
netscape doenst reconize these..

marginheight="0" marginwidth="0"

rockman
0
 
LVL 3

Expert Comment

by:hyperslug
ID: 11735661
Are you using CSS ?  This worked for me:

<div style="margin-top:20px; margin-left:20px;" >
      test
</div>
0
 

Author Comment

by:Nitestarz
ID: 11735666
Netscape 7.1 seems to run fine with marginheight and marginwidth when I use just HTML
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 10

Expert Comment

by:rockmansattic
ID: 11735695
What I ment to say (type) is that for you to use these in the body tag, you need to use all four to work on IE and Netscape.  marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"

Sorry
Rockman
0
 

Author Comment

by:Nitestarz
ID: 11735743
Still doesnt work, is it something to do with the XHTML Transitional?
0
 
LVL 10

Expert Comment

by:rockmansattic
ID: 11735760
My vote is to go with hyperslug.  this gets around alot of browser issues and is almost globally browser compatible.

Rockman
0
 
LVL 3

Accepted Solution

by:
hyperslug earned 500 total points
ID: 11736124
>  Still doesnt work, is it something to do with the XHTML Transitional?

Yes it is.  topmargin is not in the spec for XHTML and won't work.  Use regular HTML if you wish to continue using topmargin.
0

Featured Post

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

Suggested Solutions

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

752 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