Created
October 7, 2011 01:28
-
-
Save froop/1269220 to your computer and use it in GitHub Desktop.
[HTML] DOCTYPEにloose.dtd指定するとinputタグtype="text"だけwidthからはみ出す(IEもFirefoxも)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<div style="width:80px; background-color:gray; padding: 5px 0px"> | |
<input type="text" style="width:80px" value="横幅がはみだす"/><br/> | |
<input type="button" style="width:80px" value="こっちはOK"/><br/> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment