HighDots Forums  

Re: No Centering in Netscape and Other Problems

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: No Centering in Netscape and Other Problems in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrew Jones
 
Posts: n/a

Default Re: No Centering in Netscape and Other Problems - 07-17-2003 , 02:29 PM






Liam Gibbs wrote:

[...]
Quote:
2. I can't seem to get my main table to add no margins and no spacing.
It still adds a pixel of spacing in between each table cell. This
happens in both IE and Netscape. Here's my code for it:
[...]

Quote:
padding: 0;
padding: 0px 0px 0px 0px;

Quote:
margin: 0;
margin: 0px 0px 0px 0px;

The order for the margin/padding is top, right, bottom, left (correct me
if I'm wrong).
--
Andrew Jones
[please remove 'spluc.' from my
email address to contact me]



Reply With Quote
  #2  
Old   
Lauri Raittila
 
Posts: n/a

Default Re: No Centering in Netscape and Other Problems - 07-17-2003 , 02:55 PM






In article <bf6ter$70l$1 (AT) sparta (DOT) btinternet.com>, Andrew Jones wrote:

Quote:
padding: 0;

padding: 0px 0px 0px 0px;

margin: 0;

margin: 0px 0px 0px 0px;

Those are exactly same. Exept that your version has lot's more to
writing, and is so more prone to errors.

Quote:
The order for the margin/padding is top, right, bottom, left (correct me
if I'm wrong).
Sure it is. Order is also "all" or "top & bottom, left & right" or "top,
left & right, bottom", depending on how many measures it has.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.



Reply With Quote
  #3  
Old   
Andrew Jones
 
Posts: n/a

Default Re: No Centering in Netscape and Other Problems - 07-17-2003 , 03:07 PM



Lauri Raittila wrote:

Quote:
In article <bf6ter$70l$1 (AT) sparta (DOT) btinternet.com>, Andrew Jones wrote:


padding: 0;

padding: 0px 0px 0px 0px;


margin: 0;

margin: 0px 0px 0px 0px;



Those are exactly same. Exept that your version has lot's more to
writing, and is so more prone to errors.
Whoops, sorry.

Quote:
The order for the margin/padding is top, right, bottom, left (correct me
if I'm wrong).


Sure it is. Order is also "all" or "top & bottom, left & right" or "top,
left & right, bottom", depending on how many measures it has.
Okay... should have looked at the spec.
--
Andrew Jones
[please remove 'spluc.' from my
email address to contact me]



Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.