AJAX Forums

css html? Q?

This is a discussion on css html? Q? within the XHTML and CSS forums, part of the Beginners AJAX category; ok so i wanna put a background picture on a website using either html or css i dont care.the only thing i wanna accomplish is #1i get the picture ...

Old 10-27-2007, 11:49 AM   #1 (permalink)
Junior Member
 
Join Date: Oct 2007
Posts: 1
Rep Power: 0 meeee is on a distinguished road
css html? Q?

ok so i wanna put a background picture on a website using either html or css i dont care.the only thing i wanna accomplish is
#1i get the picture about 100% size of the screen and
#2 it is fixed so it doesnt move

i tried <body>
<div style=" position:absolute;z-index:0;top:0;left:0;width:100%;height:100%; " >
<img src="/imgs/em15.JPG" width="100%" height="100%">
</div>
<div style=" z-index:1;position:absolute; ">
<!-- Page Content -->
</div>
</body>

its close but it doesnt work bcuz its just an image and not a background so it overlaps everything.


any idea?
tx
__________________
meeee is offline   Reply With Quote
Old 10-27-2007, 11:56 AM   #2 (permalink)
Junior Member
 
Join Date: Oct 2007
Posts: 1
Rep Power: 0 Caleb C is on a distinguished road
<body style="background-image:url('URLHERE');
background-attachment:fixed;">
__________________
Caleb C is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes



All times are GMT -4. The time now is 05:24 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com