SMF Support > SMF 2.0.x Support
Where are this code located?
crobbe:
Hi folks.
I need to know where the following code is located, which file, i can't find it :) :
--- Code: ---<div id="posting_icons" class="flow_hidden">
<ul class="reset">
<li class="floatleft"><img src="http://www.adelmetallforum.se/Themes/default/images/new_none.png" alt=""> Inga nya inlägg</li>
<li class="floatleft"><img src="http://www.adelmetallforum.se/Themes/default/images/new_redirect.png" alt=""> Omdirigera tavla</li>
</ul>
</div>
--- End code ---
Thanks.
Arantor:
It's in a different form in your theme's BoardIndex.template.php. I can't tell you any more than that without understanding what you want to do.
crobbe:
--- Quote from: Arantor on June 10, 2012, 03:26:15 PM ---It's in a different form in your theme's BoardIndex.template.php. I can't tell you any more than that without understanding what you want to do.
--- End quote ---
Well, the alt tags are empty, searchengines do not like empty alt tags :-)
Arantor:
They're empty for a reason.
As per the specification, images that do not have any content about them should not have alt tags. Since in this case the images are only to indicate what other images mean, there is no need to actually give them alt tags.
I would also speculate that, for example, none of the images posted by users get alt tags either...
(In the scheme of things it is a very small matter and one that is not a huge deal to worry about anyway, there are *far* more important things to deal with than missing 'alt' attributes in image tags.)
crobbe:
--- Quote from: Arantor on June 10, 2012, 03:29:08 PM ---They're empty for a reason.
As per the specification, images that do not have any content about them should not have alt tags. Since in this case the images are only to indicate what other images mean, there is no need to actually give them alt tags.
I would also speculate that, for example, none of the images posted by users get alt tags either...
(In the scheme of things it is a very small matter and one that is not a huge deal to worry about anyway, there are *far* more important things to deal with than missing 'alt' attributes in image tags.)
--- End quote ---
Then why are there alt tags there in the first place?
I don't care if there are alt tags or not in user posts, this is on the index/landingpage/onpage so it matters.
I want to remove them or name them and if that is an easy fix by telling me where and how, I want to know.
Navigation
[0] Message Index
[#] Next page
Go to full version