Ulven Posted December 4, 2006 Share Posted December 4, 2006 I never worked with this, I used notepad -95. I did some changes and it looked alright in FF since that is the browser I use.Now I got lot of complains since the site look very very F****ed up in IEThis is the site www.barabajare.se/index2.htmThis is how mail.php look like[code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head> <title>Untitled</title><link rel="STYLESHEET" type="text/css" href="css/main.css"></head><body BGCOLOR="#000000" TOPMARGIN="3" LEFTMARGIN="10"><TABLE WIDTH="758" CELLPADDING="2" CELLSPACING="0" BORDER="0"><TR> <TD WIDTH="206" VALIGN="top"> <TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0"> <TR> <TD> <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#336F33" CELLSPACING="0" CELLPADDING="4"> <TR> <TD> <FONT SIZE="1" FACE="verdana" COLOR="#DDDDDD"><A href="http://www.sneakersnstuff.com/system/content/book.asp?bid=57&pid=326" target=_blanK> <IMG SRC="gfx/blandat/Bajendojja.jpg" WIDTH="75" HEIGHT="75" ALIGN="right"> </A> <IMG SRC="gfx/dot.gif"> <b>Kolla vad som kommer!</b></FONT></TD> </TR> </TABLE> </TD> </TR> </TABLE><BR CLASS="sex"> <TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0"> <TR> <TD> <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#336F33" CELLSPACING="0" CELLPADDING="4"> <TR> <TD> <FONT SIZE="1" FACE="verdana" COLOR="#DDDDDD"> <IMG SRC="gfx/dot.gif"> <b>Medlemskap 2007!</b><BR><BR CLASS="tre"> Medlemsskap för 2007 kommer det komma info om snart. Dvs va kostnad kan hamna på osv, 2006 e ju snart slut.Men ni som vill vara med och rösta in nytt styre kan alltid gratis få ett kort som gäller 2006 Läs mer på informationssidan. </FONT> </TD> </TR> </TABLE> </TD> </TR> </TABLE><BR CLASS="sex"> <TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0"> <TR> <TD> <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#336F33" CELLSPACING="0" CELLPADDING="4"> <TR> <TD> <FONT SIZE="1" FACE="verdana" COLOR="#DDDDDD"> <IMG SRC="gfx/dot.gif"> <b>Griniga gubbars hörna!</b><BR><BR CLASS="tre"> Veckan har nu nåt sitt slut och dags återigen tänka på vem som blir veckans utdömda. Stor risk är att det blir samma person igen. </FONT> </TD> </TR> </TABLE> </TD> </TR> </TABLE><BR CLASS="sex"><TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0"> <TR> <TD> <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#336F33" CELLSPACING="0" CELLPADDING="4"> <TR> <TD> <FONT SIZE="1" FACE="verdana" COLOR="#DDDDDD"> <IMG SRC="gfx/dot.gif"> <b>Medarbetare sökes!</b><BR><BR CLASS="tre"> Skribenter sökes till hemsidan. Vill du vara med och bidra med artiklar, matchrapporter eller krönikor?<BR> Maila oss! </FONT> </TD> </TR> </TABLE> </TD> </TR> </TABLE><BR CLASS="sex"> <TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0"> <TR> <TD> </TD> </TR> </TABLE><BR CLASS="sex"> </TD> <TD WIDTH="341" HEIGHT="350"VALIGN="top"> <A HREF="http://www.svenskaodds.info/specialkonton/hifultrasspecialkonto.htm" TARGET="_blanK"> <IMG SRC="gfx/dot.gif" BORDER="0" WIDTH="3" HEIGHT="2"><IMG SRC="gfx/KLUBBSTOD.gif" BORDER="0" WIDTH="350" HEIGHT="60"> </A><BR> <?PHP $number = 5; include("news/show_news.php");?> </TD> <TD WIDTH="16"> </TD> <TD WIDTH="160" VALIGN="top"> <TABLE WIDTH="150" BORDER="0" CELLSPACING="1" CELLPADDING="0"> <TR> <TD ALIGN="center"> <IFRAME SRC="senastematch.htm" WIDTH="150" HEIGHT="330" FRAMEBORDER="no" SCROLLING="no"> </IFRAME> </TD> </TR> </TABLE> </TD></TR></TABLE></body></html>[/code]Somewhere I did something wrong but I can't figure it out, so please help me.RegardsRichard[b]EDITED BY WILDTEEN88: PLEASE USE THE CODE TAGS ([nobbc][code][/code][/nobbc]) WHEN POSTING ANY CODE IN A POST. THANK YOU[/b] Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/ Share on other sites More sharing options...
sanfly Posted December 4, 2006 Share Posted December 4, 2006 This is an HTML question rather than a PHP question, but anywayWhere you have this[code] <TR> <TD BACKGROUND="gfx/huvudspalt.gif"> <IFRAME SRC="http://www.barabajare.se/main.php" WIDTH="795" HEIGHT="100%" FRAMEBORDER="no" NAME="main"> </IFRAME> </TD> </TR>[/code]Try putting this[code] <TR height="100%"> <TD BACKGROUND="gfx/huvudspalt.gif"> <IFRAME SRC="http://www.barabajare.se/main.php" WIDTH="795" HEIGHT="100%" FRAMEBORDER="no" NAME="main"> </IFRAME> </TD> </TR>[/code]Note the height="100%" in the <tr> tag Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135013 Share on other sites More sharing options...
sanfly Posted December 4, 2006 Share Posted December 4, 2006 Thought I would also add its important to check your scripts in both IE and Firefox even though incompatability issues normally go the other way. I find on my pages the users are split about 65% IE, 30% Firefox, so you dont want to exclude such a large percentage of your users either way.I use firefox myself, and have installed this handy addon to view pages in an IE tab to check compatibilityhttps://addons.mozilla.org/firefox/1419/ Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135014 Share on other sites More sharing options...
Ulven Posted December 5, 2006 Author Share Posted December 5, 2006 [quote author=sanfly link=topic=117321.msg478609#msg478609 date=1165262069]This is an HTML question rather than a PHP question, but anywayWhere you have this[code] <TR> <TD BACKGROUND="gfx/huvudspalt.gif"> <IFRAME SRC="http://www.barabajare.se/main.php" WIDTH="795" HEIGHT="100%" FRAMEBORDER="no" NAME="main"> </IFRAME> </TD> </TR>[/code]Try putting this[code] <TR height="100%"> <TD BACKGROUND="gfx/huvudspalt.gif"> <IFRAME SRC="http://www.barabajare.se/main.php" WIDTH="795" HEIGHT="100%" FRAMEBORDER="no" NAME="main"> </IFRAME> </TD> </TR>[/code]Note the height="100%" in the <tr> tag[/quote]Hello and thanks, but it didn't help. I have only changed something in the main.php file and since then IE don't work and if you could understand swedish and look in the guestbook I'm not a person they like just now :) Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135658 Share on other sites More sharing options...
sanfly Posted December 5, 2006 Share Posted December 5, 2006 Are you sure you did it correctly, because it worked great when I tested it :-\ Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135662 Share on other sites More sharing options...
Ulven Posted December 5, 2006 Author Share Posted December 5, 2006 [quote author=sanfly link=topic=117321.msg479265#msg479265 date=1165349705]Are you sure you did it correctly, because it worked great when I tested it :-\[/quote]I Changed it in index2.php But you maybe mean in index2.htm?But did you mean I could find it in main.php?Because I have only changed things in main.php as I showed in my first messageVery sorry to disturb you with this but people are not happy at me now ::) Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135666 Share on other sites More sharing options...
sanfly Posted December 5, 2006 Share Posted December 5, 2006 you changed index2.php, which looks fine, but index2.htm still has the condensed iframe.From index.htm, it links to index2.htm (NOT index2.php), which is the page everyone will be seeing.Make the same change in index2.htm as I showed above, and I think you will be fine.I copied your source code and tested it, it works great. Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135674 Share on other sites More sharing options...
Ulven Posted December 5, 2006 Author Share Posted December 5, 2006 I did see it. I used FF to view Source and I couldn't see my changes. Then I saw it showed index2.htmSo now I changed that to and it worksI'm very very grateful for your help.Case is closed as they say in CSI.But never the less, I wanna change the whole layout. Too much unused space. From beginning I thought everything on left side was in a own frame, then center and then right. But as you see main.php take care of left and center and then redirect to "senastematch.htm"But from now on I'll always gonna take a backup before I change anything. But it will be try by error.Sorry if this is a long reply. But as you se if you click on the links like Arkiv, Souvenirs and Information. Everything opens just in center, you dont have "the left side" only the "right" side there.If you or anyone else wanna see the php files or so and tip me how to do as I wish it should look. You are more than welcome to mail me.But again I'm very thakful to you sanfly If you was I girl I'll take you out for dinner :o Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135682 Share on other sites More sharing options...
sanfly Posted December 5, 2006 Share Posted December 5, 2006 Your welcome ;DWhy does everyone always assume I'm a guy :-\ Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135687 Share on other sites More sharing options...
BadGoat Posted December 5, 2006 Share Posted December 5, 2006 Rule #1 of the Internet: Everyone is a man until proven otherwise :) Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135690 Share on other sites More sharing options...
Ulven Posted December 5, 2006 Author Share Posted December 5, 2006 [quote author=sanfly link=topic=117321.msg479291#msg479291 date=1165352616]Your welcome ;DWhy does everyone always assume I'm a guy :-\[/quote]Hmm oki gonna be an expensive dinner since you live a little bit away from me.But I never said when :) Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135696 Share on other sites More sharing options...
Daniel0 Posted December 5, 2006 Share Posted December 5, 2006 Use table-less layouts... that fixes most of the issues in IE. Quote Link to comment https://forums.phpfreaks.com/topic/29421-its-look-alright-in-ff-but-not-in-ie/#findComment-135765 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.