SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Nov 2012
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to centre this Table between two images ?

    When I had this page in frames, the table was between two images.

    www.c5d.co.uk/golfclub.php


    How do I do this with CSS ?

    Second query, how do I get the button and copyright under or two the left of the bottom photo ?

    Thanks

    Antony

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,197
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    The whole page needs structuring, really. You can give a page some structure by using some div containers to organize content. For example, you could wrap the two images and the table in a containing div, then float each of those items within that div to get them to sit side by side. Or you could put a margin on each side of the table (leaving enough space for the images) and float the image left and right to sit beside the table. In that case, keep the images before the table in the HTML.

    To get the copyright notice to the bottom. you could give that <p> element clear: both in the css, but again, in a normal page structure you'd establish a proper footer below the content area.

  3. #3
    SitePoint Addict
    Join Date
    Nov 2012
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks

    It worked perfectly.

    On to the next problem now !

    Antony


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
  •