Most likely it is something that is easily overlooked - like a missing
semicolon or curly brace.
-Adrian
Info Olagos wrote:
Yes,
I agree with you. That is the reason that i can not understand it.
But anyway, if i put the files on the apache server, i don't have the
problem.
If i create the files via ftl on the tomcat, i have the problem and i copied
the same css file as on the apache and i see no difference in tags in the
source file of the html file.
I don't understand it at the moment....
regards,
Heidi
2010/1/19 Adrian Crum <[email protected]>
I agree with Scott. The web server doesn't care what the content is - it is
just sending out streams of characters. It doesn't know if it's sending
"auto" "margin" or any other set of characters.
-Adrian
Scott Gray wrote:
css files are interpreted by the browser, not by the server. The only way
you could have a different end result is if the css files or the generated
html is different.
Regards
Scott
On 19/01/2010, at 3:20 PM, Info Olagos wrote:
Hi Scott,
The css files are exactly the same. (copied them)
The html file is the same but generated via xml and ftl.
The css file with the ftl on the tomcat doesn't react on the "auto"
keyword
of the "margin 0px" tag.
Heidi
2010/1/19 Scott Gray <[email protected]>
Hi Heidi
I can think of no reason why you should see differences, all I can
suggest
is that you take a diff of the html source from each and compare them
for
differences. If they are the same then double check that the css files
are
also the same from each.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 19/01/2010, at 1:43 AM, Info Olagos wrote:
Hello,
I have a very strange problem.
I can only imagine that it is dependent on the FTL.
This is my page on the apache server. There is no problem. All things
are
beautiful centered.
http://www.olagos.eu/index_d.html
OK the links to the images are not ok at the moment. But you see that
here
it is loaded in the center, so that is perfect.
If i load the same files from the embedded tomcat, i have a problem. It
is
to say that the container is not put in the center but at the left. The
problem is in the word "auto" on the wrapper tag in the css file. This
word "auto" is not recognized if i generate the html file from within a
ftl
file.
Have a look at the result in :
http://www.olagos.eu/ecommerce/control/main
Anyone an idea on a bug on Freemarker language level. ???
regards,
Heidi