.groupCategories
{
display: block;
border-bottom: 1px solid #666666;
}
.groupCategories:last-child
{
border: 0px;
}Any ideas?
Posted 06 December 2012 - 11:48 AM
.groupCategories
{
display: block;
border-bottom: 1px solid #666666;
}
.groupCategories:last-child
{
border: 0px;
}"In order to be irreplaceable, one needs to be different from another."
CMS Development: http://www.janedealsart.co.uk/cms/
Posted 06 December 2012 - 01:58 PM
About Me:
My Portfolio | My Company | GitHub | Twitter | Careers 2.0
My Projects:
Posted 06 December 2012 - 02:23 PM
<div class="groupBox"> <div class="groupHeading"> Heading 1 </div> <div class="group"> <div class="title-2"> <div class="catHeading"> Category 1 </div> <div class="cateDescription"> This is category description 1 </div> </div> <div class="countTopics"> <b>Topic Count:</b><br> <font>( 345 )</font> </div> <div class="clear"></div> </div> <div class="group"> <div class="title-2"> <div class="catHeading"> Category 2 </div> <div class="cateDescription"> This is category description 2 </div> </div> <div class="countTopics"> <b>Topic Count:</b><br> <font>( 545 )</font> </div> <div class="clear"></div> </div> <div class="clear"></div> </div>
"In order to be irreplaceable, one needs to be different from another."
CMS Development: http://www.janedealsart.co.uk/cms/
Posted 06 December 2012 - 02:41 PM
Posted 06 December 2012 - 02:46 PM
"In order to be irreplaceable, one needs to be different from another."
CMS Development: http://www.janedealsart.co.uk/cms/
Posted 06 December 2012 - 03:12 PM
<div class="clear"></div>
Posted 06 December 2012 - 03:42 PM
"In order to be irreplaceable, one needs to be different from another."
CMS Development: http://www.janedealsart.co.uk/cms/
Posted 06 December 2012 - 04:08 PM
"In order to be irreplaceable, one needs to be different from another."
CMS Development: http://www.janedealsart.co.uk/cms/
Posted 06 December 2012 - 05:13 PM
Okay... :last-of-type doesn't even exist...
<div class="groups"> <div class="group"></div> <div class="group"></div> <div class="group last"></div> </div>
.groups {
display: block;
border: 1px solid yellow;
padding: 10px;
width: 300px;
}
.group {
display: block;
border: 1px solid red;
background: black;
width: 100px;
height: 100px;
margin: 10px;
}
.group.last {
background: white;
border: 1px solid black;
}
Posted 06 December 2012 - 09:27 PM
"In order to be irreplaceable, one needs to be different from another."
CMS Development: http://www.janedealsart.co.uk/cms/
Posted 07 December 2012 - 12:58 AM
that just makes it more difficult lol.
after i have the design done im putting the category html inside a while loop, making the .group .last element useless unless i use JS (which im trying to avoid so far so good).
0 members, 0 guests, 0 anonymous users