bf205f552a731dc88dfc597b53a1d62885d6d89a.svn-base 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Inline text in the top element</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <script type="text/javascript" src="../test.js"></script>
  7. <style>
  8. span {
  9. color:blue;
  10. }
  11. p {
  12. background-color: green;
  13. }
  14. div {
  15. background: red;
  16. border: 5px solid blue;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div style="clip: rect(0px, 400px, 50px, 200px); ">Some inline text <span> followed by text in span </span> followed by more inline text.
  22. <p>Then a block level element.</p>
  23. Then more inline text.</div>
  24. <div style="clip: rect(0px, 400px, 50px, 200px); position: relative; ">Some inline text <span> followed by text in span </span> followed by more inline text.
  25. <p>Then a block level element.</p>
  26. Then more inline text.</div>
  27. <div style="clip: rect(0px, 400px, 50px, 200px); position: fixed; ">Some inline text <span> followed by text in span </span> followed by more inline text.
  28. <p>Then a block level element.</p>
  29. Then more inline text.</div>
  30. <div style="clip: rect(0px, 400px, 50px, 200px); position: absolute; top: 250px; left: 500px;">Some inline text <span> followed by text in span </span> followed by more inline text.
  31. <p>Then a block level element.</p>
  32. Then more inline text.</div>
  33. </body>
  34. <div style="clip: rect(0px, 400px, 50px, 200px); position: absolute; top: 500px;">Some inline text <span> followed by text in span </span> followed by more inline text.
  35. <p>Then a block level element.</p>
  36. Then more inline text.</div>
  37. </body>
  38. </html>