Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
css:

.ContentArea{float:left;width:984px;height:auto;background:url(../images/mid_bg.jpg) repeat-y;}

when i apply above class for div in IE i got error "This page has in secured content"

only when i use above class o.w working
Posted
Updated 30-Sep-12 23:39pm
v5
Comments
Zoltán Zörgő 1-Oct-12 5:04am    
1) In what browser?
2) What exactly do you want to achieve?
3) What is not working in it?
4) How the context look like? A CSS class in general is meaningless on it's own.
5) Have you tried to debug the css with IE Developer toolbar in IE, or the tools you can find for the browser you want to test in?
..so, please improve your question and give us lot more details, if you want help.
oh and what on Earth has ssl to do with css?

Hi Harsha,


.ContentArea
{
float:left;
width:984px;
height:auto;
background-image:url("images/mid_bg.jpg");
background-repeat:repeat-y;

}

Ref Link: http://www.w3.org/TR/CSS2/colors.html[^]
 
Share this answer
 
You are mixing http and https. I suppose your images reside on a folder where you have not enabled https, but your page is under https.
 
Share this answer
 
Comments
harshada3 1-Oct-12 5:25am    
yes my folder is not in https but i want it in https for particular pages
Zoltán Zörgő 1-Oct-12 6:13am    
Well, several browsers will warn you for security reasons. You can not do anything against it, just to move all content under https or http. And not mixing them at all. Of course in your case you will have to server at least this image under both http and https. It is up to you how you do this, but I think the simplest way is to copy this image under the same folder and make the css appropriate.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900