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 |
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 |
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 smime.p7s (3K) Download Attachment |
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 <[hidden email]> > 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 > > |
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 <[hidden email]> > >> 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 >> >> smime.p7s (3K) Download Attachment |
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 <[hidden email]> >> >>> 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 >>> > |
In reply to this post by Scott Gray-2
Scott is right. I'd be looking at the source code *in the browser*, not
what you copied. Save that resulting source code as an HTML file, then diff it. On Tue, 2010-01-19 at 15:32 -0700, 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 <[hidden email]> > > > >> 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 > >> > >> > -- Matt Warnock <[hidden email]> RidgeCrest Herbals, Inc. |
In reply to this post by Adrian Crum
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 <[hidden email]> > 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 <[hidden email]> >>> >>> 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 >>>>> >>>> >>>> >> |
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 <[hidden email]> > >> 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 <[hidden email]> >>>> >>>> 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 >>>>>> >>>>> > |
In reply to this post by Heidi Dehaes - Olagos
If the html is the same then the only thing I can suggest to is to make sure that the css file that you think is being used is actually the one that is being used. Inspect the page's source code and get the css file's url from it, download the css file from that url and ensure that it is actually the file you are expecting it to be.
Regards Scott On 19/01/2010, at 3:50 PM, 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 <[hidden email]> > >> 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 <[hidden email]> >>>> >>>> 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 >>>>>> >>>>> >>>>> >>> smime.p7s (3K) Download Attachment |
ok Adrian and Scott,
I will investigate it further the next days. Thanks for your ideas. It helps ! regards, Heidi 2010/1/19 Scott Gray <[hidden email]> > If the html is the same then the only thing I can suggest to is to make > sure that the css file that you think is being used is actually the one that > is being used. Inspect the page's source code and get the css file's url > from it, download the css file from that url and ensure that it is actually > the file you are expecting it to be. > > Regards > Scott > > On 19/01/2010, at 3:50 PM, 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 <[hidden email]> > > > >> 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 <[hidden email]> > >>>> > >>>> 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 > >>>>>> > >>>>> > >>>>> > >>> > > |
In reply to this post by Adrian Crum
Hi Heidi:
Here's something else you might try: 1) Edit ~images/style.css to add something that you will recognize. For example, change the #wrapper background to green; 2) Point your browser to http://www.olagos.eu/images/style.css and observe that the change is in place 3) Next, point your browser to http://localhost:80/images/style.css (or whatever port you are running on locally) and observe that the change is in place [It should be visible from both locations. If not, then that narrows down the problem] 4) Go to another system and another browser and try http://localhost:80/images/style.css [Again, the change should be visible in style.css using a browser to view the file. If not, then that narrows the problem down.] 5) Forget about trying to figure this out and center your wrapper this way: #wrapper { width:952px; margin:0px auto; <------ note the use of only 1 auto text-align:left; padding:15px; border:1px dashed #333; background-color: #BBB; } Hope that helps. Ruth ---------------------------------------------------- Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" [hidden email] Adrian Crum wrote: > 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 <[hidden email]> >>> >>>> 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 >>>> >> > |
oops..you don't need all that extra stuff for your #wrapper css...see below:
Ruth Hoffman wrote: > 5) Forget about trying to figure this out and center your wrapper this > way: > #wrapper { > width:952px; > margin:0px auto; <------ note the use of only 1 auto > text-align:left; > border: none; <--- also, I use none (for border-style vs. 0 for > width) > background-color: #BBB; > } > > Hope that helps. > Ruth > ---------------------------------------------------- > Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" > [hidden email] > > > Adrian Crum wrote: >> 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 <[hidden email]> >>>> >>>>> 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 >>>>> >>> >> > |
Thanks Ruth for all your help.
I know what to do the next evenings.... Regards, Heidi 2010/1/20 Ruth Hoffman <[hidden email]> > oops..you don't need all that extra stuff for your #wrapper css...see > below: > > Ruth Hoffman wrote: > >> 5) Forget about trying to figure this out and center your wrapper this >> way: >> #wrapper { >> width:952px; >> margin:0px auto; <------ note the use of only 1 auto >> text-align:left; border: none; <--- also, I use none (for >> border-style vs. 0 for width) >> >> background-color: #BBB; >> } >> >> Hope that helps. >> Ruth >> ---------------------------------------------------- >> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >> [hidden email] >> >> >> Adrian Crum wrote: >> >>> 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 <[hidden email]> >>>>> >>>>> 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 >>>>>>> >>>>>> >>>>>> >>>> >>> >> |
Don't forget this hack for IE as well, otherwise Ruth's solution will not work:
body { text-align: center; } #wrapper { text-align: left; width: 952px; margin: 0 auto; } Without centering you body text and then left aligning your wrapper text, your container will flush to the left on IE6. No logical reason for this, but its standard operating procedure for a fixed width layout. Ryan Foster HotWax Media 801.671.0769 [hidden email] On Jan 20, 2010, at 1:18 AM, Info Olagos wrote: > Thanks Ruth for all your help. > > I know what to do the next evenings.... > > Regards, > Heidi > 2010/1/20 Ruth Hoffman <[hidden email]> > >> oops..you don't need all that extra stuff for your #wrapper css...see >> below: >> >> Ruth Hoffman wrote: >> >>> 5) Forget about trying to figure this out and center your wrapper this >>> way: >>> #wrapper { >>> width:952px; >>> margin:0px auto; <------ note the use of only 1 auto >>> text-align:left; border: none; <--- also, I use none (for >>> border-style vs. 0 for width) >>> >>> background-color: #BBB; >>> } >>> >>> Hope that helps. >>> Ruth >>> ---------------------------------------------------- >>> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >>> [hidden email] >>> >>> >>> Adrian Crum wrote: >>> >>>> 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 <[hidden email]> >>>>>> >>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>> >>>> >>> |
Hi Ryan:
Thanks. Ruth Ryan Foster wrote: > Don't forget this hack for IE as well, otherwise Ruth's solution will not work: > > body { > text-align: center; > } > > #wrapper { > text-align: left; > width: 952px; > margin: 0 auto; > } > > Without centering you body text and then left aligning your wrapper text, your container will flush to the left on IE6. No logical reason for this, but its standard operating procedure for a fixed width layout. > > Ryan Foster > HotWax Media > 801.671.0769 > [hidden email] > > > > > On Jan 20, 2010, at 1:18 AM, Info Olagos wrote: > > >> Thanks Ruth for all your help. >> >> I know what to do the next evenings.... >> >> Regards, >> Heidi >> 2010/1/20 Ruth Hoffman <[hidden email]> >> >> >>> oops..you don't need all that extra stuff for your #wrapper css...see >>> below: >>> >>> Ruth Hoffman wrote: >>> >>> >>>> 5) Forget about trying to figure this out and center your wrapper this >>>> way: >>>> #wrapper { >>>> width:952px; >>>> margin:0px auto; <------ note the use of only 1 auto >>>> text-align:left; border: none; <--- also, I use none (for >>>> border-style vs. 0 for width) >>>> >>>> background-color: #BBB; >>>> } >>>> >>>> Hope that helps. >>>> Ruth >>>> ---------------------------------------------------- >>>> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >>>> [hidden email] >>>> >>>> >>>> Adrian Crum wrote: >>>> >>>> >>>>> 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 <[hidden email]> >>>>>>> >>>>>>> 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 >>>>>>>>> >>>>>>>>> >>>>>>>> > > > |
In reply to this post by Ryan Foster
Thanks Ryan,
Have found the problem with the wrapper tag ! After many many tests , i found the problem is that the comment lines <!-- ---> from ftl in the upper side of the source of the html file disturb the proper <!DOCTYPE ... line which must be the first line in my html file. Then the "auto" keyword of the css container tag does not work !!! See this link and its source html to understand that here the wrapper tag is automatically centered. http://www.olagos.eu/ecommerce/index2.jsp And it is not the case when i let insert ftl comment tags in the first line like here: http://www.olagos.eu/ecommerce/control/main Now i have to search how to delete these automatic comment lines in the ftl files which give the start of a certain ftl file and the end, as well the start of a certain xml file and the end in the html tags. regards, Heidi 2010/1/20 Ryan Foster <[hidden email]> > Don't forget this hack for IE as well, otherwise Ruth's solution will not > work: > > body { > text-align: center; > } > > #wrapper { > text-align: left; > width: 952px; > margin: 0 auto; > } > > Without centering you body text and then left aligning your wrapper text, > your container will flush to the left on IE6. No logical reason for this, > but its standard operating procedure for a fixed width layout. > > Ryan Foster > HotWax Media > 801.671.0769 > [hidden email] > > > > > On Jan 20, 2010, at 1:18 AM, Info Olagos wrote: > > > Thanks Ruth for all your help. > > > > I know what to do the next evenings.... > > > > Regards, > > Heidi > > 2010/1/20 Ruth Hoffman <[hidden email]> > > > >> oops..you don't need all that extra stuff for your #wrapper css...see > >> below: > >> > >> Ruth Hoffman wrote: > >> > >>> 5) Forget about trying to figure this out and center your wrapper this > >>> way: > >>> #wrapper { > >>> width:952px; > >>> margin:0px auto; <------ note the use of only 1 auto > >>> text-align:left; border: none; <--- also, I use none (for > >>> border-style vs. 0 for width) > >>> > >>> background-color: #BBB; > >>> } > >>> > >>> Hope that helps. > >>> Ruth > >>> ---------------------------------------------------- > >>> Find me on the web at http://www.myofbiz.com or Google keyword > "myofbiz" > >>> [hidden email] > >>> > >>> > >>> Adrian Crum wrote: > >>> > >>>> 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 <[hidden email]> > >>>>>> > >>>>>> 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 > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>> > >>>> > >>> > > |
There is a setting in widget.properties that controls that.
-Adrian Info Olagos wrote: > Thanks Ryan, > > Have found the problem with the wrapper tag ! > After many many tests , i found the problem is that the comment lines <!-- > ---> from ftl in the upper side of the source of the html file disturb the > proper <!DOCTYPE ... line which must be the first line in my html file. Then > the "auto" keyword of the css container tag does not work !!! > > See this link and its source html to understand that here the wrapper tag is > automatically centered. > http://www.olagos.eu/ecommerce/index2.jsp > And it is not the case when i let insert ftl comment tags in the first line > like here: > http://www.olagos.eu/ecommerce/control/main > > Now i have to search how to delete these automatic comment lines in the ftl > files which give the start of a certain ftl file and the end, as well the > start of a certain xml file and the end in the html tags. > > regards, > Heidi > > > > > 2010/1/20 Ryan Foster <[hidden email]> > >> Don't forget this hack for IE as well, otherwise Ruth's solution will not >> work: >> >> body { >> text-align: center; >> } >> >> #wrapper { >> text-align: left; >> width: 952px; >> margin: 0 auto; >> } >> >> Without centering you body text and then left aligning your wrapper text, >> your container will flush to the left on IE6. No logical reason for this, >> but its standard operating procedure for a fixed width layout. >> >> Ryan Foster >> HotWax Media >> 801.671.0769 >> [hidden email] >> >> >> >> >> On Jan 20, 2010, at 1:18 AM, Info Olagos wrote: >> >>> Thanks Ruth for all your help. >>> >>> I know what to do the next evenings.... >>> >>> Regards, >>> Heidi >>> 2010/1/20 Ruth Hoffman <[hidden email]> >>> >>>> oops..you don't need all that extra stuff for your #wrapper css...see >>>> below: >>>> >>>> Ruth Hoffman wrote: >>>> >>>>> 5) Forget about trying to figure this out and center your wrapper this >>>>> way: >>>>> #wrapper { >>>>> width:952px; >>>>> margin:0px auto; <------ note the use of only 1 auto >>>>> text-align:left; border: none; <--- also, I use none (for >>>>> border-style vs. 0 for width) >>>>> >>>>> background-color: #BBB; >>>>> } >>>>> >>>>> Hope that helps. >>>>> Ruth >>>>> ---------------------------------------------------- >>>>> Find me on the web at http://www.myofbiz.com or Google keyword >> "myofbiz" >>>>> [hidden email] >>>>> >>>>> >>>>> Adrian Crum wrote: >>>>> >>>>>> 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 <[hidden email]> >>>>>>>> >>>>>>>> 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 >>>>>>>>>> >>>>>>>>> >> > |
oh very good thanks !
Heidi 2010/1/20 Adrian Crum <[hidden email]> > There is a setting in widget.properties that controls that. > > -Adrian > > > > Info Olagos wrote: > >> Thanks Ryan, >> >> Have found the problem with the wrapper tag ! >> After many many tests , i found the problem is that the comment lines <!-- >> ---> from ftl in the upper side of the source of the html file disturb >> the >> proper <!DOCTYPE ... line which must be the first line in my html file. >> Then >> the "auto" keyword of the css container tag does not work !!! >> >> See this link and its source html to understand that here the wrapper tag >> is >> automatically centered. >> http://www.olagos.eu/ecommerce/index2.jsp >> And it is not the case when i let insert ftl comment tags in the first >> line >> like here: >> http://www.olagos.eu/ecommerce/control/main >> >> Now i have to search how to delete these automatic comment lines in the >> ftl >> files which give the start of a certain ftl file and the end, as well the >> start of a certain xml file and the end in the html tags. >> >> regards, >> Heidi >> >> >> >> >> 2010/1/20 Ryan Foster <[hidden email]> >> >> Don't forget this hack for IE as well, otherwise Ruth's solution will not >>> work: >>> >>> body { >>> text-align: center; >>> } >>> >>> #wrapper { >>> text-align: left; >>> width: 952px; >>> margin: 0 auto; >>> } >>> >>> Without centering you body text and then left aligning your wrapper text, >>> your container will flush to the left on IE6. No logical reason for >>> this, >>> but its standard operating procedure for a fixed width layout. >>> >>> Ryan Foster >>> HotWax Media >>> 801.671.0769 >>> [hidden email] >>> >>> >>> >>> >>> On Jan 20, 2010, at 1:18 AM, Info Olagos wrote: >>> >>> Thanks Ruth for all your help. >>>> >>>> I know what to do the next evenings.... >>>> >>>> Regards, >>>> Heidi >>>> 2010/1/20 Ruth Hoffman <[hidden email]> >>>> >>>> oops..you don't need all that extra stuff for your #wrapper css...see >>>>> below: >>>>> >>>>> Ruth Hoffman wrote: >>>>> >>>>> 5) Forget about trying to figure this out and center your wrapper this >>>>>> way: >>>>>> #wrapper { >>>>>> width:952px; >>>>>> margin:0px auto; <------ note the use of only 1 auto >>>>>> text-align:left; border: none; <--- also, I use none (for >>>>>> border-style vs. 0 for width) >>>>>> >>>>>> background-color: #BBB; >>>>>> } >>>>>> >>>>>> Hope that helps. >>>>>> Ruth >>>>>> ---------------------------------------------------- >>>>>> Find me on the web at http://www.myofbiz.com or Google keyword >>>>>> >>>>> "myofbiz" >>> >>>> [hidden email] >>>>>> >>>>>> >>>>>> Adrian Crum wrote: >>>>>> >>>>>> 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 <[hidden email]> >>>>>>>>> >>>>>>>>> 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 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>> >> |
Hi Heidi:
This turns off the comments: widget.verbose=false By default this is true. Ruth ---------------------------------------------------- Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" [hidden email] Info Olagos wrote: > oh very good thanks ! > Heidi > > 2010/1/20 Adrian Crum <[hidden email]> > > >> There is a setting in widget.properties that controls that. >> >> -Adrian >> >> >> >> Info Olagos wrote: >> >> >>> Thanks Ryan, >>> >>> Have found the problem with the wrapper tag ! >>> After many many tests , i found the problem is that the comment lines <!-- >>> ---> from ftl in the upper side of the source of the html file disturb >>> the >>> proper <!DOCTYPE ... line which must be the first line in my html file. >>> Then >>> the "auto" keyword of the css container tag does not work !!! >>> >>> See this link and its source html to understand that here the wrapper tag >>> is >>> automatically centered. >>> http://www.olagos.eu/ecommerce/index2.jsp >>> And it is not the case when i let insert ftl comment tags in the first >>> line >>> like here: >>> http://www.olagos.eu/ecommerce/control/main >>> >>> Now i have to search how to delete these automatic comment lines in the >>> ftl >>> files which give the start of a certain ftl file and the end, as well the >>> start of a certain xml file and the end in the html tags. >>> >>> regards, >>> Heidi >>> >>> >>> >>> >>> 2010/1/20 Ryan Foster <[hidden email]> >>> >>> Don't forget this hack for IE as well, otherwise Ruth's solution will not >>> >>>> work: >>>> >>>> body { >>>> text-align: center; >>>> } >>>> >>>> #wrapper { >>>> text-align: left; >>>> width: 952px; >>>> margin: 0 auto; >>>> } >>>> >>>> Without centering you body text and then left aligning your wrapper text, >>>> your container will flush to the left on IE6. No logical reason for >>>> this, >>>> but its standard operating procedure for a fixed width layout. >>>> >>>> Ryan Foster >>>> HotWax Media >>>> 801.671.0769 >>>> [hidden email] >>>> >>>> >>>> >>>> >>>> On Jan 20, 2010, at 1:18 AM, Info Olagos wrote: >>>> >>>> Thanks Ruth for all your help. >>>> >>>>> I know what to do the next evenings.... >>>>> >>>>> Regards, >>>>> Heidi >>>>> 2010/1/20 Ruth Hoffman <[hidden email]> >>>>> >>>>> oops..you don't need all that extra stuff for your #wrapper css...see >>>>> >>>>>> below: >>>>>> >>>>>> Ruth Hoffman wrote: >>>>>> >>>>>> 5) Forget about trying to figure this out and center your wrapper this >>>>>> >>>>>>> way: >>>>>>> #wrapper { >>>>>>> width:952px; >>>>>>> margin:0px auto; <------ note the use of only 1 auto >>>>>>> text-align:left; border: none; <--- also, I use none (for >>>>>>> border-style vs. 0 for width) >>>>>>> >>>>>>> background-color: #BBB; >>>>>>> } >>>>>>> >>>>>>> Hope that helps. >>>>>>> Ruth >>>>>>> ---------------------------------------------------- >>>>>>> Find me on the web at http://www.myofbiz.com or Google keyword >>>>>>> >>>>>>> >>>>>> "myofbiz" >>>>>> >>>>> [hidden email] >>>>> >>>>>>> Adrian Crum wrote: >>>>>>> >>>>>>> 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 <[hidden email]> >>>>>>>>>> >>>>>>>>>> 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 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> > > |
Free forum by Nabble | Edit this page |