Advertisement:

Author Topic: How can I add a border to the right of the poster div?  (Read 1419 times)

Offline ocmdiaz714

  • Jr. Member
  • **
  • Posts: 202
How can I add a border to the right of the poster div?
« on: August 23, 2012, 05:51:27 PM »
I mean, I know how to add a border as I just did that, but the border doesn't extend over the top and bottom "slices." Can anybody help?



Code: [Select]
/* poster and postarea + moderation area underneath */
.post_wrapper
{
   float:left;
   width:100%;
}
.poster
{
   float: left;
   width: 15em;
   border-right: 1px solid #cccccc;
}
.postarea, .moderatorbar
{
   margin: 0 0 0 16em;
}
.postarea div.flow_hidden
{
   width: 100%;
}

.moderatorbar
{
   clear: right;
}
/* poster details and list of items */
.poster h4, .poster ul
{
   padding: 0;
   margin: 0 1em 0 1.5em;
}
.poster h4
{
   margin: 0.2em 0 0.4em 1.1em;
   font-size: 120%;
}
.poster h4, .poster h4 a
{
   color: #c06002;
}
.poster ul ul
{
   margin: 0.3em 1em 0 0;
   padding: 0;
}
.poster ul ul li
{
   display: inline;
}
.poster li.stars, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul
{
   margin-top: 0.5em;
}
.poster li.avatar
{
   overflow: hidden;
}
.poster li.warning
{
   line-height: 1.2em;
   padding-top: 1em;
}
.poster li.warning a img
{
   vertical-align: bottom;
   padding: 0 0.2em;
}

Offline MovedGoalPosts

  • Jr. Member
  • **
  • Posts: 248
    • nthwgaming
Re: How can I add a border to the right of the poster div?
« Reply #1 on: August 24, 2012, 05:50:07 AM »

Offline ocmdiaz714

  • Jr. Member
  • **
  • Posts: 202
Re: How can I add a border to the right of the poster div?
« Reply #2 on: August 24, 2012, 01:53:26 PM »
I had a similar issue.  Have a look at : http://www.simplemachines.org/community/index.php?topic=481998.0

That didn't work for me. Maybe I screwed up my CSS?

Offline MovedGoalPosts

  • Jr. Member
  • **
  • Posts: 248
    • nthwgaming
Re: How can I add a border to the right of the poster div?
« Reply #3 on: August 24, 2012, 03:41:51 PM »
Remember that some of the code from that post is css3, so will only display correctly in modern browsers that support it.

If you've been making a lot of other changes to your css, and even the templates, then it's possible something there could upset the expected results.

Offline ocmdiaz714

  • Jr. Member
  • **
  • Posts: 202
Re: How can I add a border to the right of the poster div?
« Reply #4 on: August 24, 2012, 05:10:03 PM »
So I went ahead and added all those missing bits mentioned in your original post to my CSS, and this is the end result:

BEFORE


AFTER

Offline ocmdiaz714

  • Jr. Member
  • **
  • Posts: 202
Re: How can I add a border to the right of the poster div?
« Reply #5 on: August 31, 2012, 05:37:33 AM »
Sorry. Bump.

Offline ocmdiaz714

  • Jr. Member
  • **
  • Posts: 202
Re: How can I add a border to the right of the poster div?
« Reply #6 on: September 06, 2012, 01:25:44 AM »
Sorry. Bump.