Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1

    Default Center Pasteboard with No-Scroll using CSS

    Hi everyone.

    I am using this code to have the pasteboard centered with a fixed background, so the background does not scroll with the page...

    <style type="text/css">
    <!--
    HTML {background: #000000 url(index_htm_files/bgimage.jpg) fixed no-repeat center top}
    -->
    </style>


    This code works great but i now want to use the same code to have the background scroll with the page. When i remove the 'fixed' parameter it seems to mess up the page. Any suggestions would be very much appreciated?

  2. #2
    Join Date
    Sep 2011
    Posts
    1

    Default Re: Center Pasteboard with No-Scroll using CSS

    [spam removed]
    Last edited by covoxer; 21 September 2011 at 12:44 PM.

  3. #3
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Center Pasteboard with No-Scroll using CSS

    Uncheck "clip to page edges" will allow you to use a full width photo object.

    To fix it name the object "fixed" and put the following in the head section
    Code:
    <style type="text/css">
    #fixed{
    position:fixed;
    }
    </style>
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	clip.jpg 
Views:	94 
Size:	36.8 KB 
ID:	84222  
    Attached Files Attached Files
    Last edited by Drwyd; 21 September 2011 at 03:23 PM.

  4. #4
    Join Date
    Sep 2011
    Location
    Melbourne, 3000, Australia
    Posts
    5

    Default Re: Center Pasteboard with No-Scroll using CSS

    Hi,

    I just want the stuff on the pasteboard not be masked, so that the user can see it, if they drag their browser window out it will be visible. Not sure how you could invoke scrollbars from Flash but if possible that would be nice. I guess you would have to use javascript communication to get scrollbars?

    I imagine it has something to do with the AC_FL_RunContent settings such as width, height, scale, window mode etc. But I can't seem to get it.

    Thanks,
    Jeffrey

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •