Results 1 to 2 of 2

Thread: trying to get image links centered inside div.

  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default trying to get image links centered inside div.

    hi, i have a series of horizontal image links, and i want to try to center them in their containing div. as it is, they are floated to the left on a white background div. im not sure how to get them centered. any help greatly appreciated again.

    here is the css for the page.
    Code:
    @charset "utf-8";
    /* CSS Document */

    body {
    margin: 0; /* clear for browsers */
    padding: 0;
    background-color: #517E86;
    }
    #container {
    margin: 0 auto 0 auto;
    width: 800px;
    overflow: auto;
    }

    #header {
    background-image: url(header.gif);
    background-repeat: no-repeat;
    width: 800px;
    height: 96px;
    }
    #navigation {

    width: 800px;
    height: 20px;

    }

    #imgnavigation {
    width: 800px;
    height: 122px; /* images height*/
    background-color: #ffffff;.

    Can any body solve it.
    thanks
    Last edited by ddadmin; 01-28-2009 at 07:07 AM.

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there bretlee,

    I gave a very similar reply to your dilemma here. ...


    coothead

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
  •