<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes I am sure I have cleaned up my navigator cache<br>
Here is my ccs method<br>
<br>
globalCss<br>
<br>
^'<br>
* {margin:0; padding: 0;}<br>
body {    background-color:red; color: black; font-family: arial
narrow; font-size: 11px; width:800px; behavior: url(',( self urlOf:
#csshoverHtc ),');}<br>
img { border:none; behavior: url(',( self urlOf: #csshoverHtc ),');}<br>
div#head { position: relative; height:50px; width:800px; 
text-align:right; padding-top:10px; }<br>
'<br>
<br>
the fact is that the content of the generated file is not the same, it
is like there is a problem of refreshment.<br>
Maybe my library class is corrupt...<br>
<br>
I think i will pass by an external link to a physical css file. Maybe
it will fix the problem.<br>
<br>
Thanks anyway.<br>
<br>
Sylvain<br>
<br>
<br>
<br>
Philippe Marschall a écrit :
<blockquote
 cite="mid:66666f210709071011u6ed48fceh414a4c822fff7474@mail.gmail.com"
 type="cite">
  <pre wrap="">2007/9/7, Sylvain Pralon <a class="moz-txt-link-rfc2396E" href="mailto:sylvain.pralon@gmail.com">&lt;sylvain.pralon@gmail.com&gt;</a>:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> Thanks for your answer but it still doesn't work.
 In fact I added the 2 Htc files into my library.
 I wrote this in my css method :

 mycss
 ^'
* {margin:0; padding: 0;}
body { background-color:#fff; ...; behavior: url(',( self urlOf:
#csshoverHtc ),');}
img { behavior: url(',( self urlOf: #pngHtc ),'); }
...'


after reloading my webpage, no change.
I tried to look what was generated in the css file and what a surprise when
I saw that
all the behavior comportement in my css method were removed from the file :

seaside/go/files/SUOSDocLibrary/mycss.css

in the file it is written :

body { background-color:#fff; color: black; font-family: arial narrow;
font-size: 11px; width:800px;}
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Can you post the method mycssCss of the class SUOSDocLibrary? Are you
sure you cleared the cache of your browser?

Cheers
Philippe

  </pre>
  <blockquote type="cite">
    <pre wrap="">Does seaside remove the behavior properties ?

I also tried to write the library on my disk with the deployFilesOn:
filename but apparently
I missed to load a parcel for seaside because some methods are not available
on SeasideSupportPlatform class

Another thing, you said that the last version of Seaside manage the htc
files. How ? I am working with the last version of seaside on the last
version of VisualWorks ?

 Thanks for your help

 Sylvain





 -----Mensaje original-----
De: <a class="moz-txt-link-abbreviated" href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a>
[<a class="moz-txt-link-freetext" href="mailto:seaside-bounces@lists.squeakfoundation.org">mailto:seaside-bounces@lists.squeakfoundation.org</a>] En
nombre
de Sylvain Pralon
Enviado el: Jueves, 06 de Septiembre de 2007 04:21
Para: Seaside - general discussion
Asunto: [Seaside] css and HTC files issue

Hi,

I currently trying to make my seaside application css
compatible for firefox and IE. I just want that IE render the
website as Firefox does.
Everybody knows that that IE is ok with w3c standards and
consequently that is an easy task... grrrr.

 LOL, developer's life is so "entretained" with IE. I can't imagine what
life
would be without it... Can you?



 I'am used to add a csshover.htc or a png.htc file in a
behavior propriety of my body in the css file.
The problem is that I am using a WAFileLibrary which includes
all mys css stylesheets and I don't know how to use this
behavior command Have I to add the htc files into my library
? How do I call them after in my CSS method ?
I tried to add an absolute URL (<a class="moz-txt-link-freetext" href="http:.../csshover.htc">http:.../csshover.htc</a>) but it
does not change anything at the end.


 go to WAFileLibrary class side and look at #addAllFilesIn:

addAllFilesIn: aPathString
 "adds all files in the directory specified by aPathString to the
current file library"
 (SeasidePlatformSupport filesIn: aPathString)
 do: [ :each | self addFileAt: each ]

 that's does it, so call your library to execute that method on your
path like:

 FooAppLibrary addAllFilesIn: 'c:\foo\bar'

 executing that line will make FooAppLibrary to have loaded the data
of the files in that path as methods. Care should be taken to versions, as
you may want keep your library fresh.

 If you change css or javascript in the plain text methods of the
image, then you may be interested in execute #deployFilesOn: aFolderName in
your modified library. See:

deployFilesOn: aFolderName
 "Write to disk the files that the receiver use to serve as methods.
 The files are stored in a subfolder named like the classname
 of the receiver in a subfolder named aFolderName."

 I've added a little patch to the config of my apps so I can make
that from a web interface regularily because I don't want comanche serving
static files. Anyway I've made an apache rewrite rule to go ask for it to
comanche in second place if it does not found where expected.

 hope that helps,

Sebastian



 here is my css :
globalCss

^'
* {margin:0; padding: 0;}
body { background-color:#fff; ...; behavior: url(',self
cssHoverHTC,');}
img { behavior: url(',self pngHTC,'); }
...
where methods returns a URL

Thanks

Sylvain
_______________________________________________
Seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>

 _______________________________________________
Seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>




_______________________________________________
Seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
Seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>

  </pre>
</blockquote>
<br>
</body>
</html>