Firefox / IE textarea sizing quirk - workarounds?
问题 Try out this code in Chrome, Firefox and IE: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Textarea problem</title> <style type="text/css"> html, body { position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 0; padding: 0; margin: 0; } #container { position: absolute; top: 4px;bottom: 4px; right: 4px;left: 4px; background-color: grey; } #ta { position: absolute; bottom: 0; right: 0; top: 0; left: 0; /