asp.net - Text - empty text node Problems -
asp.net - Text - empty text node Problems -
i have asp.net buttons rendered on browser in different lines. assume text- empty text node because of that. since buttons displayed in different lines, on browsers noticed little space. how can clear this? dont have css adds space.
if remove line spacing in editor. dont see space, can't because of formatting code.
<asp:button runat="server" id="btnbutton1" text = "button1"/> <asp:button runat="server" id="btnbutton1" text = "button1"/>
if want buttons positioned next each other, no space in between them, can consider using css float
rule:
<div style="overflow: auto"> <asp:button runat="server" style="float: left" ... /> <asp:button runat="server" style="float: left" ... /> </div>
the <div>
element contain both buttons, , elements after on new line. buttons within <div>
move far left possible, , no space exist between them.
demo (not asp.net, works well): http://jsfiddle.net/vdwcn/1/
asp.net html css browser
Comments
Post a Comment