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> 

demo

note: didn't made form fancy, smarty spoiling form here


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -