Makari
04-23-2007, 07:16 PM
Hello,
I'm new here and I've registered with one simple question. Well, not so simple really as I've been able to turn up exactly ZERO answers to my question so far via searching Google. Below is code for a minimal test case. Everything works as expected. However, try uncommenting the <option> and you will notice the error that I am attempting to correct. Also, this code is valid (well, once you uncomment the <option> at least as the <select> element must have a child element).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Minimal Test Case</title>
<style type="text/css" media="screen">
fieldset {border: 0 solid transparent;}
#formWrapper {border: 1px solid #000000; display: table-cell;}
#sideBarWrapper {border: 1px solid #000000; display: table-cell;}
</style>
</head>
<body>
<div id="formWrapper">
<form action="">
<fieldset>
<select><!--<option>A</option>--></select>
</fieldset>
</form>
</div>
<div id="sideBarWrapper">
<p>This content should be positioned to the right of the form.</p>
</div>
</body>
</html>
I'm new here and I've registered with one simple question. Well, not so simple really as I've been able to turn up exactly ZERO answers to my question so far via searching Google. Below is code for a minimal test case. Everything works as expected. However, try uncommenting the <option> and you will notice the error that I am attempting to correct. Also, this code is valid (well, once you uncomment the <option> at least as the <select> element must have a child element).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Minimal Test Case</title>
<style type="text/css" media="screen">
fieldset {border: 0 solid transparent;}
#formWrapper {border: 1px solid #000000; display: table-cell;}
#sideBarWrapper {border: 1px solid #000000; display: table-cell;}
</style>
</head>
<body>
<div id="formWrapper">
<form action="">
<fieldset>
<select><!--<option>A</option>--></select>
</fieldset>
</form>
</div>
<div id="sideBarWrapper">
<p>This content should be positioned to the right of the form.</p>
</div>
</body>
</html>