Results 1 to 2 of 2

Thread: tables are aligned center but how to shift down ten pixels from top

  1. #1
    Join Date
    Dec 2006
    Location
    Singapore
    Posts
    74

    tables are aligned center but how to shift down ten pixels from top

    Hi. My table is aligned center.

    <table border="0" cellpadding="0" cellspacing="0" width="710" align="center">

    But, I want to shift it down 15 pixels. That is, from the top, 15 pixels. I tried using CSS but it doesn't budge. Can I use html in my table code? I've tried adding a top="15" to the code above, but to no effect. Any advice? Thanks!


    sorry I've found my answer online! But I have no idea how to delete this thread. How do i delete my thread?
    Last edited by ranteo; 20 Oct 2007 at 02:09 PM. Reason: Found my answer online

  2. #2
    Join Date
    Jul 2007
    Posts
    29
    give the table an ID in the html, eg class="move"
    in the css file use something like:
    #move{margin-top:15px;}
    That should work.

Posting Permissions

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