| Web Design Lobby Forum for general web design issues not specific to scripting or graphics. |
01-19-2004, 03:27 PM
|
#1 (permalink)
|
|
Inactive
Join Date: 01-19-04
Posts: 9
Latest Blog: None
|
Need help with still background....
Hi all im new here i wanted to know where i can get the code to keep my background still while the scrollbar moves the text up and down on my page,any help will and is appreciated ty!!!!! 
|
|
|
01-19-2004, 03:36 PM
|
#2 (permalink)
|
|
v7n Mentor
Join Date: 10-13-03
Location: England.
Posts: 6,183
Latest Blog: None
|
in the body tag :
bgproperties = fixed
|
|
|
01-19-2004, 03:46 PM
|
#3 (permalink)
|
|
Inactive
Join Date: 01-19-04
Posts: 9
Latest Blog: None
|
ok thank you i will try but i dont need to get a code for this? if so where do i get it and do i type bgproperties=fixed or just in the background properties i type fixed? 
|
|
|
01-19-2004, 03:48 PM
|
#4 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
css
|
|
|
01-19-2004, 03:52 PM
|
#5 (permalink)
|
|
Inactive
Join Date: 01-19-04
Posts: 9
Latest Blog: None
|
whats css?
|
|
|
01-19-2004, 04:45 PM
|
#6 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
Cascading Style Sheets, style sheets when attached to documents describe how the document is displayed or printed, e.g. a CSS sheet is attached to an HTML document, to influence its layout when accessed via a browser. CSS supports cascading, i.e. a single document may use two or more style sheets that are than applied according to specified priorities (=cascade).
|
|
|
01-19-2004, 05:55 PM
|
#7 (permalink)
|
|
Possible Terrorist
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
|
do <body style="bgproperties:fixed;" backghround="blah.jpg"> 
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
|
|
|
01-20-2004, 04:45 AM
|
#8 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
er no!
try [code:1:5ad2d60dd2]<body style="background-attachment: fixed; background-image: url('your_image.gif');">[/code:1:5ad2d60dd2]
|
|
|
01-20-2004, 05:24 AM
|
#9 (permalink)
|
|
v7n Mentor
Join Date: 10-13-03
Location: England.
Posts: 6,183
Latest Blog: None
|
lol mine works so eff off
|
|
|
01-20-2004, 06:57 AM
|
#10 (permalink)
|
|
Inactive
Join Date: 10-13-03
Posts: 275
Latest Blog: None
|
Yours works, but it's not css. You just put it in the body tag as a property like this:
[code:1:1d59458e64]
<body bgproperties="fixed">
Blah
...</body>
[/code:1:1d59458e64]
If you want it to work in Netscape, you need to use the html way. 
|
|
|
01-20-2004, 07:48 AM
|
#11 (permalink)
|
|
v7n Mentor
Join Date: 10-13-03
Location: England.
Posts: 6,183
Latest Blog: None
|
i know it ain't css, but i replied before anyone mentioned css
and still, it works in netscape so bollokcs to css, thanks all the same 
|
|
|
01-20-2004, 09:42 AM
|
#12 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
well bollocks to HTML while we're at it! 
|
|
|
01-20-2004, 10:02 AM
|
#13 (permalink)
|
|
v7n Mentor
Join Date: 10-13-03
Location: England.
Posts: 6,183
Latest Blog: None
|
ah, bloody bollocks to it all 
|
|
|
01-20-2004, 01:22 PM
|
#14 (permalink)
|
|
Inactive
Join Date: 10-14-03
Location: Dallas, TX
Posts: 600
Latest Blog: None
|
Try this
<html>
<body stayDammit("image.jpg")>
</body>
</html>
|
|
|
01-20-2004, 01:35 PM
|
#15 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
oh, I was sure that was css.
|
|
|
01-20-2004, 04:51 PM
|
#16 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
Quote:
|
Originally Posted by Rizande
<body stayDammit("image.jpg")>
|
haha
Ya never know these days, that might just work on some obscure browser! 
|
|
|
01-20-2004, 05:01 PM
|
#17 (permalink)
|
|
Possible Terrorist
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
|
Quote:
|
Originally Posted by LazyJim
er no!
try [code:1:77764899e4]<body style="background-attachment: fixed; background-image: url('your_image.gif');">[/code:1:77764899e4]
|
uh doh.. i was tired :p
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
|
|
|
01-20-2004, 05:02 PM
|
#18 (permalink)
|
|
Inactive
Join Date: 01-19-04
Posts: 9
Latest Blog: None
|
OmG how rude of me I passed the message along and it worked thank you guys for all your help,I appreciate it  Hope to speak to you all soon! :wink:
|
|
|
01-20-2004, 05:03 PM
|
#19 (permalink)
|
|
Possible Terrorist
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
|
NP.. hope my tiredness didnt mess you up to bad.
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
|
|
|
01-20-2004, 05:06 PM
|
#20 (permalink)
|
|
Inactive
Join Date: 01-19-04
Posts: 9
Latest Blog: None
|
LoL no not at all
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| |