CSS Problems ...

Results 1 to 2 of 2

Thread: CSS Problems ...

  1. #1
    Join Date
    Dec 1969

    Default CSS Problems ...

    &nbsp;<BR>I&#039;m using stylesheets to align a table over another with<BR>.mydiv {position:relative; text-align:center; top: 0}<BR><BR>Problems is that it centers fine but does not set margin "0".<BR>Why is that?<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: CSS Problems ...

    To set the margins try this code in your CSS:<BR><BR>.mydiv {position:relative; text-align:center; margin-top: 0;}<BR><BR>For reference on CSS go here:<BR>http://www.w3schools.com/css/<BR><BR>Specifically for Margins, go here:<BR>http://www.w3schools.com/css/css_reference.asp#margin<BR><BR><BR><BR>

Posting Permissions

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