tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

border-collapse-opacity-table-row-group-ref.html (1545B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
      2 "http://www.w3.org/TR/html4/strict.dtd">
      3 <html lang="en-US">
      4 <head>
      5 <title>Table background tests</title>
      6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      7 <meta http-equiv="Content-Style-Type" content="text/css">
      8 <style type="text/css">
      9 
     10 html, body { margin: 0; padding: 0; border: 0; font-size: 16px; }
     11 body { padding: 15px; }
     12 
     13 .o { opacity: 0.5; }
     14 
     15 /*
     16 table { 
     17 	margin: 0px 3px 2px 4px;
     18 	border-width: 4px 2px 8px 6px;
     19 
     20 	height is 97px:
     21 	  (2px of border outside height)
     22 	  extra border width for top row: 0
     23 	  cell * 5: == 19px * 5 == 95px
     24 	    border-top: 2px;
     25 	    padding-top: 1px;
     26 	    height: 10px;
     27 	    padding-bottom: 4px;
     28 	    border-bottom: 2px;
     29 	  extra border width for top row: 2px
     30 	  (4px of border outside height)
     31 
     32 	width is 287px:
     33 	  (3px of border outside width)
     34 	  extra border width for left column: 2px
     35 	  cell * 5: == 57px * 5 == 285px
     36 	    border-left: 1px;
     37 	    padding-left: 3px;
     38 	    width: 50px;
     39 	    padding-right: 2px;
     40 	    border-right: 1px;
     41 	  (1px of border outside width)
     42    */
     43 
     44 div { width: 287px; height: 57px; margin: 21px 4px 48px 7px; }
     45 div.color { background-color: aqua; }
     46 
     47 div.imagetl, div.imagebr {
     48 	background-image: url(repeatable-diagonal-gradient-with-ticks.png);
     49 }
     50 
     51 div.imagetl { background-position: 0 0; }
     52 div.imagebr { background-position: 287px 57px; }
     53 
     54 </style>
     55 </head>
     56 <body>
     57 
     58 <div class="color o"></div>
     59 <div class="imagetl o"></div>
     60 <div class="imagebr"></div>
     61 
     62 </body>
     63 </html>