I haven't used it yet, but I am very fond of the Yahoo approach where
they reset all properties to none first, and from there on build up
the page: css reset
http://developer.yahoo.com/yui/
Martijn
On 8/17/06, wired [EMAIL PROTECTED] wrote:
Thank you all for replying.
I thought Gwyn's
yeah i have had this same problem too. html works fine from DW but when it is wrapped into a wicket component, it sorts of renders improperly. most times it may be an improper use of div and span combination that litters each component generated and you can use setStripWicketTags(true) from init
Thank you all for replying.
I thought Gwyn's reply was closest to the money - maybe the dtd was to blame
as there was a slight difference between the examples.
So I removed the data type definition from the wicket page. Alas, no
improvement.
In the end I went to a good layout resource
I use the following CSS code to center a page in a browser
wrap{
color:#404040;
width:970px;
margin:10px auto;
padding:0;
}
Using it a simple html page, the code works with Firefox 1.5.0.6, Internet
Explorer 6.0.2 and Opera 9.01
Now when I use the code in a wicket application the page renders
Different DTD's in your examples in the Wicket pages?
/Gwyn
On 16/08/06, wired [EMAIL PROTECTED] wrote:
I use the following CSS code to center a page in a browser
wrap{
color:#404040;
width:970px;
margin:10px auto;
padding:0;
}
Using it a simple html page, the code works with Firefox