2013-10-04, 05:24:43
(2013-10-04, 00:30:29)Carlos Wrote: You could do like this in your template:
PHP Code:<?php if (return_page_slug() != 'clanky') { ?>
<h1><?php get_page_title(); ?></h1>
<?php } ?>
Thank you, I will get rid of one of my templates
(2013-10-04, 04:41:25)lnickel Wrote: Just trying to throw in some friendly input.
I agree semantically that em's are better. You use it for emphasis. Why would use it then style it opposite? You are defeating the purpose of using it anyway.
Yes devs use resets but not all developer/designers are using a traditional reset. Some are using normalize which doesn't completely reset styles. So with that in mind. I'll move along
I didn't mean any offense! just wanted to explain things.
There is no "opposite" styling. See an example:
<h1> has { font-size: 32px; } in the current versions of the most used browsers by default. And people often style it to { font-size: 24px; }, just because 32px is way too much. If they used the logic you are talking about, they should prefer using <h2> for the main heading because it has { font-size: 24px; } by default. Yes, why should they restyle h1 when they have h2 which they don't have to restyle?
Because of SEO. See? It doesn't matter how you style things.
On one hand, I have to admit that one <em> doesn't make any difference you could notice. Search Engines look at <title> and <h1> at first, then <h2> and the rest doesn't matter that much. The best SEO is the content itself, but using semantic tags like <strong>, <em> (instead of <b> and <i> which are not semantic), proper headings and so on makes your content even better, because the search engines can find more easily and more accurately what the article is about, which keywords are the important ones etc. On the other hand, restyling { font-style: italic; } to { font-style: normal; } is not any trouble.
I just have to repeat - I don't mean any offense by this, I'm just trying to explain why do I think that <em> is better in this case
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple