Developer forum

Forum » Templates » styling forms

Reply

Hi!

 

 

How can I style forms?

Shouldn't there be a way to give each formfield a class?

 

-jan


Replies

 
Nicolai Høeg Pedersen
Reply
jan@magentamultimedia.no wrote:

Hi!

 

 

How can I style forms?

Shouldn't there be a way to give each formfield a class?

 

-jan


 

Hi Jan

 

There should be the possibility. We are planning a new version of the frontend to forms module coming in september with template and styling capabilities.

 

Untill then you would have to wrap the module output in a div or span tag with an id (i.e. myFormContainer) and create styles like this

 

#myFormContainer.input {

font:***;

}

 
Reply

Hi Nicolai

That is true, if we only want to style the input tags. The problem is that all the positioning is made with tables, so it is almost impossible to for example align checkboxes or submit buttons to the left.

 

When can we expect that, this tables can be removed???

 
Nicolai Høeg Pedersen
Reply

Hi Mikkel

 

I cannot give you a more precise timeframe for the new modernized forms module yet.

 
Reply

Mikkel, I don't know if this might be useful for you: http://developer.dynamicweb.dk/Forum-17061.aspx?action=ShowThread&ThreadID=821

 

You must be logged in to post in the forum