box problem for wordpress template
Posted: 01 July 2006 10:44 AM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2006-07-01

I’ve regarded myself as moderately knowledgeable with CSS, but this one is stumping me.  I’m looking for some help.

A little preface:  I’ve built this the way I thought it should have gone, and then as soon as I dropped it in my wordpress template it broke.  So now I’m trying alternate routes.

What I’m wanting to do (if you know anything about the typical structure of wordpress templates, you’re already on track).

On the single post template page (single.php) I’m attempting to add a “tool box” to the end.  Different categories will have different tool boxes, and once I get one down the rest should be easy to plug in later.  It will go right under the post and needs to be divided into 4 horizontal sections (columns).  Directly under that horizontal section, another will be present, seamingly attached, displaying social bookmarks with a few icons going horizontally in one column.  Then a third horizontal section directly under that with the category specific tool, in this test example a link with a background image.  All should take up the full width of the page (flush with the post area).

First I went the road of inline lists and I can’t get it to render properly.  I can’t determine where my structure is off at.  I am going to attempt to upload the supporting files for any help you may be able to render.  I will name my first born child after the kind soul that helps solve my problem.

This is the CSS snippet for the specific area

.toolboxarea {
background
#E1EABC url(images/bcnd_toolbox.jpg) repeat-x top left;
border4px solid #748338;
color#999933;
displayblock;
}

.toolboxarea ul {
border
0;
margin0;
padding0;
displayblock;
list-
style-typenone;
}

.toolboxarea li {
display
inline;
list-
style-typenone;
floatleft;
text-aligncenter;
padding0;
margin0;
}

/*--==labels==--*/

.tooldiscuss {
background
transparent url(images/bull_discuss.gifno-repeat top left;
margin0 0 0 5px;
padding-top0;
padding-bottom0;
padding-left20px;
padding-right5px;
text-alignleft;
font-size 50%;
}
.toolfeed {
background
transparent url(images/bull_feed.gifno-repeat top left;
margin0 0 0 5px;
padding-top0;
padding-bottom0;
padding-left20px;
padding-right5px;
text-alignleft;
font-size 50%;
}
.tooltrack {
background
transparent url(images/bull_track.gifno-repeat top left;
margin0 0 0 5px;
padding-top0;
padding-bottom0;
padding-left20px;
padding-right5px;
text-alignleft;
font-size 50%;
}
.catlabel {
background
transparent url(images/lab_cat.jpgno-repeat top left;
margin0;
padding 0;
text-alignleft;
width100px;
height15px;
}
.ratelabel {
background
transparent url(images/lab_rate.jpgno-repeat top left;
margin0;
padding 0;
text-alignleft;
width100px;
height15px;
}
.sblabel {
background
transparent url(images/lab_sb.jpgno-repeat top left;
margin0;
padding 0;
text-alignleft;
width160px;
height15px;
}

.listcon1 {
width
60px;
}
.listcon2 {
width
100px;
}
.listcon3 {
width
110px;
}
.listcon4 {
width
100px;
}
.listcon5 {
width
200px;
}


.daynum {
border
none;
font-size180%;
font-weightbold;
color#666666;
margin0;
padding2px 5px;
}

.dayname {
border
none;
color#666666;
font-size90%;
font-weightbold;
margin0;
padding2px 5px;
}

.month {
font
-size90%;
color#666666;
margin0;
padding2px 5px;
}

.toollabel{
font
-size50%;
text-transformuppercase;
color#666666;
margin0;
padding-top2px 
padding
-bottom0;
padding-left5px;
padding-right5px;
text-alignleft;
}


.tooltext{
font
-size50%;
color#666666;
margin0;
padding-top0;
padding-bottom0;
padding-left5px;
padding-right5px;
text-alignleft;
}

.toolbox a img { 
border
none
margin-bottom 5px;
}

.toolbox a img:hover, .toolbox a img:focus, .toolbox a img:active { 
border
none
}

.divider {
background
transparent url(images/bcnd_divider.jpgno-repeat top left;
margin10px 4px 1px 4px;
width1px;
height78px;

This is the markup

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



<
class="toolboxarea">
<
ul class="toolboxarea">
<
li>
<
class="dayname">MAR</p>
<
class="daynum">14 2006</p>
</
li>
<
li>
<
div class="divider"></div>
</
li>
<
li>
<
div class="catlabel"></div>
<
class="tooltext">WordpressOther</p>
</
li>
<
li>
<
div class="divider"></div>
</
li>
<
li>
<
div class="ratelabel"></div>
<
class="tooltext">Ratings go here</p>
</
li>
<
li class="toolitem">
<
div class="divider"></div>
</
li>
<
li>
<
class="toolfeed">Feed</p>
<
class="tooldiscuss">Respond</p>
<
class="tooltrack">Trackback</p>
</
li>
</
ul>
</
p>
<
div class="sblabel"></div>
<
div class="toolsocial">
Sociable links
</div>
<
div class="devbutton">
DEVELOP THIS
</div>
</
body

Im attaching the full markup and CSS as well, because all of that may have something to do with it.  Thanks.

Okay, this board can’t accept file attachments at this time.  If you’re able to help, I will be more than ready to send over the source files.  my email is:  .(JavaScript must be enabled to view this email address)

Profile