Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 533
  • Last Modified:

XHTML 1.0 Transitional

Does anyone know why if I define topmargin and leftmargin using XHTML 1.0 Transitional, it doesnt work in Netscape 7.1?
0
Nitestarz
Asked:
Nitestarz
  • 3
  • 2
  • 2
1 Solution
 
rockmansatticCommented:
netscape doenst reconize these..

marginheight="0" marginwidth="0"

rockman
0
 
hyperslugCommented:
Are you using CSS ?  This worked for me:

<div style="margin-top:20px; margin-left:20px;" >
      test
</div>
0
 
NitestarzAuthor Commented:
Netscape 7.1 seems to run fine with marginheight and marginwidth when I use just HTML
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
rockmansatticCommented:
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
 
NitestarzAuthor Commented:
Still doesnt work, is it something to do with the XHTML Transitional?
0
 
rockmansatticCommented:
My vote is to go with hyperslug.  this gets around alot of browser issues and is almost globally browser compatible.

Rockman
0
 
hyperslugCommented:
>  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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now