asp.net - Center non text within a table -
i trying figure out way center "rating" within table, can figure out how align text , images can not figure out how align rating, since technically not text or image.
the code looks below
<td align="center" style="text-align: center; vertical-align: middle; background-color: #444444;" valign="top"> <cc2:dnnrating id="productreviewaverageoverallratingdnnrating" runat="server" readonly="true" value='<%# eval("productreviewaverageoverallratingdnnrating_value") %>' visible='<%# convert.toboolean(eval("productreviewaverageoverallratingdnnrating_visible")) %>'> </cc2:dnnrating>
... assume go somewhere within first line. can see text-align there , vertical-align etc... not work.
<td align="center" style="text-align: center; vertical-align: middle; background-color: #444444;" valign="top">
i need direction on or how can accomplished,
thank in advance part if inspect
td valign="top" align="center" style="text-align: center; vertical-align: middle; background-color: #444444;"><div id="dnn_ctr416_viewrevindexstorefrontproductshowcase_ctl00_productshowcasednnrotator_i2_productreviewaverageoverallratingdnnrating" class="radrating radrating_default" style="width: 104px; height: 24px;"><ul class="rrtitem"><li class="rrtselected"></li><li class="rrtselected"></li><li class="rrtselected"></li><li class="rrtselected"><a href="#" title="5"><span></span>
have tried style="margin:0px auto;"? can't tell rendered html control. thanks!
Comments
Post a Comment