css - A bordered box shows up in a stand alone html page but does not show when placed in an iframe -


I have this CSS code and it works as expected on a plain old stand alone page, but only text in an iframe Shows Displays the same in Firefox 3 and IE8. any idea?

#MyBox {status: Completed; Display area; Left: 0 pixels; Top: 90px; Width: 150px; Height: 150px; color blue; Border-style: solid; Border color: red; Border-width: 3px; Background image: url (images / blu_grad.gif); / * Large picture may take a lot of time to load * /} This is my box!

Are you crossing the server? It is possible, depending on your setup, that image can not be found through the relative path.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -