Jump to content

Must be simple browser problem


werushka

Recommended Posts

Hi everyone I have a problem with an html table... In Firefox the site shows correctly but in IE7 this table messes up the page that it is in.

 

the code is

 

<table>

 

<tr>

{foreach from=$headers item=header key=number}

 

<th>

{ if $number eq $templatelite.GET.sortby }

 

<span>{$header}</span>

{ else }

 

<a href="?sortby={$number}">{$header}</a>

 

{ /if }

 

</th>

{/foreach}

 

 

<th>

{#PLIGG_Visual_TopUsers_TH_Karma#}

</th>

 

</tr>

 

{$users_table}

 

</table>

 

if i remove <table></table> no more problem but of course nothing is orders.

 

I would really appreciate any help.

 

Thanks very much in advance.

 

 

Link to comment
Share on other sites

You need to use CSS to style your table. Assuming the data is tabular data - if you are using it to lay out your site design, then you shouldn't be using tables at all.

 

As for fixing it between firefox and IE, welcome to the designer's bane. Cross browser coding is a pain in the ass.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.