hi everybody,
I have a little problem whith the center tag.
I want my gadget to be centered in the module, and I use the CSS file to do this. As that did not function, i tried to use a global div whith a .style.align='center'; as well in the CSS file than in the js file.......still don't work, my gadget is sticked on the left side....
My js and CSS syntax is correct, so so....it's here for the manifest (http://albidochon.free.fr/jeu1/gadget.xml)
i tried, and it works, but I think it's not the best.... :
.albidochon_gadgetfran1_jeu1 .Divglobal
{
position:relative;
top:0px;
left:18%;
height:250px;
width:250px;
font-family:Verdana, Arial, sans-serif;
font-size:10px;
font-color:#0033CC;
}
what did i miss
thank's for all
albidochon

center the gadget in the modules in the spaces live com
Caliendo
CSS uses "text-align" (or "style.textAlign", from javascript), not "align". You should be able to set that on your binding div (.Your_Gadget_Name) and have it work correctly. If necessary, you can wrap another div around your content and use that to set "text-align: center".