Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 77
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 87
Total: 87

Author Topic: Problems with IE8  (Read 3043 times)

0 Members and 1 Guest are viewing this topic.

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Problems with IE8
« on: February 13, 2013, 10:53:34 am »
Everything looks fine in my classifieds template until I try it in IE8. Then all the tabs are right aligned as in the screenshot.

It looks fine in the default SMF theme but goes awry in my custom theme.  The classifieds template is the same in both themes so I'm at a loss to understand why IE 8 is acting so weird.

Any ideas?

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Problems with IE8
« Reply #1 on: February 14, 2013, 07:51:05 am »
I've resolved this but I'm still not sure why...

In classifieds.template.php the tabs are consistently enclosed in this code:
Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" align="center" width="90%">
<tr>
<td style="padding-right: 1ex;" align="right" >
<table cellpadding="0" cellspacing="0" align="right"">
<tr>
', Classifieds_DoToolBarStrip($context['classifieds']['buttons'], 'top'), '
</tr>
</table>
</td>
</tr>
</table>

I'm unclear on why the row of tabs is nested in a table within a table but I noticed that the centre table did not have a width specified.

Sure enough, when I added a width to the code:
Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" align="center" width="90%">
<tr>
<td style="padding-right: 1ex;" align="right" >
<table cellpadding="0" cellspacing="0" align="right" width="90%">
<tr>
', Classifieds_DoToolBarStrip($context['classifieds']['buttons'], 'top'), '
</tr>
</table>
</td>
</tr>
</table>

All was well.

In Chrome and Firefox that nested table is actually placed outside and so has no effect. Only in IE is it nested and the lack of any width means it squeezes all the tabs in a single line..

Equally bizarrely adseller.template.php uses exactly the same format and everything behaves in IE 8.  ???

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
5534 Views
Last post October 08, 2013, 10:05:39 pm
by shyguy
3 Replies
10310 Views
Last post March 28, 2018, 12:40:58 pm
by SMFHacks
1 Replies
3188 Views
Last post October 03, 2018, 03:42:57 pm
by SMFHacks
6 Replies
3581 Views
Last post January 25, 2019, 08:31:42 pm
by jaydog29
6 Replies
1694 Views
Last post October 01, 2021, 01:33:14 pm
by mickjav

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal