Jump to content

Recommended Posts

Hello peoples,

 

Having trouble finding the correct code for my website, I'm trying to find a code which makes an random background as background, where the text comes up to.

 

So, Images as background, when the text is on it.

 

Or text with an image behind it.

I'm not sure what you're looking for. You want a random background image for the whole page? And how does the text relate to the background? Will what text is displayed depend on the background? Or is the text going to be the same?

 

Anyways... You can't do this with just html. PHP can do it.

for random bacground look for php to do that

for bg behind text, put the text inside a div, or try diferent elements, like p and give the element a background image with css

 

so final code is css background with php random get image

 

 

 

 

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.