473,416 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Form testing. Please, need advice.

Hello,

I am creating a form that includes a few JQuery scripts and TinyMCE
Editor:
http://www.27lamps.com/Beta/Form/Form.html

I am having a few problems with my CSS:

1. Restyling the Select

(a) When using IE the Drop Down List is on the right instead of on
the bottom;
(b) The current item in the list should have a different
background color;

(Please check the select on the bottom of the page to check these
2 items working fine.
In this case I used a different class)

2. Error messages

Please, submit the form. After the Name input you will get a error
message.
How can I make this message to not expand and still have the
padding?
And also having the text aligned left.

One problem I am having with my form is every time I use a list inside
my form somethings get "broken".
This is because the form is using a list.

What should be the best way to counteract the styles of the form list
into a child list?

Any suggestion to improve my form CSS would be great.

Thanks,
Miguel
Jul 25 '08 #1
6 2168
shapper wrote:
Hello,

I am creating a form that includes a few JQuery scripts and TinyMCE
Editor:
http://www.27lamps.com/Beta/Form/Form.html
Page stalls and never is displayed
I am having a few problems with my CSS:

1. Restyling the Select

(a) When using IE the Drop Down List is on the right instead of on
the bottom;
(b) The current item in the list should have a different
background color;

Okay, I am use I have read that you have been told more than once in
other NG, form controls have very limited and uneven CSS styling
support. Some browsers, (i.e., IE use OS library of widgets) have little
styling at all. IE will not let you style the SELECT element. Opera
won't let you style SUBMIT buttons. And other differences apply. Design
recommendations, don't fool with form controls...efforts are doom to fail.
>
(Please check the select on the bottom of the page to check these
2 items working fine.
In this case I used a different class)
Ah, finally your page loaded...hmmm. You've have some CSS errors,
property-value pairs are delimited with ';' semi-colons you are missing
some.
2. Error messages

Please, submit the form. After the Name input you will get a error
message.
How can I make this message to not expand and still have the
padding?
And also having the text aligned left.
form.Base fieldset ol li label.Error {

background-color: #FFAAAA;

color: #FFFFFF;

float: none;

font: normal 0.7em/2.5 Verdana, Geneva, sans-serif;

margin: 0;

padding: 0.2em;

width: auto;

}
LABEL is not a block element, width doesn't apply, now if you set it to
display block and give it a width, test-align: left....
>
One problem I am having with my form is every time I use a list inside
my form somethings get "broken".
This is because the form is using a list.
http://validator.w3.org/check?verbos...rm%2FForm.html
[Invalid] Markup Validation of
http://www.27lamps.com/Beta/Form/Form.html - W3C Markup Validator

you got an error in there thats messing things up. HINT, bitten by the
must-use-xhtml bug.
>
What should be the best way to counteract the styles of the form list
into a child list?
Use a selector to apply to that condition.
>
Any suggestion to improve my form CSS would be great.
Not been too receptive in the past, not inclined to bother now.
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jul 25 '08 #2
On Jul 25, 4:39*am, "Jonathan N. Little" <lws4...@central.netwrote:
shapper wrote:
Hello,
I am creating a form that includes a few JQuery scripts and TinyMCE
Editor:
http://www.27lamps.com/Beta/Form/Form.html

Page stalls and never is displayed
I am having a few problems with my CSS:
1. Restyling the Select
* * (a) When using IE the Drop Down List is on the right instead ofon
the bottom;
* * (b) The current item in the list should have a different
background color;

Okay, I am use I have read that you have been told more than once in
other NG, form controls have very limited and uneven CSS styling
support. Some browsers, (i.e., IE use OS library of widgets) have little
styling at all. IE will not let you style the SELECT element. Opera
won't let you style SUBMIT buttons. And other differences apply. Design
recommendations, don't fool with form controls...efforts are doom to fail..
* * (Please check the select on the bottom of the page to check these
2 items working fine.
* * *In this case I used a different class)

Ah, finally your page loaded...hmmm. You've have some CSS errors,
property-value pairs are delimited with ';' semi-colons you are missing
some.
2. Error messages
* * Please, submit the form. After the Name input you will get a error
message.
* * How can I make this message to not expand and still have the
padding?
* * And also having the text aligned left.

* form.Base fieldset ol li label.Error {

* * * * * *background-color: #FFAAAA;

* * * * * *color: #FFFFFF;

* * * * * *float: none;

* * * * * *font: normal 0.7em/2.5 Verdana, Geneva, sans-serif;

* * * * * *margin: 0;

* * * * * *padding: 0.2em;

* * * * * *width: auto;

* * * * *}
LABEL is not a block element, width doesn't apply, now if you set it to
display block and give it a width, test-align: left....
One problem I am having with my form is every time I use a list inside
my form somethings get "broken".
This is because the form is using a list.

http://validator.w3.org/check?verbos...%2Fwww.27lamps.....
[Invalid] Markup Validation ofhttp://www.27lamps.com/Beta/Form/Form.html-W3C Markup Validator

you got an error in there thats messing things up. HINT, bitten by the
must-use-xhtml bug.
What should be the best way to counteract the styles of the form list
into a child list?

Use a selector to apply to that condition.
Any suggestion to improve my form CSS would be great.

Not been too receptive in the past, not inclined to bother now.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Hi Jonathan,

My server problems are solved and I uploaded a new version of the
form:
http://www.27lamps.com/Beta/Form/FormBeta.html

I value all suggestions given to me in this newsgroup ... but I can
decide if I follow or not the suggestions, right? It does not mean
that I do not consider them ...

In this case, the form is for a CMS of my personal web site.
In this web site is where I try many features, even if I am not sure
if I will use them: CSS, Ajax, etc ...

However, for other projects my approach is a little bit different and
I tend to me more conservative.

Now about my form:

1. If you submit the form without filling the first field you will see
the error.
I had tried before the suggestions you made ... but it do not work
as you can see.
The only way to make this work is to add "clear: both" to the List
Item. I commented that in my CSS. Do I need this? Am I doing something
wrong?

2. I found a bug in IE7 concerning the fieldset background ... a IE
bug ... what's new? The usual ...
Anyway, you can see that the background gets outside the fieldset
border on the top extending to the top of the legen ... any idea how
to solve this?

Finally, any suggestions are welcome to improve my form.
Many of the approaches I used in this form came from tips coming from
this newsgroups ... mainly in Typography.

Thank You,
Miguel
Jul 26 '08 #3
On Jul 26, 7:34*pm, shapper <mdmo...@gmail.comwrote:
On Jul 25, 4:39*am, "Jonathan N. Little" <lws4...@central.netwrote:
shapper wrote:
Hello,
I am creating a form that includes a few JQuery scripts and TinyMCE
Editor:
>http://www.27lamps.com/Beta/Form/Form.html
Page stalls and never is displayed
I am having a few problems with my CSS:
1. Restyling the Select
* * (a) When using IE the Drop Down List is on the right instead of on
the bottom;
* * (b) The current item in the list should have a different
background color;
Okay, I am use I have read that you have been told more than once in
other NG, form controls have very limited and uneven CSS styling
support. Some browsers, (i.e., IE use OS library of widgets) have little
styling at all. IE will not let you style the SELECT element. Opera
won't let you style SUBMIT buttons. And other differences apply. Design
recommendations, don't fool with form controls...efforts are doom to fail.
* * (Please check the select on the bottom of the page to check these
2 items working fine.
* * *In this case I used a different class)
Ah, finally your page loaded...hmmm. You've have some CSS errors,
property-value pairs are delimited with ';' semi-colons you are missing
some.
2. Error messages
* * Please, submit the form. After the Name input you will get a error
message.
* * How can I make this message to not expand and still have the
padding?
* * And also having the text aligned left.
* form.Base fieldset ol li label.Error {
* * * * * *background-color: #FFAAAA;
* * * * * *color: #FFFFFF;
* * * * * *float: none;
* * * * * *font: normal 0.7em/2.5 Verdana, Geneva, sans-serif;
* * * * * *margin: 0;
* * * * * *padding: 0.2em;
* * * * * *width: auto;
* * * * *}
LABEL is not a block element, width doesn't apply, now if you set it to
display block and give it a width, test-align: left....
One problem I am having with my form is every time I use a list inside
my form somethings get "broken".
This is because the form is using a list.
http://validator.w3.org/check?verbos...%2Fwww.27lamps.....
[Invalid] Markup Validation ofhttp://www.27lamps.com/Beta/Form/Form.html-W3C Markup Validator
you got an error in there thats messing things up. HINT, bitten by the
must-use-xhtml bug.
What should be the best way to counteract the styles of the form list
into a child list?
Use a selector to apply to that condition.
Any suggestion to improve my form CSS would be great.
Not been too receptive in the past, not inclined to bother now.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com

Hi Jonathan,

My server problems are solved and I uploaded a new version of the
form:http://www.27lamps.com/Beta/Form/FormBeta.html

I value all suggestions given to me in this newsgroup ... but I can
decide if I follow or not the suggestions, right? It does not mean
that I do not consider them ...

In this case, the form is for a CMS of my personal web site.
In this web site is where I try many features, even if I am not sure
if I will use them: CSS, Ajax, etc ...

However, for other projects my approach is a little bit different and
I tend to me more conservative.

Now about my form:

1. If you submit the form without filling the first field you will see
the error.
* * I had tried before the suggestions you made ... but it do not work
as you can see.
* * The only way to make this work is to add "clear: both" to the List
Item. I commented that in my CSS. Do I need this? Am I doing something
wrong?

2. I found a bug in IE7 concerning the fieldset background ... a IE
bug ... what's new? The usual ...
* * Anyway, you can see that the background gets outside the fieldset
border on the top extending to the top of the legen ... any idea how
to solve this?

Finally, any suggestions are welcome to improve my form.
Many of the approaches I used in this form came from tips coming from
this newsgroups ... mainly in Typography.

Thank You,
Miguel
One more issue. I added a header before my form. Everything seems
fine.
But see what happens to the last two fieldset legends. They are
aligned to the left even if they have margin.

I was able to detect what is making this. It is the Float: Left in:

h1 {
background-color: #252525;
color: #D2D2D2;
font: normal 1.2em Verdana, Geneva, sans-serif;
float: left;
letter-spacing: 0.1em;
margin: 0.3em 0em 0.5em 0em;
padding: 0.4em 0.6em 0.5em 0.6em;
}

But I added a p tag with cleat both after it. Shouldn't this work?
Well, in fact it works in IE7, Opera and Safari.
The only browser where this happens is in Firefox.

Any idea of how to solve this?

Thanks,
Miguel

Jul 27 '08 #4
shapper wrote:
On Jul 26, 7:34 pm, shapper <mdmo...@gmail.comwrote:
>On Jul 25, 4:39 am, "Jonathan N. Little" <lws4...@central.netwrote:
>>shapper wrote:
Hello,
I am creating a form that includes a few JQuery scripts and TinyMCE
Editor:
http://www.27lamps.com/Beta/Form/Form.html
Page stalls and never is displayed
I am having a few problems with my CSS:
1. Restyling the Select
(a) When using IE the Drop Down List is on the right instead of on
the bottom;
(b) The current item in the list should have a different
background color;
Okay, I am use I have read that you have been told more than once in
other NG, form controls have very limited and uneven CSS styling
support. Some browsers, (i.e., IE use OS library of widgets) have little
styling at all. IE will not let you style the SELECT element. Opera
won't let you style SUBMIT buttons. And other differences apply. Design
recommendations, don't fool with form controls...efforts are doom to fail.
(Please check the select on the bottom of the page to check these
2 items working fine.
In this case I used a different class)
Ah, finally your page loaded...hmmm. You've have some CSS errors,
property-value pairs are delimited with ';' semi-colons you are missing
some.
2. Error messages
Please, submit the form. After the Name input you will get a error
message.
How can I make this message to not expand and still have the
padding?
And also having the text aligned left.
form.Base fieldset ol li label.Error {
background-color: #FFAAAA;
color: #FFFFFF;
float: none;
font: normal 0.7em/2.5 Verdana, Geneva, sans-serif;
margin: 0;
padding: 0.2em;
width: auto;
}
LABEL is not a block element, width doesn't apply, now if you set it to
display block and give it a width, test-align: left....
One problem I am having with my form is every time I use a list inside
my form somethings get "broken".
This is because the form is using a list.
http://validator.w3.org/check?verbos...%2Fwww.27lamps....
[Invalid] Markup Validation ofhttp://www.27lamps.com/Beta/Form/Form.html-W3C Markup Validator
you got an error in there thats messing things up. HINT, bitten by the
must-use-xhtml bug.
What should be the best way to counteract the styles of the form list
into a child list?
Use a selector to apply to that condition.
Any suggestion to improve my form CSS would be great.
Not been too receptive in the past, not inclined to bother now.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Hi Jonathan,

My server problems are solved and I uploaded a new version of the
form:http://www.27lamps.com/Beta/Form/FormBeta.html

I value all suggestions given to me in this newsgroup ... but I can
decide if I follow or not the suggestions, right? It does not mean
that I do not consider them ...

In this case, the form is for a CMS of my personal web site.
In this web site is where I try many features, even if I am not sure
if I will use them: CSS, Ajax, etc ...

However, for other projects my approach is a little bit different and
I tend to me more conservative.

Now about my form:

1. If you submit the form without filling the first field you will see
the error.
I had tried before the suggestions you made ... but it do not work
as you can see.
The only way to make this work is to add "clear: both" to the List
Item. I commented that in my CSS. Do I need this? Am I doing something
wrong?

2. I found a bug in IE7 concerning the fieldset background ... a IE
bug ... what's new? The usual ...
Anyway, you can see that the background gets outside the fieldset
border on the top extending to the top of the legen ... any idea how
to solve this?

Finally, any suggestions are welcome to improve my form.
Many of the approaches I used in this form came from tips coming from
this newsgroups ... mainly in Typography.

Thank You,
Miguel

One more issue. I added a header before my form. Everything seems
fine.
But see what happens to the last two fieldset legends. They are
aligned to the left even if they have margin.

I was able to detect what is making this. It is the Float: Left in:

h1 {
background-color: #252525;
color: #D2D2D2;
font: normal 1.2em Verdana, Geneva, sans-serif;
float: left;
letter-spacing: 0.1em;
margin: 0.3em 0em 0.5em 0em;
padding: 0.4em 0.6em 0.5em 0.6em;
}

But I added a p tag with cleat both after it. Shouldn't this work?
Well, in fact it works in IE7, Opera and Safari.
The only browser where this happens is in Firefox.

Any idea of how to solve this?

Yeah, dump the floats and the list and use a table. Let's face it a data
entry form can be argued as tabular, i.e, name-value pairs. A column for
the names, and a column for the values

<fieldset>
<legend>Perfil</legend>
<table>
<tr>
<th>label for="Name" class="Required">Nome</label></th>
<td>input type="text" name="Name" id="Name" value="" /></td>
</tr>
...

Style accordingly...
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jul 27 '08 #5
On Jul 27, 2:32*am, "Jonathan N. Little" <lws4...@central.netwrote:
shapper wrote:
On Jul 26, 7:34 pm, shapper <mdmo...@gmail.comwrote:
On Jul 25, 4:39 am, "Jonathan N. Little" <lws4...@central.netwrote:
>shapper wrote:
Hello,
I am creating a form that includes a few JQuery scripts and TinyMCE
Editor:
http://www.27lamps.com/Beta/Form/Form.html
Page stalls and never is displayed
I am having a few problems with my CSS:
1. Restyling the Select
* * (a) When using IE the Drop Down List is on the right insteadof on
the bottom;
* * (b) The current item in the list should have a different
background color;
Okay, I am use I have read that you have been told more than once in
other NG, form controls have very limited and uneven CSS styling
support. Some browsers, (i.e., IE use OS library of widgets) have little
styling at all. IE will not let you style the SELECT element. Opera
won't let you style SUBMIT buttons. And other differences apply. Design
recommendations, don't fool with form controls...efforts are doom to fail.
* * (Please check the select on the bottom of the page to check these
2 items working fine.
* * *In this case I used a different class)
Ah, finally your page loaded...hmmm. You've have some CSS errors,
property-value pairs are delimited with ';' semi-colons you are missing
some.
2. Error messages
* * Please, submit the form. After the Name input you will get aerror
message.
* * How can I make this message to not expand and still have the
padding?
* * And also having the text aligned left.
* form.Base fieldset ol li label.Error {
* * * * * *background-color: #FFAAAA;
* * * * * *color: #FFFFFF;
* * * * * *float: none;
* * * * * *font: normal 0.7em/2.5 Verdana, Geneva, sans-serif;
* * * * * *margin: 0;
* * * * * *padding: 0.2em;
* * * * * *width: auto;
* * * * *}
LABEL is not a block element, width doesn't apply, now if you set it to
display block and give it a width, test-align: left....
One problem I am having with my form is every time I use a list inside
my form somethings get "broken".
This is because the form is using a list.
http://validator.w3.org/check?verbos...%2Fwww.27lamps....
[Invalid] Markup Validation ofhttp://www.27lamps.com/Beta/Form/Form.html-W3CMarkup Validator
you got an error in there thats messing things up. HINT, bitten by the
must-use-xhtml bug.
What should be the best way to counteract the styles of the form list
into a child list?
Use a selector to apply to that condition.
Any suggestion to improve my form CSS would be great.
Not been too receptive in the past, not inclined to bother now.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Hi Jonathan,
My server problems are solved and I uploaded a new version of the
form:http://www.27lamps.com/Beta/Form/FormBeta.html
I value all suggestions given to me in this newsgroup ... but I can
decide if I follow or not the suggestions, right? It does not mean
that I do not consider them ...
In this case, the form is for a CMS of my personal web site.
In this web site is where I try many features, even if I am not sure
if I will use them: CSS, Ajax, etc ...
However, for other projects my approach is a little bit different and
I tend to me more conservative.
Now about my form:
1. If you submit the form without filling the first field you will see
the error.
* * I had tried before the suggestions you made ... but it do not work
as you can see.
* * The only way to make this work is to add "clear: both" to the List
Item. I commented that in my CSS. Do I need this? Am I doing something
wrong?
2. I found a bug in IE7 concerning the fieldset background ... a IE
bug ... what's new? The usual ...
* * Anyway, you can see that the background gets outside the fieldset
border on the top extending to the top of the legen ... any idea how
to solve this?
Finally, any suggestions are welcome to improve my form.
Many of the approaches I used in this form came from tips coming from
this newsgroups ... mainly in Typography.
Thank You,
Miguel
One more issue. I added a header before my form. Everything seems
fine.
But see what happens to the last two fieldset legends. They are
aligned to the left even if they have margin.
I was able to detect what is making this. It is the Float: Left in:
h1 {
* background-color: #252525;
* color: #D2D2D2;
* font: normal 1.2em Verdana, Geneva, sans-serif;
* float: left;
* letter-spacing: 0.1em;
* margin: 0.3em 0em 0.5em 0em;
* padding: 0.4em 0.6em 0.5em 0.6em;
}
But I added a p tag with cleat both after it. Shouldn't this work?
Well, in fact it works in IE7, Opera and Safari.
The only browser where this happens is in Firefox.
Any idea of how to solve this?

Yeah, dump the floats and the list and use a table. Let's face it a data
entry form can be argued as tabular, i.e, name-value pairs. A column for
the names, and a column for the values

<fieldset>
<legend>Perfil</legend>
<table>
<tr>
<th>label for="Name" class="Required">Nome</label></th>
<td>input type="text" name="Name" id="Name" value="" /></td>
</tr>
* ...

Style accordingly...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
I prefer to use tables only in data display not in forms ... it is
just an option not saying that you are wrong.

I was thinking maybe on styling the header in some other way but
accomplish the same effect.

I found the following:
http://www.woothemes.com/demo/proudfolio/

Check the header (h2) where is says:
"Latest project"

I think they use a background image to accomplish this without floats,
etc

Until now I am not exactly sure how ... do you know?

Thanks,
Miguel
Jul 27 '08 #6
On Jul 27, 5:16*am, shapper <mdmo...@gmail.comwrote:
On Jul 27, 2:32*am, "Jonathan N. Little" <lws4...@central.netwrote:
shapper wrote:
On Jul 26, 7:34 pm, shapper <mdmo...@gmail.comwrote:
>On Jul 25, 4:39 am, "Jonathan N. Little" <lws4...@central.netwrote:
>>shapper wrote:
>>>Hello,
>>>I am creating a form that includes a few JQuery scripts and TinyMCE
>>>Editor:
>>>>http://www.27lamps.com/Beta/Form/Form.html
>>Page stalls and never is displayed
>>>I am having a few problems with my CSS:
>>>1. Restyling the Select
>>>* * (a) When using IE the Drop Down List is on the right instead of on
>>>the bottom;
>>>* * (b) The current item in the list should have a different
>>>background color;
>>Okay, I am use I have read that you have been told more than once in
>>other NG, form controls have very limited and uneven CSS styling
>>support. Some browsers, (i.e., IE use OS library of widgets) have little
>>styling at all. IE will not let you style the SELECT element. Opera
>>won't let you style SUBMIT buttons. And other differences apply. Design
>>recommendations, don't fool with form controls...efforts are doom to fail.
>>>* * (Please check the select on the bottom of the page to check these
>>>2 items working fine.
>>>* * *In this case I used a different class)
>>Ah, finally your page loaded...hmmm. You've have some CSS errors,
>>property-value pairs are delimited with ';' semi-colons you are missing
>>some.
>>>2. Error messages
>>>* * Please, submit the form. After the Name input you will geta error
>>>message.
>>>* * How can I make this message to not expand and still have the
>>>padding?
>>>* * And also having the text aligned left.
>>* form.Base fieldset ol li label.Error {
>>* * * * * *background-color: #FFAAAA;
>>* * * * * *color: #FFFFFF;
>>* * * * * *float: none;
>>* * * * * *font: normal 0.7em/2.5 Verdana, Geneva, sans-serif;
>>* * * * * *margin: 0;
>>* * * * * *padding: 0.2em;
>>* * * * * *width: auto;
>>* * * * *}
>>LABEL is not a block element, width doesn't apply, now if you set it to
>>display block and give it a width, test-align: left....
>>>One problem I am having with my form is every time I use a list inside
>>>my form somethings get "broken".
>>>This is because the form is using a list.
>>>http://validator.w3.org/check?verbos...%2Fwww.27lamps....
>>[Invalid] Markup Validation ofhttp://www.27lamps.com/Beta/Form/Form..html-W3CMarkupValidator
>>you got an error in there thats messing things up. HINT, bitten by the
>>must-use-xhtml bug.
>>>What should be the best way to counteract the styles of the form list
>>>into a child list?
>>Use a selector to apply to that condition.
>>>Any suggestion to improve my form CSS would be great.
>>Not been too receptive in the past, not inclined to bother now.
>>--
>>Take care,
>>Jonathan
>>-------------------
>>LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
>Hi Jonathan,
>My server problems are solved and I uploaded a new version of the
>form:http://www.27lamps.com/Beta/Form/FormBeta.html
>I value all suggestions given to me in this newsgroup ... but I can
>decide if I follow or not the suggestions, right? It does not mean
>that I do not consider them ...
>In this case, the form is for a CMS of my personal web site.
>In this web site is where I try many features, even if I am not sure
>if I will use them: CSS, Ajax, etc ...
>However, for other projects my approach is a little bit different and
>I tend to me more conservative.
>Now about my form:
>1. If you submit the form without filling the first field you will see
>the error.
>* * I had tried before the suggestions you made ... but it do not work
>as you can see.
>* * The only way to make this work is to add "clear: both" to the List
>Item. I commented that in my CSS. Do I need this? Am I doing something
>wrong?
>2. I found a bug in IE7 concerning the fieldset background ... a IE
>bug ... what's new? The usual ...
>* * Anyway, you can see that the background gets outside the fieldset
>border on the top extending to the top of the legen ... any idea how
>to solve this?
>Finally, any suggestions are welcome to improve my form.
>Many of the approaches I used in this form came from tips coming from
>this newsgroups ... mainly in Typography.
>Thank You,
>Miguel
One more issue. I added a header before my form. Everything seems
fine.
But see what happens to the last two fieldset legends. They are
aligned to the left even if they have margin.
I was able to detect what is making this. It is the Float: Left in:
h1 {
* background-color: #252525;
* color: #D2D2D2;
* font: normal 1.2em Verdana, Geneva, sans-serif;
* float: left;
* letter-spacing: 0.1em;
* margin: 0.3em 0em 0.5em 0em;
* padding: 0.4em 0.6em 0.5em 0.6em;
}
But I added a p tag with cleat both after it. Shouldn't this work?
Well, in fact it works in IE7, Opera and Safari.
The only browser where this happens is in Firefox.
Any idea of how to solve this?
Yeah, dump the floats and the list and use a table. Let's face it a data
entry form can be argued as tabular, i.e, name-value pairs. A column for
the names, and a column for the values
<fieldset>
<legend>Perfil</legend>
<table>
<tr>
<th>label for="Name" class="Required">Nome</label></th>
<td>input type="text" name="Name" id="Name" value="" /></td>
</tr>
* ...
Style accordingly...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com

I prefer to use tables only in data display not in forms ... it is
just an option not saying that you are wrong.

I was thinking maybe on styling the header in some other way but
accomplish the same effect.

I found the following:http://www.woothemes.com/demo/proudfolio/

Check the header (h2) where is says:
"Latest project"

I think they use a background image to accomplish this without floats,
etc

Until now I am not exactly sure how ... do you know?

Thanks,
Miguel
Getting the problems cleaner:
(I know that I am styling the select with JS but please this is for my
personal web site CMS where I try things)

Getting it cleaner:

Full Example:
http://www.27lamps.com/Beta/Form/Form.html

Image Preview in my Computer:
http://www.27lamps.com/Beta/Form/Preview.html

Problems:

[Firefox]
1. Second, Fourth and Fifth legends out of place.
I think it is because of my floats.

[IE 7]
1. Fieldset background is outside of fieldset top border;
2. DropDown (Fourth Field) is pushed under.

Well, these are the problems at the moment. Any idea?

Thanks,
Miguel
Jul 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Stefan Richter | last post by:
Hi, after coding for days on stupid form validations - Like: strings (min / max length), numbers(min / max value), money(min / max value), postcodes(min / max value), telefon numbers, email...
11
by: Jim | last post by:
Hi, I keep getting form results emailed to me that would indicate a form from my web site is getting submitted with all fields blank or empty, but my code should preventing users from proceeding...
3
by: Brian Basquille | last post by:
Hey there all, Fairly easy question for a C# expert, i assume! Am still working on my Photo Album. On frmBrowsePhotos, i have a listBox (photosList) containing photoID's from a table in an...
10
by: Ronin | last post by:
Group, i hope someone is able to help with this issue. I'd like the form to exit after certain logic calculation... i tried the me.dispose with in the Sub New() procedure, but it does not...
7
by: Boki | last post by:
Hi All, I can't pass data to another form: in form2: private void button1_Click(object sender, EventArgs e) { Form1 form_copy = new Form1();
2
by: awi | last post by:
Hi Everyone, I'm facing a unique problem when testing with FireFox (at least, I think its unique). Here is the situation: I have a page setup that looks like this: <form id="abcForm"> <div...
2
by: Max58kl | last post by:
Hi I have a form with - 13 text input fields 1 text area 2 radio buttons 4 buttons 1 check box 1 submit button
0
by: Matthew Fitzgibbons | last post by:
I'm by no means a testing expert, but I'll take a crack at it. Casey McGinty wrote: I've never run into this. Rule of thumb: always separate software from hardware. Write mock classes or...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.