- Hi Manuel,
The exact issue relates to styling the comment div for printing. Try a
print preview of the phpclasses site's login page:
At least under win/firefox the entire div in being displayed. This
must be an issue with firefox's treatment of the noscript tag.
But I think this is missing the point.
You have a message to tell a user what to do (or what the form won't
Surely it makes sense to be able to enable/diable the <noscript>
message, and set the content of the message.
The purpose of this change is accessibility. With more and more use of
enabled to a lack of application functionality.
--- In firstname.lastname@example.org, Manuel Lemos <mlemos@...> wrote:
> on 05/26/2006 08:23 PM fen.strat said the following:
> > First I'd like to say thanks for creating and maintaining such a
> > fantastic class.
> > I have a question re the default comment that is placed right under
> > the </script> tag for each generated form:
> > <noscript>
> > enabled --></div>
> > </noscript>
> > It is added in line 2165 of forms.php
> > Is it possible enable a settable option to turn this <noscript> tag
> > off, change the message, or at least change the class/id on the div?
> > eg by implementing a changeable property on the base form class.
> > atm it is impossible to style it (eg when creating a print stylesheet)
> > as there is no class on the wrapping div
> > I've edited the forms.php file to remove this <noscript> tag, however
> > it's a little tedious to do it each time you update forms.php
> The div is empty because it only has that comment, so it will show
> nothing. Why do you want to set the style for something that does
> Manuel Lemos
> Metastorage - Data object relational mapping layer generator
> PHP Classes - Free ready to use OOP components written in PHP
on 05/30/2006 12:25 AM fen.strat said the following:
> The exact issue relates to styling the comment div for printing. Try aI could not reproduce the behavior in Firefox 18.104.22.168 under Linux.
> print preview of the phpclasses site's login page:
> At least under win/firefox the entire div in being displayed. This
> must be an issue with firefox's treatment of the noscript tag.
Since the div does not contain nothing, nothing appears.
Anyway, if it helps I can add style="display: none" to the div and so
nothing should appear in the div place.
> But I think this is missing the point.That messages is not for the user but rather to please some validators.
> You have a message to tell a user what to do (or what the form won't
> rather limiting.
It has nothing to do with accessibility because no user is supposed to
Metastorage - Data object relational mapping layer generator
PHP Classes - Free ready to use OOP components written in PHP