View Full Version : CSS photo album alignment

12-30-2005, 12:36 AM
I'm trying to create my photo album online using only CSS instead of tables. The problem I'm having occurs whenever I try and put text below each of the pictures. I want to have two pictures per row with text under each picture. The site I'm working on is here www.timcs.com/lbpics.aspx and the code is below.

<%@ register tagprefix="site" tagname="menu" src="menu.ascx" %>


<title>Timcs.com - Pictures</title>

<link rel="stylesheet" type="text/css" href="screen.css" media="screen" />

<style type="text/css">

ul.pictures img {
width: 35%;


ul.pictures li {
list-style: none;
display: inline;




<site:menu id="menu" runat="server" />

Just a few pics of my friends kid on his first birthday

<ul class="pictures">
<img src="/images/lb/lb_birthdayCakes.jpg"/><p>text text text</p>


<img src="/images/lb/lb_birthdayEatCake.jpg" />

<img src="/images/lb/lb_birthdayGift.jpg" />

<img src="/images/lb/lb_birthdayInBag.jpg" />

<img src="/images/lb/lb_birthdaySlide.jpg" />

<img src="/images/lb/lb_birthdayToy.jpg" />




EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum