Results 1 to 3 of 3

Thread: (CSS) Why isn't my Margin working? **Resolved**

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (CSS) Why isn't my Margin working? **Resolved**

    I have it applied to some cells via the class. Basicly I don't want the text inside to touch the edge of the cell.
    Code:
    <td class="outlined90degrees" style="width:60px;">Number</td>
    in the head of the document I have:
    Code:
    table { border-collapse: collapse; }
    td { color: Black; font-family: Verdana, Gill Sans, sans-serif; font-size: 7pt;}
    .outlined90degrees { border:1px solid black; margin:5px; writing-mode:tb-rl; filter:flipH() flipV();}
    (I know some of that is IE only)
    Any ideas?

    Thanks,
    Michael
    Last edited by msimmons; Oct 23rd, 2002 at 01:37 PM.
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Maybe you want padding instead of margin? Margin goes around the outside of the border, padding goes between the border and the text on the inside.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    Yes, you are correct sir!

    Thanks
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width