Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-11-2004, 11:17 PM   #1
LQ Newbie
Registered: Mar 2004
Location: Gujarat, India
Posts: 22

Rep: Reputation: 15
Static image in background?

My logo image is a gif image and i want to place it on my website in such a way that even if i scroll the page then also the logo should not appear to scroll and should remain in the center of the page then how to do that and what language should i use ? I mean how to do that ?
Old 03-12-2004, 12:15 AM   #2
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
i am not sure of the exact way to do that (i just use simple html and css) but a great place to search/ask for web type questions is
It is like the web design version of Linux Questions
Old 03-12-2004, 01:02 AM   #3
LQ Newbie
Registered: Mar 2004
Location: Gujarat, India
Posts: 22

Original Poster
Rep: Reputation: 15
gif image permission

I have done that but it doesn't display the image. My img. is in /var/www/cgi-bin/ .

Do i need to chmod the img. if so then what?
Old 03-12-2004, 02:54 AM   #4
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 418

Rep: Reputation: 31
As long as your image has the read bit set, it should be readable.
You need to use a fixed background, sometimes called a watermark.
Its easy to do in CSS, with this code.
   body {
     background-image : url(" path to image");
Heres a snippet from my css file.


Last edited by jinksys; 03-12-2004 at 02:59 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mp3's have noise/static in the background daspooky Slackware 3 08-16-2005 01:33 PM
Background image.. Linux~Powered Linux - Software 2 02-13-2004 02:42 AM
Background Image podollb Linux - Software 2 10-14-2003 09:15 PM
can you have a process as a background instead of a image Bluesuperman Linux - Software 0 09-25-2003 12:30 AM
Changing the background image bripage Linux - General 3 01-25-2002 06:24 PM

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration