• Before posting a question, please check our Frequently Asked Questions page as well as previous threads here. Odds are you aren't the first to ask, and you may find the answer without having to post!

Border shortening?

FloatingAroundSpace

Three Thousand Club
Does anyone know if you can make a border... shorter? Like how you can make an accordion only let's say 55% of the width, can you do the same for a border? If so, how?


I'm sorry if this is supposed to be obvious but I don't know how to do this...
 
Well, you can use the centerblock code around it. For example:


Lorem ipsum dolor sit amet, nam utinam semper ne. Cu sed veritus nostrum. Per ne saperet quaestio, ius ad legimus nonumes denique, fierent vivendum evertitur quo ea. Usu diam quot cu, sed in accumsan accusamus vulputate, an assum laoreet voluptua vel. Id modo dicta his, mentitum quaerendum ius eu.


Code:
[centerblock=55][border=5px solid red]Lorem ipsum dolor sit amet, nam utinam semper ne. Cu sed veritus nostrum. Per ne saperet quaestio, ius ad legimus nonumes denique, fierent vivendum evertitur quo ea. Usu diam quot cu, sed in accumsan accusamus vulputate, an assum laoreet voluptua vel. Id modo dicta his, mentitum quaerendum ius eu.[/border][/centerblock]
 

Users who are viewing this thread

Back
Top