SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member st3v0's Avatar
    Join Date
    Mar 2005
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with div tags and positioning

    Hello,

    I am trying to implement a Gallery script on my website. I have no preblems with setting it up but I can't figure out how to position it. I need to position it in the center of the page, within a table. No matter what I do, however, it never goes there. Any ideas on how to center it?

    The original scipt:

    http://194.95.111.244/~countzero/scripts/_myImageFlow/

    Thanks!

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    With CSS you center an element by setting the left and right margin to auto
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

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