Hi dominique

did you look on the seaside book, because your apache configuration should serve the static page and the stylesheet is one.

Stef
On Wed, 01 Mar 2017 22:13:12 +0100, Dominique Dartois <d...@dartois.org> wrote:


Thank you Sven.

I have tried successfully the FileLibrary but I want to be able to modify the stylesheet without using Pharo which will be running on a remote server. Using static documents seemed >the solution to me.



On 28 Feb 2017, at 18:53, Dominique Dartois <d...@dartois.org> wrote:
In the Seaside book, chapter 17.2 I read I can include a stylesheet this way :
updateRoot: anHtmlRoot
    super updateRoot: anHtmlRoot.
    anHtmlRoot stylesheet url: 'http://seaside.st/styles/main.css'
On my development machine (macOS) I use http://localhost:8080/myApp as the server address and I don?t know the root directory of the Seaside integrated web server.
Can anyone help me to find this directory?

The easiest way is to use a Seaside FileLibrary subclass to serve your static CSS file. This is described in that same chapter 17.

Thanks.




---

Dominique Dartois



--
Using Opera's mail client: http://www.opera.com/mail/

Reply via email to