473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

problem with background image

Hello,

This is sridevi. I have a problem with background images.
I am selecting the background images dynamially in my code and when a background image is selected, it is interfereing with the contents of body.
Here what i want to do is:
When a background image is selected it should not interfere with the contents of body.
Anyone please help me in this regard.

Waiting for your reply.

Thanks,
Sridevi.
Dec 21 '07 #1
6 1283
Hello,

This is sridevi. I have a problem with background images.
I am selecting the background images dynamially in my code and when a background image is selected, it is interfereing with the contents of body.
Here what i want to do is:
When a background image is selected it should not interfere with the contents of body.
Anyone please help me in this regard.

Waiting for your reply.

Thanks,
Sridevi.
Could you please supply use with the code you are currently using to help to see what is going on, thanks. Also if you could supply use with the site if possible this would be helpful (not hyperlinked)

Chris
Dec 21 '07 #2
For example i had a black background image adn i had written some text in balck color. obviously that will not be looking good. So I written that text in one box to remove it from interefering th background image. but still it is interefering.
Dec 21 '07 #3
Markus
6,050 Expert 4TB
For example i had a black background image adn i had written some text in balck color. obviously that will not be looking good. So I written that text in one box to remove it from interefering th background image. but still it is interefering.
Could you just not place the text in a <DIV> and set the background color to white?
Dec 21 '07 #4
If you were to use the div tag it would ensure the text is always visible if it is black not matter what the background is, however you would lose part of the background image.
Dec 21 '07 #5
Thank you. Its worked out.
Dec 22 '07 #6
Markus
6,050 Expert 4TB
Thank you. Its worked out.
No problem.
Post back whenever you need some assistance
:)

good day
markus.
Dec 22 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Mimo Zus | last post by:
I'm hoping that someone can explain what's going on; better yet provide a workaround. I'm designing a centered CSS site based on a 550 pixel wide vertical background image. Onto this background...
11
by: Oliver | last post by:
hello there, i'm having a problem with the z-index. when i set the value it's not moving the object into the background as i want it. the site is something like this (this here is simplified) ...
2
by: CMEDIA_SOUND | last post by:
I have a peculiar problem, I have a tabpage with a label control on it. When i set a background image to the tabpage and drag the label around it has paint issues in that it is slow, granted the...
7
by: Nilesh | last post by:
I am using background-image attribute in a CSS file and linking the CSS file to aspx page. But strangly, background-image attribute is not working for relative URL. e.g. If I apply following css...
0
by: sjickells | last post by:
Hi I am having a problem using asp:TextBox's in a transparent table. I have a background image on the page and a table in the middle of the page. I have set the background colour of the table...
7
crystal2005
by: crystal2005 | last post by:
Hi all, I'm currenty creating a website. I got one confusing problem related to CSS and JavaScript actually, not really html. The problem is, I actually want my welcome screen page is to be random...
30
TheServant
by: TheServant | last post by:
Hey guys, I have been teaching myself web design and using a lot of php. I have been going great, slowly but surely, however I have a problem. If you open up my home page:...
1
by: gnewsgroup | last post by:
I have a user control called Footer.ascx, in which a background image is inserted like so: <div id="footerdiv" style="background-image:url('Images/ mybackground.jpg');...
5
by: creative1 | last post by:
hi everyone, I am struck in layout of my site. Im using 1024 fixed width layout. I have a site layout designed in psd files. Bisically I have to stick with that design tightly and I am asked not to...
2
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.