> 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:
>
[quoted text clipped - 4 lines]
> (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
>
[quoted text clipped - 3 lines]
> 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?verbose=1&uri=http%3A%2F%2Fwww.27lamps.com%2FBeta%
2FForm%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.

Signature
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
shapper - 26 Jul 2008 19:34 GMT
> > Hello,
>
[quoted text clipped - 81 lines]
> -------------------
> 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
shapper - 27 Jul 2008 01:21 GMT
> > > Hello,
>
[quoted text clipped - 120 lines]
> 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
Jonathan N. Little - 27 Jul 2008 02:32 GMT
>>>> Hello,
>>>> I am creating a form that includes a few JQuery scripts and TinyMCE
[quoted text clipped - 114 lines]
>
> 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...

Signature
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
shapper - 27 Jul 2008 05:16 GMT
> >>>> Hello,
> >>>> I am creating a form that includes a few JQuery scripts and TinyMCE
[quoted text clipped - 136 lines]
> -------------------
> 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
shapper - 27 Jul 2008 14:07 GMT
> > >>>> Hello,
> > >>>> I am creating a form that includes a few JQuery scripts and TinyMCE
[quoted text clipped - 155 lines]
> 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