HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 9th, 2000, 08:37 PM
ltena ltena is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2000
Location: Mexico DF Mexico
Posts: 16 ltena User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to ltena
Hi

I wanted to know whats the tag for netscape and explorer to align the page with margin 0 right left and top like the leftmargin="0" in the body tag.

Cheers
Luis Tena

Reply With Quote
  #2  
Old May 10th, 2000, 01:33 PM
Argrajoca Argrajoca is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: SPAIN
Posts: 47 Argrajoca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
If I've understood the question, you need to put this in the body tag:

leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"

It will eliminate all the margins of the page.


Reply With Quote
  #3  
Old May 16th, 2000, 07:53 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Alternately create in your <head> or between <head> and <body> :
<style>
#MainDiv{position:absolute;top:0;left:0;width:800;height;600:}
</style>

then in your body anything placed between:
<div id="MainDiv">your stuff</div>
will adhere to those settings, play around with the numbers to create any margins you wish.(in IE or NS 4+)

Just remember that if you access anything in that div via Netscape you will have to mention where it is , ie - if you have a form in that div you would access it by document.MainDiv.document.formname.fieldname.value.

Regards,
Simon.

Reply With Quote
  #4  
Old May 23rd, 2000, 09:11 AM
craig34's Avatar
craig34 craig34 is offline
Webmaster Extraordinaire
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Woburn, MA
Posts: 126 craig34 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 39 sec
Reputation Power: 9
If you use the following attributes inside your body tag, bottommargin="0" leftmargin="0" marginheight="0" marginwidth="0" rightmargin="0" topmargin="0". This will make your borders 0 in NS 4+ and IE 3+. Just a warning, Netscape 3 does not recognize these tags and you will have a border of about 10 pixels all around. There is nothing you can do about this.

-Craig Anderson

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > margin align, problems with netscape


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway