--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
You could write this:body div.current input, body div.current textarea, body div.current select {float: none;margin: 0;}'body' could be another parent container but you need at least to add a parent container for your css to have priority (or !important but it's not what you want to do)...
....
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.
--
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
in template.css I have css like this :
div.current input, div.current textarea, div.current select {clear: none;float: left;margin: 3px 0 0 2px;
}
In my component.css I have written like this :
div.current input, div.current textarea, div.current select {float: none;margin: 0;}
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.
Yup, for me it’s one of the most irritating things when developing a template for a client.
Personally I would prefer that components didn’t provide any styling, just raw semantic HTML (or maybe nowadays some Bootstrap classes) and a blank stylesheet that could be either copied and pasted or imported into the template’s CSS. But I’m a control freak… and I understand that some people prefer to start from a component template.
Either way, the final word should always be given to the template, not the component.