SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard co.ador's Avatar
    Join Date
    Apr 2009
    Posts
    1,054
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    looking for a property to make a space between thumbnails

    I have thumbnail list embed in a <ul><li></li></ul>

    what property could be use to make a space in between thumnails, right now they are floated to the left but they are right next to each other. is there a way that they can be separated by a few pinxels?

    PHP Code:
    echo "\n",'<a href="',$uri,'" title="',$alt,'" style=float:left;>',$alt,'<p><img  width="',$width,'" height="',$height,'" alt="',$alt,'" src="',$srcp,'" /></p><li style= float:left; ></li></a>',"\n"
    CSS configuration styling sheet:

    #nav-subjects-thumbs{height:100&#37;; width:450px; float:left; left:130px; list-style:none; font-size:11px;
    position:absolute; top:340px; list-style:none; font-size:11px; letter-spacing:1px; text-align:center; }

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Padding - works best on the images, but can be used on the list items too.

  3. #3
    SitePoint Wizard co.ador's Avatar
    Join Date
    Apr 2009
    Posts
    1,054
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks

    I was not including the qoutes after
    style=""
    HTML Code:
    style=" float:left; padding:2px;"


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
  •