Solved

XHTML 1.0 Transitional

Posted on 2004-08-06
7
512 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
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now