Jump to content

Recommended Posts

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">

Link to comment
https://forums.phpfreaks.com/topic/124781-tracing-image-help/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/124781-tracing-image-help/#findComment-644574
Share on other sites

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?

Link to comment
https://forums.phpfreaks.com/topic/124781-tracing-image-help/#findComment-644944
Share on other sites

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;
}

 

Link to comment
https://forums.phpfreaks.com/topic/124781-tracing-image-help/#findComment-645261
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.