Re: Problem with CSS in HTML

2010-08-06 Thread PDiefent

I'm using the Wicket Framework with this HTML:

?xml version=1.0 encoding=UTF-8?
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd;
xml:lang=en lang=en
head
meta http-equiv=Content-Type 
content=text/html;charset=UTF-8/meta
meta http-equiv=cache-control content=no-cache,no-store/meta
meta http-equiv=pragma content=no-cache,no-store/meta
meta http-equiv=expires content=-1/meta
titleWicketTest/title
link rel=stylesheet type=text/css 
href=styles/tabStyles.css/link
/head

body
div wicket:id=tabs class=tabpanel [tab panel]/div
/body
/html

If I view the source code of the page displayed by the browser, it shows:

?xml version=1.0 encoding=UTF-8?
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd;
xml:lang=en lang=en
head
meta http-equiv=Content-Type 
content=text/html;charset=UTF-8/meta
meta http-equiv=cache-control content=no-cache,no-store/meta
meta http-equiv=pragma content=no-cache,no-store/meta
meta http-equiv=expires content=-1/meta
titleWicketTest/title
link rel=stylesheet type=text/css
href=../styles/tabStyles.css/link
/head

body
div wicket:id=tabs class=tabpanelwicket:panel
div wicket:id=tabs-container class=tab-row
...
-- 
View this message in context: 
http://old.nabble.com/Problem-with-CSS-in-HTML-tp29356352p29356426.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem with CSS in HTML

2010-08-06 Thread PDiefent

Well, it works fine for Tomcat 5 and Tomcat 6 but fails on Tomcat 7. There
are no changes to my application so I thought it would relate to Tomcat 7
changes.
I use Tomcat 7.0.0 with Java 6.

-- 
View this message in context: 
http://old.nabble.com/Problem-with-CSS-in-HTML-tp29356352p29356434.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Problem with CSS in HTML

2010-08-05 Thread PDiefent

Hello,
My first test of the new Tomcat 7.0.0 release endet with following problem:
In my HTML page I'm using a stylesheet:
link rel=stylesheet type=text/css href=styles/tabStyles.css/link
This works fine with Tomcat 5 and Tomcat 6!
Tomcat 7 changes the link when the page is shown in the browser:
link rel=stylesheet type=text/css
href=../styles/tabStyles.css/link

How can I avoid this?

Thanks, Peter
-- 
View this message in context: 
http://old.nabble.com/Problem-with-CSS-in-HTML-tp29356352p29356352.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org