Log in

View Full Version : When I add a form or fieldset/legend tags these are block elements and must be a spac



leonidassavvides
08-05-2008, 09:21 PM
When I add a form or fieldset/legend tags these are block elements and must be a space(line) above/below them ?

Nile
08-06-2008, 01:41 PM
Please specify what you want in a better way. And then give your code so we can take a look at it.

leonidassavvides
08-06-2008, 05:04 PM
I see a space after :


<form action="https://www.paphoscarhire.com/php/europrocessor-prices-mysql3.php" method="post" enctype="application/x-www-form-urlencoded" name="form1" target="_self" id="form1">
<fieldset>.......................</fieldset>
</form>
well this is normal ?

Nile
08-06-2008, 10:49 PM
The space is normal, you must give the fieldset a width.

leonidassavvides
08-07-2008, 04:54 AM
how do this ? may NOT do it and include a
...<fieldset><table width="500"> ..............</table></fieldset> ?

TheJoshMan
08-08-2008, 04:54 AM
I'm not sure if I fully understand what you are asking, but I think what Nile was trying to say is to do this:




<form action="https://www.paphoscarhire.com/php/europrocessor-prices-mysql3.php" method="post" enctype="application/x-www-form-urlencoded" name="form1" target="_self" id="form1">
<fieldset width="500px">.......................</fieldset>
</form>


Not This:


<fieldset><table width="500"> ..............</table></fieldset>

leonidassavvides
08-08-2008, 08:27 AM
<fieldset> what attributes include ?

TheJoshMan
08-08-2008, 04:21 PM
Sorry, my goof... The proper way would be using CSS. Like the two examples below:



<style type="text/css">
fieldset{
width:500px;
}
</style>


OR you could just markup your code like this:


<fieldset style="width:500px;">....</fieldset>