ok, thanks Jeremy, but how do i set the the id of the form with symfony? i
tried with
//form class
$this->setOption('id','formPublicacion'); but it doesn't works2009/9/7 Jeremy Thomerson <[email protected]> > Give your form an ID and address it in your CSS - like: > > <form id="registrationForm" action="..."> > > </form> > > In your css: > > #registrationForm a { color: red } > > > On Mon, Sep 7, 2009 at 11:11 AM, Daniel Echalar <[email protected]> wrote: > >> ¿how to use a .css just in one form? >> eg: >> //newSuccess.php >> <?php use_stylesheet('publication.css'); ?> >> >> <h1>tittle of publicaction form</h1> >> >> <?php include_partial('form', array('form' => $form)) ?> >> //end of file >> >> and >> //pubilcation.css >> a{ >> font-size: 40px; >> } >> //end of file >> >> the problem is that all the generated page has the A tags with 40px of >> font-size, and i just need that size for the publication form. For other A >> tags in the generated page i do not need that size. >> >> thanks a lot >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
