View Single Post
Old 04-29-2005, 04:42 AM   #3 (permalink)
Ripsaw
Chef in Training
 
Modified Style Sheet

Quote:
<style type="text/css">
<!--
.wrapper {
height: 480px;
width: 640px;
margin:0px auto;
text-align:center;
padding-top:0px;
border:1px #fff;
}
.photo_image {
height: 440px;
margin: 0 0 0 0px;
background-color:#BFCCE3;
remove--->
font-family: Verdana;
font-size: 11px;
}
.photo_nav {
height: 40px;
margin:0 0 0 0px;

text-align:left;
padding:0px 0px 0px 5px;
border-top:2px solid #ccc;
background-color:#666;
font-family: Verdana;
font-size: 11px;
}
.photo_subnav {
width: 55px;
height: 40px;
background-color:#660000;
padding:0px 0px 0px 0px;
float:left;
color: #FFFFFF;
}
.spacer {
background-color:#666;
width: 10px;
height: 40px;
float:left;
}

-->
</style>
Your redone wrapper div

Quote:
<div class="wrapper">
<div class="photo_image">
<img src='brewerysplash.jpg'></div>
<div class="photo_nav">
<div class="photo_subnav">< 1/12 ></div>
Crasnton, RI - Built in 1853 as the Providence Trolley house. Used as the
repair shop and storage shed for trolleys until 1923 when the city shuttered
their traction car system. It was then converted to the Cranston Brewery under
which it operated until the company went under in the late 70's.</div>
<div class="photo_nav">
<div class="photo_subnav">< 1/12 ></div>
Crasnton, RI - Built in 1853 as the Providence Trolley house. Used as the
repair shop and storage shed for trolleys until 1923 when the city shuttered
their traction car system. It was then converted to the Cranston Brewery under
which it operated until the company went under in the late 70's.</div>
<div class="photo_nav">
<div class="photo_subnav">< 1/12 ></div><div class="spacer"></div>
Crasnton, RI - Built in 1853 as the Providence Trolley house. Used as the
repair shop and storage shed for trolleys until 1923 when the city shuttered
their traction car system. It was then converted to the Cranston Brewery under
which it operated until the company went under in the late 70's.</div>



</div>
I used a spacer div to provide you with the margin you requested. Its two divs, stacked floating left. Renders in Firefox and IE6. Alter the width of .spacer for more or less margin. Let me know if this works, or not, and if you find another way, please share it. Thanks.
__________________
"We are supposed to be masters of space, but we cant even line up our shoes?"

One life, one chance, one opportunity.
Ripsaw is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62