Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   General Conversation Archives (11/2000 - 01/2005) (http://www.ironworksforum.com/forum/forumdisplay.php?f=28)
-   -   Html question (http://www.ironworksforum.com/forum/showthread.php?t=82091)

Jorath Calar 10-24-2002 05:40 PM

So, I'm in this class were I'm learning HTML AGAIN, using Notepad!!! I did it in college and it's all very much the same so I'm not exactly having fun... I'm going waaaay ahead of the teacher, she is teaching about lists now... sigh, and I'm designing a table to be a templete for the my page

SO!!!

What I want to know is how do you make the margin of the page zero...

Check it out here... it's a work in progress [img]smile.gif[/img]
http://www.hi.is/~johanngu/

pritchke 10-24-2002 06:04 PM

Just place these within the body tag:
leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"

One thing though when test time rolls around do it as the teacher would do it. Which may not necassarily be the best way, but I have a friend who took a similar course as an elective course and he does alot of HTML at work, but during test time he tried to improve upon the teachers methods and it cost him because it wasn't the way it was taught in class or something.

[ 10-24-2002, 06:13 PM: Message edited by: pritchke ]

Sir Goulum 10-24-2002 06:04 PM

Hmm...my 1000 page book of HTML hasn't a thing on Margins! Can't help ya, sorry.

Bruce The Aussie 10-24-2002 06:15 PM

nice page BTW. like the colour scheme. my current work in progress is "The Quest". its a stupid little game i'm writing in java script and HTML. i'm gonna put its on my web page Cloudkingdom.co.uk i've written like 40 pages in notepad [img]smile.gif[/img] . although i've never been able to do margins. never learn't how.

[ 10-24-2002, 06:19 PM: Message edited by: Bruce The Aussie ]

andrewas 10-24-2002 06:20 PM

I stole some autogenerated code to do this. A div tag with a style attribute. Somthing along the lines of

</font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&lt;div style=&quot;position:absolute; left:0px; top:0px;&quot;&gt;
.
.
.
&lt;/div&gt; </pre>[/QUOTE]Anything inside that div tag will appear starting at 0,0. (Yes, you can do weird things with this, like make text appear outside your own post ETC. DOnt bother doing it though.)

The Ornery One 10-25-2002 02:16 AM

Probably repeating someone elses post but here is a site that explains about setting margins and other HTML stuff.

http://www.htmlgoodies.com/tutors/nomargins.html

LennonCook 10-25-2002 02:20 AM

Quote:

Originally posted by andrewas:
I stole some autogenerated code to do this. A div tag with a style attribute. Somthing along the lines of

</font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&lt;div style=&quot;position:absolute; left:0px; top:0px;&quot;&gt;
.
.
.
&lt;/div&gt; </pre>

Anything inside that div tag will appear starting at 0,0. (Yes, you can do weird things with this, like make text appear outside your own post ETC. DOnt bother doing it though.)[/quote]<font color="lightblue">Span tag will work aswell. (and in some situations has been known to work *better* than div for some reason...) [img]smile.gif[/img] </font>


All times are GMT -4. The time now is 05:15 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved