Connecting Tech Pros Worldwide Help | Site Map

Form testing. Please, need advice.

  #1  
Old July 25th, 2008, 03:05 AM
shapper
Guest
 
Posts: n/a
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
  #2  
Old July 25th, 2008, 04:45 AM
Jonathan N. Little
Guest
 
Posts: n/a

re: Form testing. Please, need advice.


shapper wrote:
Quote:
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
Quote:
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.
Quote:
>
(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.
Quote:
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....
Quote:
>
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.
Quote:
>
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.
Quote:
>
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
  #3  
Old July 26th, 2008, 07:35 PM
shapper
Guest
 
Posts: n/a

re: Form testing. Please, need advice.


On Jul 25, 4:39*am, "Jonathan N. Little" <lws4...@central.netwrote:
Quote:
shapper wrote:
Quote:
Hello,
>
Quote:
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
>
Quote:
I am having a few problems with my CSS:
>
Quote:
1. Restyling the Select
>
Quote:
* * (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..
>
>
>
Quote:
* * (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.
>
Quote:
2. Error messages
>
Quote:
* * 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....
>
>
>
Quote:
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.
>
>
>
Quote:
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.
>
>
>
Quote:
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
  #4  
Old July 27th, 2008, 01:25 AM
shapper
Guest
 
Posts: n/a

re: Form testing. Please, need advice.


On Jul 26, 7:34*pm, shapper <mdmo...@gmail.comwrote:
Quote:
On Jul 25, 4:39*am, "Jonathan N. Little" <lws4...@central.netwrote:
>
>
>
Quote:
shapper wrote:
Quote:
Hello,
>
Quote:
Quote:
I am creating a form that includes a few JQuery scripts and TinyMCE
Editor:
>http://www.27lamps.com/Beta/Form/Form.html
>
Quote:
Page stalls and never is displayed
>
Quote:
Quote:
I am having a few problems with my CSS:
>
Quote:
Quote:
1. Restyling the Select
>
Quote:
Quote:
* * (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;
>
Quote:
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.
>
Quote:
Quote:
* * (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)
>
Quote:
Ah, finally your page loaded...hmmm. You've have some CSS errors,
property-value pairs are delimited with ';' semi-colons you are missing
some.
>
Quote:
Quote:
2. Error messages
>
Quote:
Quote:
* * 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.
>
Quote:
* form.Base fieldset ol li label.Error {
>
Quote:
* * * * * *background-color: #FFAAAA;
>
Quote:
* * * * * *color: #FFFFFF;
>
Quote:
* * * * * *float: none;
>
Quote:
* * * * * *font: normal 0.7em/2.5 Verdana, Geneva, sans-serif;
>
Quote:
* * * * * *margin: 0;
>
Quote:
* * * * * *padding: 0.2em;
>
Quote:
* * * * * *width: auto;
>
Quote:
* * * * *}
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....
>
Quote:
Quote:
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.
>
Quote:
http://validator.w3.org/check?verbos...%2Fwww.27lamps.....
[Invalid] Markup Validation ofhttp://www.27lamps.com/Beta/Form/Form.html-W3C Markup Validator
>
Quote:
you got an error in there thats messing things up. HINT, bitten by the
must-use-xhtml bug.
>
Quote:
Quote:
What should be the best way to counteract the styles of the form list
into a child list?
>
Quote:
Use a selector to apply to that condition.
>
Quote:
Quote:
Any suggestion to improve my form CSS would be great.
>
Quote:
Not been too receptive in the past, not inclined to bother now.
>
Quote:
--
Take care,
>
Quote:
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

  #5  
Old July 27th, 2008, 02:35 AM
Jonathan N. Little
Guest
 
Posts: n/a

re: Form testing. Please, need advice.


shapper wrote:
Quote:
On Jul 26, 7:34 pm, shapper <mdmo...@gmail.comwrote:
Quote:
>On Jul 25, 4:39 am, "Jonathan N. Little" <lws4...@central.netwrote:
>>
>>
>>
Quote:
>>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
  #6  
Old July 27th, 2008, 05:25 AM
shapper
Guest
 
Posts: n/a

re: Form testing. Please, need advice.


On Jul 27, 2:32*am, "Jonathan N. Little" <lws4...@central.netwrote:
Quote:
shapper wrote:
Quote:
On Jul 26, 7:34 pm, shapper <mdmo...@gmail.comwrote:
Quote:
On Jul 25, 4:39 am, "Jonathan N. Little" <lws4...@central.netwrote:
>
Quote:
Quote:
>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,
>
Quote:
Quote:
My server problems are solved and I uploaded a new version of the
form:http://www.27lamps.com/Beta/Form/FormBeta.html
>
Quote:
Quote:
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 ...
>
Quote:
Quote:
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 ...
>
Quote:
Quote:
However, for other projects my approach is a little bit different and
I tend to me more conservative.
>
Quote:
Quote:
Now about my form:
>
Quote:
Quote:
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?
>
Quote:
Quote:
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?
>
Quote:
Quote:
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.
>
Quote:
Quote:
Thank You,
Miguel
>
Quote:
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.
>
Quote:
I was able to detect what is making this. It is the Float: Left in:
>
Quote:
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;
}
>
Quote:
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.
>
Quote:
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
  #7  
Old July 27th, 2008, 02:15 PM
shapper
Guest
 
Posts: n/a

re: Form testing. Please, need advice.


On Jul 27, 5:16*am, shapper <mdmo...@gmail.comwrote:
Quote:
On Jul 27, 2:32*am, "Jonathan N. Little" <lws4...@central.netwrote:
>
>
>
Quote:
shapper wrote:
Quote:
On Jul 26, 7:34 pm, shapper <mdmo...@gmail.comwrote:
>On Jul 25, 4:39 am, "Jonathan N. Little" <lws4...@central.netwrote:
>
Quote:
Quote:
>>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,
>
Quote:
Quote:
>My server problems are solved and I uploaded a new version of the
>form:http://www.27lamps.com/Beta/Form/FormBeta.html
>
Quote:
Quote:
>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 ...
>
Quote:
Quote:
>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 ...
>
Quote:
Quote:
>However, for other projects my approach is a little bit different and
>I tend to me more conservative.
>
Quote:
Quote:
>Now about my form:
>
Quote:
Quote:
>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?
>
Quote:
Quote:
>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?
>
Quote:
Quote:
>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.
>
Quote:
Quote:
>Thank You,
>Miguel
>
Quote:
Quote:
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.
>
Quote:
Quote:
I was able to detect what is making this. It is the Float: Left in:
>
Quote:
Quote:
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;
}
>
Quote:
Quote:
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.
>
Quote:
Quote:
Any idea of how to solve this?
>
Quote:
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
>
Quote:
<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>
* ...
>
Quote:
Style accordingly...
>
Quote:
--
Take care,
>
Quote:
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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Exit Ronin answers 10 March 29th, 2006 09:05 PM
Need help with this script please.. Johnny Knoxville answers 8 July 20th, 2005 12:34 PM
What so special about PostgreSQL and other RDBMS? Sarah Tanembaum answers 125 July 20th, 2005 04:46 AM
programming advice requested middletree answers 2 July 19th, 2005 10:39 AM