Inline CSS (Not Much, But a Little)

Started by The Craw, January 08, 2012, 07:41:03 PM

Previous topic - Next topic

The Craw

Only one property declaration, but still, I'm of the opinion that all CSS should be in an external file.

~/Themes/default/Display.template.php
Line: 694

<form action="', $scripturl, '?board=', $context['current_board'], ';action=post2" method="post" accept-charset="', $context['character_set'], '" name="postmodify" id="postmodify" onsubmit="submitonce(this);" style="margin: 0;">


Very last attribute in the form tag. I noticed this when I went to make an ajax reply mod.

Antechinus


ledaladdin.com

CSS can better control the site. Flexible

Matthew K.

Quote from: ledaladdin.com on January 09, 2012, 09:53:06 PM
CSS can better control the site. Flexible
He was never saying remove CSS? You can't validly style an XHTML document without CSS...The Craw is a good developer, he knows what he's talking about.

Although there are SOME rare scenarios where inline CSS is necessary.

Alexes19

Quote from: Labradoodle-360 on January 09, 2012, 09:54:43 PM
Quote from: ledaladdin.com on January 09, 2012, 09:53:06 PM
CSS can better control the site. Flexible
He was never saying remove CSS? You can't validly style an XHTML document without CSS...The Craw is a good developer, he knows what he's talking about.

Although there are SOME rare scenarios where inline CSS is necessary.
Thanks for great explanation


Arantor

Holder of controversial views, all of which my own.


Advertisement: