html - Firefox not representing hr correctly -
i have code should represent output in format,
_____________________________ | | |____________________________| insert __________________________ poster date --------------post------------ comm. ________________ comm. ________________ ___________________________ poster date --------------post------------ comm. ________________ comm. ________________ now, code working in chrome , internet explorer. firefox not accepting code format.
_____________________________ | | |____________________________| insert __________________________ poster date ___________________________ --------------post------------ comm. ________________ comm. ________________ poster date --------------post------------ comm. ________________ comm. ________________ i on hours no result. fix? here fiddle. here in case there no hr tag showing in page, http://jsfiddle.net/ja8ts/
you need clear floating elements, add line
<div style="clear: both;"></div> after these lines
<input type="submit" name="submit" value="comment " class="button" style="font-size:1em;width:100px;float:right;margin-top:4px;"/> </div> </form> note: didn't made form fancy, smarty spoiling form here
Comments
Post a Comment