473,708 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2191
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...effo rts 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...@centra l.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...effo rts 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.LittleWorks Studio.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...@centra l.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...effo rts 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.LittleWorks Studio.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...@centra l.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
recommendatio ns, don't fool with form controls...effo rts 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.LittleWorks Studio.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>Perfi l</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...@centra l.netwrote:
shapper wrote:
On Jul 26, 7:34 pm, shapper <mdmo...@gmail. comwrote:
On Jul 25, 4:39 am, "Jonathan N. Little" <lws4...@centra l.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
recommendation s, don't fool with form controls...effo rts 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.LittleWorks Studio.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>Perfi l</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.LittleWorks Studio.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...@centra l.netwrote:
shapper wrote:
On Jul 26, 7:34 pm, shapper <mdmo...@gmail. comwrote:
>On Jul 25, 4:39 am, "Jonathan N. Little" <lws4...@centra l.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
>>recommendatio ns, don't fool with form controls...effo rts 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-W3CMarkupValida tor
>>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.LittleWorks Studio.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>Perfi l</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.LittleWorks Studio.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
3913
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 adresses and so on. I thought it might be a better way to programm an automated, dynamic form validation that works for all kinds of fields, shows the necessary error messages and highlights the coresponding form fields.
11
8753
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 if they left any field blank. My guess is that someone is trying to hack the site using the form to gain entry or run commands -- I don't really know since I'm not a hacker. I just know that forms are often susceptible to these kinds of...
3
7854
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 Access Database. I click 'Add Photo' on that form and after the OpenFileDialog (etc.), it asks me to save some information about the photo (caption etc.) on a new form (frmAddPhotoInfo) opened up in front of the previous (frmBrowsePhotos).
10
2259
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 exit. i passed the boolean true parameter to the Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean), it does not do anything... i've included a finalize procedure with no codes but still no go.
7
2578
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
1430
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 id="abcDiv"> HTML TABLE HERE WITH FORM FIELDS AND SUCH. </div>
2
1556
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
1378
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 functions that do your hardware/file access that always return known data (but remember to test for alpha and beta errors--make sure both valid and invalid data are handled correctly). That way you can test the client code that is accessing the...
0
8697
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9158
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9060
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9001
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5939
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4712
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2508
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2096
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.