Ramsey
On Jul 14, 2009, at 8:28 AM, Rukmal Dias wrote:
hi, yes, thanks. that should be background: url("test.jpg") repeat-x; it work fine now.. thanks Rukmal On 14 Jul 2009, at 17:48, Ramsey Lee Gurley wrote:Oops, just noticed... you are using background-repeat in background- image. The browser will drop that line as a result. Use justbackground: url("test.jpg") repeat-x; Ramsey On Jul 14, 2009, at 8:15 AM, Rukmal Dias wrote:hi, .bg{ background-image: url("test.jpg") repeat-x; height: 130px; font-size = 30pt; }yes style sheet and the image is in the same folder, i.e WebServerResources Other options works fine such as font-size etc, and only the image is missing..thanks Rukmal On 14 Jul 2009, at 17:30, Ramsey Lee Gurley wrote:On Jul 14, 2009, at 6:12 AM, Rukmal Dias wrote:hi,I need to use css with images (e.g: background-image: "../ image.gif";) I used ERXStyleSheet and checked, but images are not applied as back-grounds etc.<webobject name ="SSCSS"></webobject> SSCSS : ERXStyleSheet{ filename = "viewport_dragresize.css"; framework = "whatever"; } .bg{background-image: url("test.jpg") repeat-x; // (/ WebServerResources/test.jpg )height: 130px; } Can anyone tell me how to use these correctly.. Thanks Rukmal DiasIs the stylesheet at WebServerResources/ viewport_dragresize.css ? If not, you should be doing something a little different in yourbackground-image: url("test.jpg") repeat-x; // (/ WebServerResources/test.jpg )For instance, if your stylesheet is in WebServerResources/ stylesheets/viewport_dragresize.css, then you will need to usebackground-image: url("../test.jpg") repeat-x;also... is that //comment really there? CSS will throw that line away if it is. It has to be in /*comment*/ format for css unless I am mistaken.Ramsey
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
