Difference between revisions of "Category:Techniques/fixedPositionLayout"

From Level Access Web Labs
Jump to navigation Jump to search
Line 5: Line 5:
 
#fixedHeader, #fixedContent { width:500px; }  
 
#fixedHeader, #fixedContent { width:500px; }  
 
#fixedHeader { background-color:#000; color:#fff; height:50px; font-size:16px; }  
 
#fixedHeader { background-color:#000; color:#fff; height:50px; font-size:16px; }  
 +
#fixedHeader p{ margin:10px auto; }
 
#fixedContent { background-color:yellow; color:#000; height:500px; }  
 
#fixedContent { background-color:yellow; color:#000; height:500px; }  
 
</style>
 
</style>
 
</head>
 
</head>
 
<body>
 
<body>
<div id="fixedHeader">fixed header</div>
+
<div id="fixedHeader"><p>fixed header</p></div>
 
<div id="fixedContent">fixed content</div>
 
<div id="fixedContent">fixed content</div>
 
</body>
 
</body>

Revision as of 17:09, 22 May 2018

fixed header

fixed content

This category currently contains no pages or media.