Closed Thread Icon

Preserved Topic: Table padding-spacing problems? Pages that link to <a href="https://ozoneasylum.com/backlink?for=20507" title="Pages that link to Preserved Topic: Table padding-spacing problems?" rel="nofollow" >Preserved Topic: Table padding-spacing problems?\

 
Author Thread
Quarath
Bipolar (III) Inmate

From: Magna, UT
Insane since: May 2000

posted posted 05-24-2002 05:22

OK this page is to be a template for some client stores using cafepress off my home site:
http://www.finlinson.com/design/finstore.html

The header across the top is set as a background in a table and I want it to go from edge to edge. I have tried using CSS and regular HTML and I have not been able to make it work. I am sure I have done this before but can't for the life of find what I am doing wrong here. I have removed page margins and padding and table margins and padding but some space always remains.


Is it kosher to double post this in CSS forum as well in case there is a CSS solution or does that just iritate people?

eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 05-24-2002 05:40

ya need to tell it to have the margin = 0

<body leftmargin="0" rightmargin="0">

edit: I should say this dont work on all browsers cuz God did not creat all browser to be equal.

_____________
Izzay

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 05-24-2002 07:10

Quarath, in our BODY CSS definition you wrote "margins:0px;", which is incorrect. The word margin should be writen in singular, like "margin:0px;"...

Also, the old fashioned way to remove margins is:

<BODY LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"> </BODY>

Explanation why you alos need to add RIGHTMARGIN & BOTTOMMARGIN parameters can be found here...


eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 05-24-2002 07:22

oh... so THATS why it does not work right all the time! thanks Max!

_____________
Izzay

someoneInverse
Bipolar (III) Inmate

From:
Insane since: May 2002

posted posted 05-24-2002 10:25

it might also be worth mentioning that the implementation of the css margin attribute is somewhat buggy on NS4.X, so its always best to stick with
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0"> </body>
just in case...

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 05-24-2002 15:29

Question (and answer now added to FAQ):
http://faq.ozoneasylum.com/FaqWiki/shownode.php?id=451

___________________
Emps

FAQs: Emperor

Quarath
Bipolar (III) Inmate

From: Magna, UT
Insane since: May 2000

posted posted 05-27-2002 17:16

Thanks guys sorry i didn't get back sooner. I will try that right now in teh CSS. For some reason I never noticed the plural.

« BackwardsOnwards »

Show Forum Drop Down Menu