Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS What 'border' can and cannot ..? Reply To: What 'border' can and cannot ..?

#148600
crishushu
Participant

Hi!

  1. there is the orange box generated by:

    <p class="innerbox">

  2. there is the black line generated by:

    <div class ="outerbox">

My question is: is there a way to produce the black line by using the border property within the p element in order to make the surrounding div element redundant?

http://liveweave.com/ccMxwP