Kevin J Pledger wrote:
> I had tried that already but the minute I try that the code goes from this:
>
> #banner {
> background-color: #fff;
> background-image: url(images/mt2.jpg);
> background-repeat: no-repeat;
> background-position: top center;
> height:75px;
> border-top:1px solid #000;
> border-right:1px solid #000;
> border-left:1px solid #000;
> border-bottom:1px solid #000;
> voice-family: "\"}\"";
> voice-family: inherit;
> height:74px;
> }
>
> html>body #banner {
> height:74px;
> }
>
> To this, I suspect the inclusion of the .. Causes some major heart attack to
> the code.
>
> #banner {
> border:1px solid #000; background-color: #fff;
> background-image: url('images/mt2.jpg');
> background-repeat: no-repeat;
> height:75px;
> voice-family: "\"}\"";
> voice-family: inherit;
> height:74px; background-position-y:center
> }
>
> html>body #banner {
> height:74px;
> }
>
Where did you leave the ..? From your previous post, I understand your
file structure is like this:
mt/index.html
mt/scripts/css/???.css
mt/images/mt2.jpg
If I got that right, you need to go two levels back up from the CSS
file. So change
background-image: url('images/mt2.jpg');
to
background-image: url('../../images/mt2.jpg');
Does that help?
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/