News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Major compatibility with firefox, opera, IE7

Started by Max22, March 17, 2007, 09:12:43 AM

Previous topic - Next topic

Max22

For me security is important, but also compatibility with firefox, opera, IE7 is important....
Three browsers, three different styles.

Please do something in this sense.

Dannii

SMF already is compatible with all 3 of those browsers.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Max22

#2
Quote from: eldʌkaː on March 17, 2007, 09:25:40 AM
SMF already is compatible with all 3 of those browsers.

Then maybe goes improved compatibility of mods with these three browser...
Mod of ratings add new table in Display.template.php over top_subject and with IE7 borders are different than Opera and Firefox (already reported this problem in specific thread).

// Can they rate the topic?
if ($context['can_rate'] !== NULL)
{
echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr valign="middle" class="catbg3">
<td align="left"><b>';
if ($context['rating']['empty'])
echo $txt['ratings_not_rated'];
else
{
echo $txt['ratings_current_rating'], ': ';
for ($i = 0; $i < $context['rating']['whole']; $i++)
echo '<img src="', $settings['images_url'], '/star.gif" alt="*" border="0" />';
//!!! Should have a half star!
if (!empty($context['rating']['half']))
echo '<img src="', $settings['images_url'], '/star.gif" alt="*" border="0" />';
}
echo '
</b></td>
<td align="right">
<form action="', $scripturl, '?topic=', $context['current_topic'], '.', $context['start'], '" method="post" style="margin: 0;">
', $context['can_rate'] == -1 ? $txt['ratings_you_not_rated'] : $txt['ratings_you_have_rated'], '
<select name="rating">';
for ($i = 0; $i < 6; $i++)
echo '
<option value="', $i, '" ', $context['can_rate'] == $i ? 'selected="selected"' : '', '>', $i, '</option>';
echo '
</select>
<input type="submit" value="', $txt[161], '" />
<input type="hidden" name="rate_it" value="1" />
</form>
</td>
</tr>
</table>';
}




Max22

#3
Another problem can be given by deleting

padding: 12px 30px 4px 30px;

from body.

This influences compatibility.

I've need to delete this code to extend layout of forum.

Another possible cause is integration inside mkportal, that creates problems with compatibility.

Dannii

Although they can encourage it, the SMF team can't really enforce anyone to make compatible mods. If there are problems, you should talk to the mod authors.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: