Page 1 of 1

using a css in page layout?

Posted: Fri 27. Aug 2004, 04:09
by kac
This is a new install on a second installation of phpwcms. My client wanted to have a duplicate site in Spanish to mirror the English one. Everything is working great, all content is displaying fine, and no problems with the templates... But

In the page layout there is a space between the left and the right called the left space. I have it set to 30, with a css to display a small vertical line. In the first installation (an earlier version of phpwcms) it works great, but in the new version I can't get it to display on the website. I've copied the code and previewed the page and it shows up, I should say too that the preview didn't have images, or the main css's just the ones in the head of the page. So the css is working, but something is stopping it from showing up when everything is working together.

I've spent about 6 hours replacing and changing, and double checking things, does anyone have any ideas why the css/image won't display?

Thanks,

Posted: Fri 27. Aug 2004, 09:04
by Oliver Georgi
maybe installed in a different path.

Oliver

Posted: Fri 27. Aug 2004, 09:30
by kac
Hi,

I'm not sure I know what you mean, the css in different path? I've checked everything, and actually put the css in the head of the template. I've double checked that the image is in the image folder by taking the url in the css to the image and pasting it into a browser.

In the source of the pages it shows that the cell has the css assigned to it., and like I mentioned, when I do a preview of the source code it works. It's just like something is covering it up.

K

Posted: Fri 27. Aug 2004, 16:00
by pSouper
I think oliver means the background-image maybe be using the wrong path to get the 'vertcal line' image.

I think the frontent.css images are reletive to the frontent.css path.
eg. if your 'vertcal_line.gif' is in img/article then the path in frontend.css would be ../../img/article/verticle_line.gif