- From: Chris Beall <Chris_Beall@prodigy.net>
- Date: Mon, 20 Feb 2006 17:20:05 -0500
- To: "Christophe Charron" <christophe.charron.xul@gmail.com>, <www-amaya@w3.org>
Christophe, Within the <style> element, the class names must start with a period, e.g. .block_item_1 .block_item_2 etc. See http://www.w3.org/TR/CSS21/selector.html#class-html You COULD use the long syntax: [class~=block_item_1] [class~=block_item_2] (see http://www.w3.org/TR/CSS21/selector.html#q10) but I don't know why you would want to do that. Chris Beall -----Original Message----- From: www-amaya-request@w3.org [mailto:www-amaya-request@w3.org]On Behalf Of Christophe Charron Sent: Monday, February 20, 2006 7:28 AM To: www-amaya@w3.org Subject: Re: Amaya 9.3 Dec 9 2005 Hi, just made the test now, with 9.4 amaya on wxp sp2. Seems to stay left !! Firefox 1.5.0.1 and IE 6.0.2900 show the same !! -- Best regards, Christophe Charron, Jarnioux, France,Europe 2006/2/18, jc < jcarlock1@hotmail.com>: I see a new 9.4 browser came out. I haven't tested the following with the 9.4 Amaya browser, just with Amaya 9.3 (run on Windows XP). I didn't see the it in the list of bugs. Perhaps it falls under the CSS bugginess listed. :-) Anyways, specifically this bug (I think it's a bug) involves getting Amaya to center block elements inside block elements by setting the margins of the internal block element to "auto". Amaya 9.3 fails to do so. <style type="text/css"> block_item_1 {width:500px;text-align:center;} block_item_2 {width:100px;margin:auto;} </style> </head> <body> <div class="block_item_1"><div class="block_item_2">This is a centering test.</div></div> </body></html> Let me know if that helps, if it's proper, and if you want any more bug reports. Your call. Jim Carlock -- Cordialement Christophe Charron
Received on Monday, 20 February 2006 22:29:27 UTC