View Single Post
Old 09-18-2012, 02:44 PM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,100
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by ElMiko View Post
I am at my wits end. I want to create a border that will look like the attached image. Through some trial-and-error, I figured out that when it's a single line, I can get that result by putting the border style as a <span> within the <p> tags. but with two lines (or even one line broken by a <br />) I'm at a loss. The best I've been able to do is a border that extends all the way to the top and side edges of the viewing page, but that's not what I want.
Block, padding and Margins (and Border ) come into play

Look at Section 8 (box model) of CSS2
Your text including the <br /> needs to be inside the block
Attached Files
File Type: epub wordinboxTEST.epub (1.9 KB, 48 views)
theducks is offline   Reply With Quote