D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] HTML/CSS problem



Hi,
Just thought I'd post this here to see if anyone can give some pointers.
I'm trying to use css to replace some tables in a form.

my css looks like

span.lt {
	position:absolute;
	padding-left:10px;
	}
	
span.cr {
	position:absolute;
	padding-left:200px;
	}

.row {
	padding-top:30px;
	}

The php is as follows:
<div class="row">
<form method="post" action="<?PHP print $PHP_SELF?>">
<input type="hidden" name="p" value="ped">
<input type="hidden" name="m" value="m1">
<span class="lt"><input type="text" name="dom"></span>
<span class="cr"><input type="submit" value="Load domain" name="load"></span>
</form>
</div>

For some reason, I can't enter (or even click in) the input text box.
If I take away the <span> surrounding the text box then everything works.

Can anyone shed some light on why this is happening ?

TIA
Jon Lawrence

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly