02-04-2004, 09:50 AM | #1 |
Baaz Draconian
Join Date: August 28, 2001
Location: Australia
Age: 46
Posts: 708
|
Okay I've been at this for a while and it's got me completely stumped.
I wish to ad an image as a background to a web page but I do not know what code to add so that it doesn't just end and start again if I scroll down far enough. I know I can use Dreamweavers CSS to do this but I can't even get the image to show up and when I do my flash buttons go all warped so I'm wondering if I can just add a line of code in myself to bypass the CSS (which has been nothing but a headache all day long). I'm not even sure if this is possible as I know very little concerning HTML but I guess if anyone would know they'd be here so any replies would be well appreciated! [ 02-04-2004, 09:51 AM: Message edited by: Bokken ] |
02-04-2004, 11:01 AM | #2 |
Manshoon
Join Date: October 7, 2001
Location: None
Age: 55
Posts: 186
|
http://hotwired.lycos.com/webmonkey/
Try this place, it has a lot of cheat sheets and walkthroughs for HTML
__________________
[url]\"http://dicemen.phpwebhosting.com/dicemen/index.php\" target=\"_blank\">Of Dice and Men</a> |
02-04-2004, 12:24 PM | #3 |
Apophis
Join Date: July 10, 2001
Location: By a big blue lake, Canada
Age: 50
Posts: 4,628
|
Add bgproperties="fixed" to your body tag. Like this
code:<body background="abc.jpg" bgproperties="fixed">[/QUOTE]Now only the text will scroll whereas the background image will remain, you guessed it , fixed. [img]smile.gif[/img]
__________________
Confuzzled by nature. |
02-04-2004, 10:28 PM | #4 |
Baaz Draconian
Join Date: August 28, 2001
Location: Australia
Age: 46
Posts: 708
|
Thanks for the help! Got it eventually *L*
|
02-05-2004, 01:53 AM | #5 |
Jack Burton
Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
|
With bgproperties=fixed , it will still tile; which you might not want - check your page in higher resolutions, and if you want only one instance of the image in the background, add
body {background-repeat: no-repeat;} to your CSS. This will not fix the image, though, simply stop it from tiling - meaning you may wish to use both codes at once. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Some HTML help, please | Sir Krustin | General Conversation Archives (11/2000 - 01/2005) | 12 | 11-26-2002 08:44 AM |
HTML-help! Or something like that... | Sir Exxon | General Conversation Archives (11/2000 - 01/2005) | 10 | 11-07-2002 06:27 AM |
HTML Help please? | Moni | General Conversation Archives (11/2000 - 01/2005) | 5 | 08-27-2002 05:53 AM |
HTML help | Willard | General Conversation Archives (11/2000 - 01/2005) | 5 | 07-08-2002 10:46 PM |
Some HTML help, please | Sir ReGiN | General Conversation Archives (11/2000 - 01/2005) | 5 | 04-05-2002 04:38 AM |