elmas156 Posted September 18, 2008 Share Posted September 18, 2008 I'm trying to get an image to show up behind my text and other images that is transparent, but not a background image that keeps repeating. I'm using the following code in the <body> flag but it's not working... just show the page normally, with no image. Is there something I'm doing wrong or any other way to accomplish what I'm trying to do? I'm also using php on my pages so if there are any suggestion using php I can go with those as well, I just thought this was more of an html question. Thanks for any help anyone can provide. Here's how I'm trying to do it: <body tracingsrc="DSC01963.jpg" tracingopacity="50"> Quote Link to comment Share on other sites More sharing options...
dropfaith Posted September 18, 2008 Share Posted September 18, 2008 http://codingforums.com/archive/index.php?t-44642.html seems your method is a dreamweaver thing ive never heard of tracingimage until now but id use two divs one with this image in it than a transparent div over the top for text and such i guess im not to clear on what you need this for Quote Link to comment Share on other sites More sharing options...
elmas156 Posted September 18, 2008 Author Share Posted September 18, 2008 Well, I don't know much about physical web design and I've built a pretty extensive site using php. I think the website is awesome but it looks like crap. So... basically I'm trying to make my site look good. I guess I need to dive into some CSS tutorials or something. Any recommendations on a good tutorial for an ultra-beginner that knows absolutely nothing about this? Quote Link to comment Share on other sites More sharing options...
CroNiX Posted September 19, 2008 Share Posted September 19, 2008 If your main content is in a div with an ID of 'pnlMain' you would use something like this css. #pnlMain { background-image: url('images/mybackground.png'); background-repeat: no-repeat; background-attachment:fixed; } Quote Link to comment Share on other sites More sharing options...
dropfaith Posted September 19, 2008 Share Posted September 19, 2008 never goe wrong with http://www.w3schools.com/Css/default.asp w3schools Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.