Advertisement
Guest User

fredck

a guest
Jul 4th, 2008
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.45 KB | None | 0 0
  1. <div style="border: 1px solid red;">
  2.     <p>Para 1</p>
  3.     <p>Para 2</p>
  4. </div>
  5. <p>Para 3</p>
  6.  
  7. When selecting "Para 2" and "Para 3" we have this results:
  8.  
  9. <div style="border: 1px solid blue;">
  10.     <p>Para 1</p>
  11.     <p>Para 2</p>
  12.     <p>Para 3</p>
  13. </div>
  14.  
  15. Shouldn't it be:
  16.  
  17. <div style="border: 1px solid red;">
  18.     <p>Para 1</p>
  19.     <div style="border: 1px solid blue;">
  20.         <p>Para 2</p>
  21.     </div>
  22. </div>
  23. <div style="border: 1px solid blue;">
  24.     <p>Para 3</p>
  25. </div>
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement