center a border-right

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Oct 25, 2012 2:17 am
Reply with quote
Report this post
hi. looking at this site

http://www.iletpropertymanagement.com/dev/j3/wk/

you'll notice that i've put a module class suffix on the left and middle modules in the bottom1 position and applied the following css

.gkBottom1border {
border-right: 1px solid #E7E7E7;
}

my question is how do i get this border-right to appear in the middle of the text either side of it as they are currently a little right sided.

Either that or would I be better to just put the class on the middle module and give that a left and right border? I would still have the question above though as each border wouldn't appear in the centre?

I hope that makes sense.

Thanks for your help.
User avatar
Senior Boarder

GK User
Fri Oct 26, 2012 12:40 am
Reply with quote
Report this post
Hi

If you are referring like the screenshot, use the following css instead:

screen1.jpg


Code: Select all
.gkBottom1border .content {
   border-right: 1px solid #E7E7E7;
        padding-right: 10px
}


Cheers
User avatar
Platinum Boarder

GK User
Fri Oct 26, 2012 6:00 am
Reply with quote
Report this post
Thanks that's great.

Is there an easy way though to get the border longer so it is justified with the top of the title?

Thanks.
User avatar
Senior Boarder

GK User
Wed Oct 31, 2012 11:56 pm
Reply with quote
Report this post
Hi

Sure.
Use instead:

Code: Select all
.gkBottom1border{
   border-right: 1px solid #E7E7E7;
   padding-right: 15px
}


Cheers
User avatar
Platinum Boarder


cron