Advertisement
wclendining

FLOATLAYOUTstep3CSS

Apr 6th, 2015
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.43 KB | None | 0 0
  1.       #cardinal {background-color: #1a2d38; display: block; /*float: left;*/ margin: 0 auto; width: 100%; height: 40px; font-size: 90%;}
  2.       #cardinal ul, ul { list-style: none; margin: 0; padding: 0; }
  3.       #cardinal li {float: left; position: relative;}
  4.       #cardinal ul ul {display: none;position: absolute;top: 40px;left: 1em;float: left;width: 180px;opacity: 0.95;z-index: 99999;}
  5.       #cardinal a {color: #aaa; display: block; line-height: 40px; padding: 0 10px; text-decoration: none; font-weight: normal;}
  6.  
  7.  
  8.       /* ================================ */
  9.       /* Section 3: Content element rules */
  10.       /* ================================ */
  11.       #main {
  12.          padding: 0 1em;
  13.          overflow: auto;
  14.          background-color: white;
  15.          opacity: .9;
  16.          border-left: solid #121E26 1px;
  17.          border-right: solid #121E26 1px;
  18.          }
  19.       article {
  20.          overflow: auto;
  21.          background-color: white;
  22.          opacity: .95;
  23.          padding: 0 2em;
  24.          }
  25.  
  26.  
  27.       /* =============================== */
  28.       /* Section 4: Footer element rules */
  29.       /* =============================== */
  30.       footer {font-size: 80%;
  31.       }
  32.       footer a, footer a:link, footer a:active, footer a:visited, footer a:hover {color: black; text-decoration: none;}
  33.       footer a:hover {color: white; text-decoration: underline;}
  34.       .TopRow {background-color: #324853;clear: both;overflow: auto;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement