Difference between revisions of "Category:Techniques/fixedPositionLayout"

From Level Access Web Labs
Jump to navigation Jump to search
Line 4: Line 4:
 
<style>
 
<style>
 
#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:527px; top:205px; }  
 
#fixedHeader p{ margin:10px auto; width:90%; }  
 
#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:527px; overflow:scroll; text-align:center; }  
 
</style>
 
</style>
 
</head>
 
</head>

Revision as of 15:25, 25 May 2018

fixed header, focused element is always in view

This category currently contains no pages or media.