Patrick Roane wrote:
>I'm trying to create a background image in my .css file but it gets 'overshadowed' by other .css
elements and I can't figure it out.
>Please take a glance at: www.pdrsolution.com/bistro17/index.html
>Here, you will see that I deliberately inserted the building image into the index.html file to show
how I'd like it displayed. But, also notice the image is up in the top right corner partially behind
other elements. Why does this happen? I thought by adding it to the st_gargoyles.css/.inside class
rule, the image would be out in front- this is obviously not the case. Any hints?
I guess because sometimes the class="inside" is not added to a div with
dimensions, but as a separate <div class="inside"> without a width and a
height: then the bg-img is not in FF, but present in IE. - Unless there
are new id's or classes cascading in the flow with only a
background-color, they will cover it (partially). The play with negative
margins and paddings will cause the display of the bg-img in not always
the top-left position, I think.
btw: the st_gargoyles_v4.css doesn't exist.
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/