Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    2
    Member #
    2967
    I am creating a page that will have a static background image with the content on top of it. This content might be longer than the background image, so I would like to have it scrollable.

    I am adressing 2 issues here i guess:
    First, my initial thought was to use an iframe so that the content can be changed using a navigation button on the side. I managed to get transparency in IE, but in Opera, it shows up as a green background.

    Any thoughts on that?

    Second, any recomendation for scrolling that text? I don't think I want to use the standard scrollbars since they are rather obtrusive.

    Thanks!
    cowboy

  2.  

  3. #2
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    Opera doesn't support transparency, gecko (mozilla, netscape, galelaon, ...) does with the property -moz-opacity:50%;


    Although from the sounds of it I don't know why you don't just make the background static like this:
    Code:
    body{
    background: url('mypics/background.gif') fixed;
    }
    
    or
    
    <body background="mypics/background.gif" bgproperties="fixed">
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  4. #3
    Junior Member
    Join Date
    Sep 2003
    Posts
    2
    Member #
    2967
    the area i am speaking of is only a cell of a table. that is why i can't use the standard fixed bg

  5. #4
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    You can use CSS to set a fixed bg of a table cell:
    Code:
    .fixed {
    	background-attachment: fixed;
    	background-image: url(fixedimage.jpg);
    	background-repeat: no-repeat;
    }
    To set the class just use:
    Code:
     <td class="fixed">


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:36 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com