Activity Stream
48,167 MEMBERS
62752 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Member

    Default [HTML] Pageoverlay

    Hey guys!
    I'm trying to overlay a Page with a grey layer.

    Code: 
    	.overlay {
    		z-index:9000;
    		width:780px;
    		height:100%;
    		background-color:#666;
    		opacity:0.9;
    		filter:alpha(opacity=90);
    		position:absolute;
    	}
    
    <div class="likeoverlay"></div>

    Works like a charm, BUT!
    If the Content is longer than the screen resolution, one can simply scroll down and access the content.

    Is it possible to fix that?
    IntelliTool Reviewed by IntelliTool on . [HTML] Pageoverlay Hey guys! I'm trying to overlay a Page with a grey layer. .overlay { z-index:9000; width:780px; height:100%; background-color:#666; opacity:0.9; Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    epicimagehost.com
    Instead of position:absolute;
    use
    position:fixed;
    that should do the trick

  4.     
    #3
    Member
    Perfect, works!
    Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with CSS/HTML
    By nEw_boY in forum Technical Help Desk Support
    Replies: 7
    Last Post: 26th Dec 2011, 10:44 PM
  2. html and css help
    By tractor3231 in forum Web Development Area
    Replies: 7
    Last Post: 5th Sep 2011, 08:42 AM
  3. Need HTML Help!!!
    By cD-rR in forum Tutorials and Guides
    Replies: 4
    Last Post: 17th Jan 2011, 05:57 PM
  4. Replies: 8
    Last Post: 21st Jul 2010, 06:13 PM
  5. Looking for a HTML/CSS/PHP guy
    By timtamboy63 in forum Community Cooperative
    Replies: 8
    Last Post: 9th Jun 2010, 03:35 PM

Tags for this Thread

BE SOCIAL