|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Apache Tomcat and CSSHi everybody!
This might not have to do with Wicket directly but I experience some very strange behavior with wicket pages on tomcat. I do have a login page with a centered div container and two input fields for username and password. If I deploy my application on my local machine (win xp) into my tomcat everything look really nice on both firefox and ie8. BUT if I deploy the same .war archive into a linux server's tomcat my centered div is moved to the left of my browser window and my style definitions are somewhat messed up. This only aspects IE8, firefox displays everything very well. My third test machine (win server 2008) does everything well too (ff & ie8) so I guess it has something to do with tomcat running under linux. If I look at the page's sourcecode its exactly the same on all three environments. What makes me think that wicket has something to do with that is the fact that a plain html file does render correctly on all systems and all browsers. I validated my code using w3c's validator and it's says everything is fine except for the wicket:id tags which seems to be normal. Encoding is set to utf-8 so this shouldn't be a problem and doctype definitions are well too. This is a really strange problem which I can't seem to solve. Does anybody ever experienced somthing similar? Maybe any of you Wicket-Guru's ? :-) Any help is really apreciated! Thanks in advance Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Apache Tomcat and CSSMy guess is capitalization... (windows is case insensitive, and linux isn't)
Capitalization is the difference between "helping your uncle Jack off a horse" and "helping your uncle jack off a horse" Martijn On Wed, Nov 4, 2009 at 1:38 PM, Oliver-Sven Fritsch <osf@...> wrote: > Hi everybody! > > This might not have to do with Wicket directly but I experience some very > strange behavior with wicket pages on tomcat. > I do have a login page with a centered div container and two input fields > for username and password. If I deploy my application on my local machine > (win xp) into my tomcat everything look really nice on both firefox and ie8. > BUT if I deploy the same .war archive into a linux server's tomcat my > centered div is moved to the left of my browser window and my style > definitions are somewhat messed up. This only aspects IE8, firefox displays > everything very well. My third test machine (win server 2008) does > everything well too (ff & ie8) so I guess it has something to do with tomcat > running under linux. If I look at the page's sourcecode its exactly the same > on all three environments. > What makes me think that wicket has something to do with that is the fact > that a plain html file does render correctly on all systems and all > browsers. > > I validated my code using w3c's validator and it's says everything is fine > except for the wicket:id tags which seems to be normal. Encoding is set to > utf-8 so this shouldn't be a problem and doctype definitions are well too. > This is a really strange problem which I can't seem to solve. Does anybody > ever experienced somthing similar? Maybe any of you Wicket-Guru's ? :-) > > Any help is really apreciated! > > Thanks in advance > Oliver > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Apache Tomcat and CSSNote: check your CSS filenames and the links to those.
Martijn On Wed, Nov 4, 2009 at 1:42 PM, Martijn Dashorst <martijn.dashorst@...> wrote: > My guess is capitalization... (windows is case insensitive, and linux isn't) > > Capitalization is the difference between "helping your uncle Jack off > a horse" and "helping your uncle jack off a horse" > > Martijn > > On Wed, Nov 4, 2009 at 1:38 PM, Oliver-Sven Fritsch <osf@...> wrote: >> Hi everybody! >> >> This might not have to do with Wicket directly but I experience some very >> strange behavior with wicket pages on tomcat. >> I do have a login page with a centered div container and two input fields >> for username and password. If I deploy my application on my local machine >> (win xp) into my tomcat everything look really nice on both firefox and ie8. >> BUT if I deploy the same .war archive into a linux server's tomcat my >> centered div is moved to the left of my browser window and my style >> definitions are somewhat messed up. This only aspects IE8, firefox displays >> everything very well. My third test machine (win server 2008) does >> everything well too (ff & ie8) so I guess it has something to do with tomcat >> running under linux. If I look at the page's sourcecode its exactly the same >> on all three environments. >> What makes me think that wicket has something to do with that is the fact >> that a plain html file does render correctly on all systems and all >> browsers. >> >> I validated my code using w3c's validator and it's says everything is fine >> except for the wicket:id tags which seems to be normal. Encoding is set to >> utf-8 so this shouldn't be a problem and doctype definitions are well too. >> This is a really strange problem which I can't seem to solve. Does anybody >> ever experienced somthing similar? Maybe any of you Wicket-Guru's ? :-) >> >> Any help is really apreciated! >> >> Thanks in advance >> Oliver >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > Apache Wicket 1.4 increases type safety for web applications > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Apache Tomcat and CSSThanks for your quick reply!
I finally found out that IE's quicksmode was responsible for that strange behavior. For those who don't know as I did. IE switches into quicksmode if a strict doctype definition is preceded by an xml prolog which results in a non-standard css layout. Further information can be found at wikipedia or quicksmode.org Regards Oliver Martijn Dashorst: > Note: check your CSS filenames and the links to those. > > Martijn > > On Wed, Nov 4, 2009 at 1:42 PM, Martijn Dashorst > <martijn.dashorst@...> wrote: > >> My guess is capitalization... (windows is case insensitive, and linux isn't) >> >> Capitalization is the difference between "helping your uncle Jack off >> a horse" and "helping your uncle jack off a horse" >> >> Martijn >> >> On Wed, Nov 4, 2009 at 1:38 PM, Oliver-Sven Fritsch <osf@...> wrote: >> >>> Hi everybody! >>> >>> This might not have to do with Wicket directly but I experience some very >>> strange behavior with wicket pages on tomcat. >>> I do have a login page with a centered div container and two input fields >>> for username and password. If I deploy my application on my local machine >>> (win xp) into my tomcat everything look really nice on both firefox and ie8. >>> BUT if I deploy the same .war archive into a linux server's tomcat my >>> centered div is moved to the left of my browser window and my style >>> definitions are somewhat messed up. This only aspects IE8, firefox displays >>> everything very well. My third test machine (win server 2008) does >>> everything well too (ff & ie8) so I guess it has something to do with tomcat >>> running under linux. If I look at the page's sourcecode its exactly the same >>> on all three environments. >>> What makes me think that wicket has something to do with that is the fact >>> that a plain html file does render correctly on all systems and all >>> browsers. >>> >>> I validated my code using w3c's validator and it's says everything is fine >>> except for the wicket:id tags which seems to be normal. Encoding is set to >>> utf-8 so this shouldn't be a problem and doctype definitions are well too. >>> This is a really strange problem which I can't seem to solve. Does anybody >>> ever experienced somthing similar? Maybe any of you Wicket-Guru's ? :-) >>> >>> Any help is really apreciated! >>> >>> Thanks in advance >>> Oliver >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@... >>> For additional commands, e-mail: users-help@... >>> >>> >>> >> >> -- >> Become a Wicket expert, learn from the best: http://wicketinaction.com >> Apache Wicket 1.4 increases type safety for web applications >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Apache Tomcat and CSSTo prevent IE from doing so you can add <meta
http-equiv="X-UA-Compatible" content="IE=8"/> into your html's head. Oliver-Sven Fritsch: > Thanks for your quick reply! > > I finally found out that IE's quicksmode was responsible for that > strange behavior. > > For those who don't know as I did. > > IE switches into quicksmode if a strict doctype definition is preceded > by an xml prolog which results in a non-standard css layout. > Further information can be found at wikipedia or quicksmode.org > > Regards > Oliver > > Martijn Dashorst: >> Note: check your CSS filenames and the links to those. >> >> Martijn >> >> On Wed, Nov 4, 2009 at 1:42 PM, Martijn Dashorst >> <martijn.dashorst@...> wrote: >> >>> My guess is capitalization... (windows is case insensitive, and >>> linux isn't) >>> >>> Capitalization is the difference between "helping your uncle Jack off >>> a horse" and "helping your uncle jack off a horse" >>> >>> Martijn >>> >>> On Wed, Nov 4, 2009 at 1:38 PM, Oliver-Sven Fritsch >>> <osf@...> wrote: >>> >>>> Hi everybody! >>>> >>>> This might not have to do with Wicket directly but I experience >>>> some very >>>> strange behavior with wicket pages on tomcat. >>>> I do have a login page with a centered div container and two input >>>> fields >>>> for username and password. If I deploy my application on my local >>>> machine >>>> (win xp) into my tomcat everything look really nice on both firefox >>>> and ie8. >>>> BUT if I deploy the same .war archive into a linux server's tomcat my >>>> centered div is moved to the left of my browser window and my style >>>> definitions are somewhat messed up. This only aspects IE8, firefox >>>> displays >>>> everything very well. My third test machine (win server 2008) does >>>> everything well too (ff & ie8) so I guess it has something to do >>>> with tomcat >>>> running under linux. If I look at the page's sourcecode its exactly >>>> the same >>>> on all three environments. >>>> What makes me think that wicket has something to do with that is >>>> the fact >>>> that a plain html file does render correctly on all systems and all >>>> browsers. >>>> >>>> I validated my code using w3c's validator and it's says everything >>>> is fine >>>> except for the wicket:id tags which seems to be normal. Encoding is >>>> set to >>>> utf-8 so this shouldn't be a problem and doctype definitions are >>>> well too. >>>> This is a really strange problem which I can't seem to solve. Does >>>> anybody >>>> ever experienced somthing similar? Maybe any of you Wicket-Guru's ? >>>> :-) >>>> >>>> Any help is really apreciated! >>>> >>>> Thanks in advance >>>> Oliver >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@... >>>> For additional commands, e-mail: users-help@... >>>> >>>> >>>> >>> >>> -- >>> Become a Wicket expert, learn from the best: http://wicketinaction.com >>> Apache Wicket 1.4 increases type safety for web applications >>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 >>> >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |