Reply
What's the code for this...
Old 01-13-2004, 07:05 PM What's the code for this...
Filmgirl's Avatar
Super Talker

Posts: 102
Location: Orlando Florida
I saw this:

http://www.inmyplaces.com/

you see how the background stays put... what's the code for that?
Filmgirl is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 01-13-2004, 10:30 PM
WaHoOoO!'s Avatar
Mentally Unstable Tugboat Captain

Posts: 797
Name: Chad
Location: /usr/bin/perl
Put this into the body tag:

bgproperties="fixed"

[View -> Source]
__________________
He's baaaaaaaack....
WaHoOoO! is offline
Reply With Quote
View Public Profile Visit WaHoOoO!'s homepage!
 
Old 01-14-2004, 04:32 AM
Ultra Talker

Posts: 377
or you may do this in CSS:
body {background-attachment: fixed;}
__________________
andrews_john
www.softwareforhosting.com
andrews_john is offline
Reply With Quote
View Public Profile Visit andrews_john's homepage!
 
Old 01-14-2004, 06:25 AM
Experienced Talker

Posts: 38
You can also position the background, have it display only once, have it repeat only across the screen or only down the screen:

(Links and resources on positioning in CSS:
http://www.thenetplace.com/css.php#positioning)

Positioning:
background-position : [top, bottom, centre, left, right];

Repetition:
background-repeat : [repeat-x, repeat-y, no-repeat];


So to position an image in the bottom right corner, not repeating (as is done with the image of the dice on this page: http://www.betsearcher.net/):

background-position : bottom right;
background-repeat : no-repeat;

You can also use percentages and pixels to place the background image:

background-position : 50px 20px;
background-repeat : repeat-y;

The background image would start 50px across and 20px down and repeat down the page only.

Experiment with these selectors until you get a satisfactory effect.
__________________
3,000+ links on web site design, usability, accessibility, tools,
books, link checkers, software, associations, events, web standards...

http://www.theNetPlace.com/
theNetPlace.com is offline
Reply With Quote
View Public Profile Visit theNetPlace.com's homepage!
 
Reply     « Reply to What's the code for this...
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12425 seconds with 12 queries