|
Posted by Arjen on 10/13/06 23:50
Ed Jay wrote:
> Arjen scribed:
> Is this supposed to be />
> or like this \>?
Hi Ed,
Hmm that's a difficult one !
I guess again no points for typing :-)
I dont think that's the problem. I just slimmed down the page to where
the errors began and made a typo.
It seems I cant put a form element into a div. This is a problem for me
since the divs are assigned in my framework and not specifically in
order of creation. That is sorted out later. So I have no good way of
nesting the forms as I dont know where and when they will turn up in
advance.
for example
$htlml->addhtml('x','y');
$htlml->addhtml('a','b');
$htlml->addhtml('z','y');
might output
<div id="a">
b
</div>
<div id="y">
x
z
</div>
any ideas ???
Arjen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>test</title>
</head>
<body>
<div id = "testx">
<form action="index.php" method="post">
<input type="text" name="field" id="field">
</form>
</div>
</body>
</html>
wont validate either
Navigation:
[Reply to this message]
|