
June 12th, 2004
12:41 AM
How do i do this with css (bg image)
Actually i have a query on two things. the first relating to the thread title:
if you take a look at the background image on This Site you will notice that it stays in place when the rest of the page scrolls. Thats the easy bit, i know how to do that, but if you right click on the page and view the background image you will see its only 16px by about 300px, so how do they get the background to look the way it does. Do they stretch the image or somthing?
Im pretty sure some one asked somthing similar on this forum before but i cannot find the thread.
Next. Id like to put a title at the top of my site using a banner sized image. Useing css how would i do this. I can do it in HTML but then if i changed my title image id have to go to each html page and update it. so i was wondering if i could link to the image useing a style sheet in some way.

June 12th, 2004
01:58 AM
I need a haircut
Status: Offline!
The background on ALA is repeated horizontally.
Deep in the ALA CSS file is this line:
body {
background: #9aa url(/d/i/btgrdk.gif) bottom left fixed repeat-x;
The color #9aa shows up if the image (the next chunk of code) doesn't show up. Furthermore, it's aligned to the bottom left, fixed to stay in place, and repeats horizontally (along the X axis, as it were).
More information on that: http://www.w3schools.com/css/css_reference.asp
___________________
Jon Culver Chia Pets
Last edited by sparky, June 12th, 2004 02:06 AM (Edited 1 times)

June 12th, 2004
02:43 AM
Neverside Newbie
Status: Offline!
Originally posted by Dorza
Next. Id like to put a title at the top of my site using a banner sized image. Useing css how would i do this. I can do it in HTML but then if i changed my title image id have to go to each html page and update it. so i was wondering if i could link to the image useing a style sheet in some way.
For this, you woudl use one of the various image replacement techniques.
___________________
Tables for layout is an abuse. -- Internet Explorer is unsafe.

June 12th, 2004
02:46 AM
Thanks for your replies, great help:)