Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
seeking

dreamweaver question

Recommended Posts

i need to make a background that does not scroll when you scroll the page... so the image stays static, but the words above it scroll. i know theres a really easy way to do it, i just cant remember and cant find my book.

 

anyone?

 

im sure theres an easy html code for it as well, so if someone wants to hook me up wiht it, id be more than happy to plug it in... thanks...

Share this post


Link to post
Share on other sites

This is done easiest via layering with Cascading Style Sheets (CSS), but it's only compatable with version 4.x+ browsers. The first layer scrolls, the second layer doesnt. Edit the variables to suit your needs. For more indepth info search google for CSS topics.

 




<STYLE TYPE="text/css">

<!--

#layer0 {

position:	fixed;

top: 10px;

left: 50px;

background-color:#CCcccc;

border-width:	10;

border-color:	#ffcc33;

width: 512px;

}

#layer1 {

/*

position:	absolute;

top: 120px;

left: 50px;

*/

float: right;

background-color:#CC00EE;

border-width:	1;

border-color:	#CC00EE;

width: 200px;

}

-->

</STYLE>

Share this post


Link to post
Share on other sites

do i need to alter the code at all to include the image code, table size or anything? cause i put it in, but it didnt seem to do anything...

Share this post


Link to post
Share on other sites
Guest beardo

seek.. did they firewall quickbuddy? i cant get on

Share this post


Link to post
Share on other sites

i dotn know... if they did, it wasnt cause of me.....

 

try again in a minute, soemtimes it just cant connect....

 

like the big 'a'? i was gonna do the full name but then i forgot. i cant believe your back at work already. that blows.

 

despite the incredible amount of fun i had last time, im thinking of coming back later this month... woo, woo...

Share this post


Link to post
Share on other sites
Guest beardo

haha i dont know if theres anything in town left to do.

Share this post


Link to post
Share on other sites

we could eat at the chinese spot again.

 

 

you know a vacation was a little lackluster when the only thing that goes right is your dinners at the corner chinese restaurant.

 

and dont worry, this time im staying with the couple.... nothing is cuter than coming home and finding my bed made, my clothes washed, snacks that i like and then she doesnt even want to argue about shit. i should have lived with other peoples girlfriends all along, my life would have been so much better....

Share this post


Link to post
Share on other sites

Register for a 12ozProphet forum account or sign in to comment

You need to be a forum member in order to comment. Forum accounts are separate from shop accounts.

Create an account

Register to become a 12ozProphet forum member.

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×