Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / August 2003



Tip: Looking for answers? Try searching our database.

Margins outside a table..

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Destin_FL - 30 Aug 2003 23:44 GMT
I have a table floating right, "Our Mission"
http://www.exstrategies.com/temp1.htm

Code:
_________________________
<table border="0" cellpadding="4" style="border: 3px double #990000; margin:
8,4,8,8" width="200" id="table3" align="right" bgcolor="#FFFBDF">
       <tr>
        <td>
        <p align="center"><b>OUR MISSION</b><br>
        <font size="2">Expand business potential for financial services firms
by providing
        cost-effective marketing and distribution strategy, planning and
execution management
        services.</font></td>
       </tr>
      </table>

_______________________

Can somebody tell me why the margins outside the table work in IE but not NS7?
Brian - 31 Aug 2003 02:45 GMT
> I have a table floating right, "Our Mission"
> http://www.exstrategies.com/temp1.htm

Please validate your html before posting a question, as this often
leads to unpredictable results
< http://validator.w3.org/ >
and check your css for errors as well
< http://jigsaw.w3.org/css-validator/ >

> Code:
> <table border="0" cellpadding="4" style="border: 3px double #990000; margin:
> 8,4,8,8" width="200" id="table3" align="right" bgcolor="#FFFBDF">
[code snipped]
>        </table>
>
> Can somebody tell me why the margins outside the table work in IE but not NS7?

Yes.  Your margin is "8,4,8,8".  8 what?  4 what?  In css, you must
specify the unit.  px, em, ex, cm, *something*.  Conforming agents
must ignore values with no unit.  (IE is not, in this regard, a
conforming agent.)

Signature

Brian
follow the directions in my address to email me

Destin_FL - 31 Aug 2003 02:57 GMT
OHHHHHH!!  Geez.  Thanks a million Brian.

Tim

Destin_FL wrote:
> I have a table floating right, "Our Mission"
> http://www.exstrategies.com/temp1.htm

Please validate your html before posting a question, as this often
leads to unpredictable results
< http://validator.w3.org/ >
and check your css for errors as well
< http://jigsaw.w3.org/css-validator/ >

> Code:
> <table border="0" cellpadding="4" style="border: 3px double #990000; margin:
> 8,4,8,8" width="200" id="table3" align="right" bgcolor="#FFFBDF">
[code snipped]
>        </table>
>
> Can somebody tell me why the margins outside the table work in IE but not NS7?

Yes.  Your margin is "8,4,8,8".  8 what?  4 what?  In css, you must
specify the unit.  px, em, ex, cm, *something*.  Conforming agents
must ignore values with no unit.  (IE is not, in this regard, a
conforming agent.)

Signature

Brian
follow the directions in my address to email me

Destin_FL - 31 Aug 2003 03:17 GMT
Brian,
I changed all of those to px... but nothing changes in Netscape at all.  Does NS
just not support "padding?"

Tim

OHHHHHH!!  Geez.  Thanks a million Brian.

Tim

> Code:
> <table border="0" cellpadding="4" style="border: 3px double #990000; margin:
> 8,4,8,8" width="200" id="table3" align="right" bgcolor="#FFFBDF">
[code snipped]
>        </table>
>
> Can somebody tell me why the margins outside the table work in IE but not NS7?

Yes.  Your margin is "8,4,8,8".  8 what?  4 what?  In css, you must
specify the unit.  px, em, ex, cm, *something*.  Conforming agents
must ignore values with no unit.  (IE is not, in this regard, a
conforming agent.)

Signature

Brian
follow the directions in my address to email me

boclair - 31 Aug 2003 04:49 GMT
> OHHHHHH!!  Geez.  Thanks a million Brian.
>
[quoted text clipped - 5 lines]
> [code snipped]
> >        </table>

> Yes.  Your margin is "8,4,8,8".  8 what?  4 what?  In css, you must
> specify the unit.  px, em, ex, cm, *something*.  Conforming agents
> must ignore values with no unit.  (IE is not, in this regard, a
> conforming agent.)

> I changed all of those to px... but nothing changes in Netscape at all.  Does NS
> just not support "padding?"

Yes, both to margins and padding

http://www.w3.org/TR/REC-CSS1#margin   comma separators?
Destin_FL - 31 Aug 2003 06:27 GMT
Ahhhh, thanks boclair - it was indeed the commas.  It works perfectly now.

Tim

> "Destin_FL" <mounttimmy@yahoo.com> wrote in message
> news:MBc4b.33938$xf.4346@lakeread06...
[quoted text clipped - 4 lines]
> > Code:
> > <table border="0" cellpadding="4" style="border: 3px double #990000;
margin:
> > 8,4,8,8" width="200" id="table3" align="right" bgcolor="#FFFBDF">
> [code snipped]
> >        </table>

> Yes.  Your margin is "8,4,8,8".  8 what?  4 what?  In css, you must
> specify the unit.  px, em, ex, cm, *something*.  Conforming agents
> must ignore values with no unit.  (IE is not, in this regard, a
> conforming agent.)

> I changed all of those to px... but nothing changes in Netscape at all.
Does NS
> just not support "padding?"

Yes, both to margins and padding

http://www.w3.org/TR/REC-CSS1#margin   comma separators?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.