• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

No margins in Netscape?

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any way to define margin space for Netscape? I tried using marginheight=0 and marginwidth=0 but still I get space at the right and at the bottom
Sarva
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is some code that will help you with this problem in Netscape. I use CSS to solve this. Here is some really basic code.
<style type="text/css">
body{
margin-bottom : 0px;
margin-left : 0px;
margin-right : 0px;
margin-top : 0px;
}
</style>

I use a back style tag with the body element and the margin attributes.
Hope this helps you out.
Ray
 
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can also say:
<body marginheight="0" marginwidth="0" topmargin="0" rightmargin="0" leftmargin="0" bottommargin="0">
This works in both IE and Netscape. If you want to change the leftmargin, you need to change the value of leftmargin="10" and marginwidth="10" to get it to work in both browswers.
Bill
 
Sarva Pandian
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I tried using the margin tags, but still some space is left over at the right and bottom when I view with Netscape. Its working fine with IE.
Sarva Pandian
 
bill bozeman
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Post your code and let me view it on my machine. I have never had a problem with the above body tag.
Bill
 
Sarva Pandian
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bill,
I first used the margin tags with Netscape 4.6 and it did not work. I upgraded the version to 6.0 and its working fine.
Thanks for ur help!!
Sarva Pandian
 
Sarva Pandian
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ray,
I tried your codes and its working fine.
Thanks for your help!!
Sarva Pandian
 
You can thank my dental hygienist for my untimely aliveness. So tiny:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic