/    Sign up×
Community /Pin to ProfileBookmark

A headache with displaying a page in Safari

This page [URL=http://www.soundchilds.net/index_v2.php]http://www.soundchilds.net/index_v2.php[/URL]

displays some broken in Safari – the table “DAILY TOP 10 AUDIO CHART” should appear in on the right side to “AUDIO SPOTLIGHT” table, but instead the blocs get stacked upon each other like in this [URL=http://www.soundchilds.net/TEMP/Index_2_in_Safari.png]picture[/URL] as captured at [URL=http://www.snugtech.com/safaritest/]SafariTest[/URL]

The original php code with dynamic content says:

[code=php]<tr>
<td width=”345″ height=”368″ valign=”top” class=”alt1″>
<?php include(“http://www.soundchilds.net/backstage/ranking.php?mode=spotlight&show=1&row_template=sc_spotlight_row_main_v2.tpl”); ?>
</td>
<td width=”9″ valign=”top” class=”alt1″><!–DWLayoutEmptyCell–>&nbsp;</td>
<td width=”350″ valign=”top” class=”alt1″>
<?php
include(“http://www.soundchilds.net/backstage/newchart.php?order=1&pagenum=1&pagebreak=20&header_template=chart_v2indextop_header.tpl&footer_template=chart_v2indextop_footer.tpl&topspot_template=chart_v2indextop_row_topspot.tpl&topten_template=chart_v2indextop_row_topten.tpl&row_template=chart_v2indextop_row.tpl&show=10&chartdays=7”);
?> </td>
</tr>[/code]

and the published source says:

[CODE]
<tr>
<td width=”345″ height=”368″ valign=”top” class=”alt1″>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<title>SoundChilds Spotlight</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<!–LOCAL STYLESHEET –>
<link href=”../../../global_assets/global%20stylesheets/global_texts_and_spacersV2.css” rel=”stylesheet” type=”text/css”>
<!–REMOTE STYLESHEET –>
<link href=”http://www.soundchilds.net/global_assets/global%20stylesheets/global_texts_and_spacersV2.css” rel=”stylesheet” type=”text/css”>
<script language=”JavaScript” src=”http://www.soundchilds.net/backstage/config/popwin.js”></script>
</head>

<body>
<center>

<table cellpadding=”0″ cellspacing=”1″>
<div align=”center”><table width=”345″ border=”0″ cellpadding=”4″ cellspacing=”1″ bgcolor=”#F0F0F0″>
<!–DWLayoutTable–>
<tr>
<td height=”30″ colspan=”3″ align=”left” valign=”middle” class=”tcat”>AUDIO SPOTLIGHT </td>
</tr>
<!–<tr>
<td height=”21″ colspan=”3″ align=”left” valign=”middle” class=”thead_top_nav”>TRACK BY: <b><a href=”http://www.soundchilds.net/backstage/bands/10/” alt=”View Artist-Seller Page” title=”View Artist-Seller Page” class=”thead_top_nav”>Kfied</a></b>
</td>
</tr>–>
<tr>
<td width=”33″ rowspan=”2″ valign=”top” bgcolor=”f0f0f0″><p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p></td>
<td width=”250″ height=”258″ valign=”top” bgcolor=”f0f0f0″><br><br><a href=”http://www.soundchilds.net/backstage/bands/10/info_8.php”><img src=”http://www.soundchilds.net/backstage/image.php?band_id=10&amp;song_id=8&amp;mode=song_image&amp;width=250&amp;height=250″ alt=”View Track Details” title=”View Track Details” width=”250″ border=”0″ align=”top”></a> </td>
<td width=”34″ rowspan=”2″ valign=”top” bgcolor=”f0f0f0″><!–DWLayoutEmptyCell–>&nbsp;</td>
</tr>
<tr>
<td height=”53″ align=”left” valign=”top” bgcolor=”f0f0f0″ class=”smallfont”>
<span class=”smallfont”> <a href=”http://www.soundchilds.net/backstage/play.php?band_id=10&amp;song_id=8&amp;mode=song_hifi”><img src=”http://www.soundchilds.net/backstage/themes/SC_OriginalTheme_Orange/images/play_hifi_blackbg.gif” alt=”Stream Track In HiFi Mode” width=”13″ height=”13″ border=”0″ align=”absmiddle” title=”Stream Track In HiFi Mode”></a> –
</span>
<br> <a href=”http://www.soundchilds.net/backstage/bands/10/info_8.php” alt=”View Track Details” title=”View Track Details” class=”smallfont”><strong>Hennessy</strong></a>
<br>
Artist:&nbsp; <a href=”http://www.soundchilds.net/backstage/bands/10/” title=”View Artist-Seller Page” class=”smallfont” alt=”View Artist-Seller Page”>Kfied</a>
<br>
Genre: <a href=”http://www.soundchilds.net/backstage/ranking.php?mode=song&order=3&show=100&pagebreak=20&pagenum=1&header_template=song_head_new_audio_genre_v2.tpl&row_template=song_row_new_audio_v2.tpl&footer_template=common_footer_v2.tpl&genre=Easy+Listening+%28EL%29″ class=”smallfont” title=”View New Tracks In This Genre”>Easy Listening (EL)</a></td>
</tr>

</table>
</div>
<body>
<html>
</td>
<td width=”9″ valign=”top” class=”alt1″><!–DWLayoutEmptyCell–>&nbsp;</td>
<td width=”350″ valign=”top” class=”alt1″>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<title></title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<meta http-equiv=”Content-Type” content=”text/html”>
<!–LOCAL STYLESHEET –>
<link href=”../../../global_assets/global%20stylesheets/v2_chart.css” rel=”stylesheet” type=”text/css”>
<!–REMOTE STYLESHEET–>
<link href=”http://www.soundchilds.net/global_assets/global%20stylesheets/v2_chart.css” rel=”stylesheet” type=”text/css”>
<script language=”JavaScript” src=”http://www.soundchilds.net/backstage/config/popwin.js”></script>
</head>
<div align=”center”><table width=”100%” border=”0″ cellpadding=”4″ cellspacing=”1″>
<!–DWLayoutTable–>
<tr align=”left” valign=”middle”>
<td height=”31″ colspan=”4″ class=”tcat”>DAILY TOP 10 AUDIO CHART</td>
</tr>
<tr>
<td width=”118″ height=”21″ align=”left” valign=”middle” class=”thead”>STREAM ALL
<a href=”http://www.soundchilds.net/backstage/play.php?band_id=all&amp;type=mp3&amp;mode=song_hifi&amp;song_id[]=22&amp;song_id[]=23&amp;song_id[]=24&amp;song_id[]=17&amp;song_id[]=12&amp;song_id[]=9&amp;song_id[]=10&amp;song_id[]=8″><img src=”http://www.soundchilds.net/backstage/themes/SC_OriginalTheme_Orange/images/play_hifi_blackbg.gif” alt=”Stream All Audio Found As HiFi Tracks” width=”13″ height=”13″ border=”0″ align=”absmiddle” title=”Stream All Audio Found As HiFi Tracks”></a>
<a href=”http://www.soundchilds.net/backstage/play.php?band_id=all&amp;type=mp3&amp;mode=song_lofi&amp;song_id[]=22&amp;song_id[]=23&amp;song_id[]=24&amp;song_id[]=17&amp;song_id[]=12&amp;song_id[]=9&amp;song_id[]=10&amp;song_id[]=8″><img src=”http://www.soundchilds.net/backstage/themes/SC_OriginalTheme_Orange/images/play_lofi_blackbg.gif” alt=”Stream All Audio Found As LoFi Tracks” width=”13″ height=”13″ border=”0″ align=”absmiddle” title=”Stream All Audio Found As LoFi Tracks”></a> </td>
<td colspan=”3″ align=”right” valign=”middle” class=”thead”><a href=”http://www.soundchilds.net/backstage/ranking.php?mode=song&order=3&show=100&pagebreak=20&pagenum=1&header_template=song_head_new_audio_v2.tpl&row_template=song_row_new_audio_v2.tpl&footer_template=common_footer_v2.tpl” title=”View 100 Latest Taracks” class=”thead_top_nav”>NEW TRACKS</a> | <a href=”http://www.soundchilds.net/backstage/search/charts_v2.php” title=”View More Audio Charts” class=”thead_top_nav”>MORE CHARTS</a></td>
</tr>
</table>
</div>
</body>
</html>… …
[/CODE]

As you can see the dynamically included documents add some unnecessary <head> content -which is not the problem. The problem seems to be added <tr> tags which appear to cause this in safari. IE, Opera and others it seems to do just fine.

What do you think would be the best solution?

Thanks for any ideas!

Best regards,
-Mika

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@MikakKauthorApr 22.2006 — No ideas? I guess it´s a more complex thing then... ?

-Mika
×

Success!

Help @MikakK spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...