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; position:fixed; }  
 
#fixedHeader, #fixedContent { width:500px; position:fixed; }  
 
#fixedHeader { background-color:#000; color:#fff; height:50px; font-size:16px; left:678px; top:205px; }  
 
#fixedHeader { background-color:#000; color:#fff; height:50px; font-size:16px; left:678px; top:205px; }  
#fixedHeader p{ margin:10px auto; width:110px; }  
+
#fixedHeader p{ margin:10px auto; width:90%; }  
 
#fixedContent { background-color:yellow; color:#000; height:100px; top:256px; left:678px; overflow:scroll; text-align:center; }  
 
#fixedContent { background-color:yellow; color:#000; height:100px; top:256px; left:678px; overflow:scroll; text-align:center; }  
 
</style>
 
</style>

Revision as of 15:24, 25 May 2018

fixed header, focused element is always in view

This category currently contains no pages or media.