ok, i found this and it seems to work for resizing the bg
body {background-image: url(../images/tile_back.jpg);background-attachment: fixed;background-position: top center; background-repeat:no-repeat;margin: 0;}
ok, i found this and it seems to work for resizing the bg
body {background-image: url(../images/tile_back.jpg);background-attachment: fixed;background-position: top center; background-repeat:no-repeat;margin: 0;}
WIERD! I have no errors and that's what is currently in the style sheet.
Would someone look at my cart on their computer??? Maybe the errors will show up for you? www.houseofdiva.com/zencart
ETA: When I click on my CSS things to edit them, my Adobe Golive software comes up as the editor. Would that highlight or tell me when there is invalid code?
i looked at your site, it's beautiful.
you won't get any visible error code if your css has errors. you have to validate it with this website http://jigsaw.w3.org/css-validator/ to see the errors.
it is imporatant to validate, believe me.
you must remove the extra { } . your bg is fixed in your .css, but it isn't working because of the extra { } .
try putting background-position: top center; in there also and see if you like how it resizes the image. it worked for me.
the other thing i noticed is you have old stylesheets in your css directory. if you are not using them, you should remove them because zen cart is applying all .css in that folder. if you leave them in the folder, you will wonder why your changes don't seem to have the effect you were hoping for.
also, i validated your css to see what happened. there are about 7 errors, and they should be fixed for your sake.
this one "1.2empx" should be 1.2em - pixels and ems don't mix.
ooo thanks!
Okay so
1) input the OTHER code above, removing the {}
2) Remove old CSS
3) Put in the top center bit.
Doing now!
Okay so using that site you posted I get this
Target: http://www.houseofdiva.com/zencart
Please, validate your XML document first!
Line 28
Column 209
The element type "object" must be terminated by the matching end-tag "</object>".
What's an XML document? where is it??
ETA: I input your other suggestions and image is still stretched perfectly!!! Thank you!
Last edited by ladysaat; 27 May 2006 at 11:05 PM.
xml - Extensible Markup Language
i think what have happened is maybe you put your website addess instead of your .css.
here it is:
http://houseofdiva.com/zencart/inclu...stylesheet.css
aha! got it, and it says congratulations valid css etc. Groovy!
There are a million and one warnings though.. I don't understand a single one of them. Do I need to fix them????