Jump to content

Fine in FF but IE...


J-C

Recommended Posts

Ok i have this scripts that were working fine on both browsers and then i backed them up and did a clean install windows xp and now they are fine in Fire fox but explorer.... they are really weird not displaying any images and tables ... ugh is like is not using the css i assigned at all... anyways here is the website:  http://davenger.tk  or  http://74.170.18.102

 

index:

<?php
define('access',true);
require_once '/xampp/htdocs/f/handler.php';
echo'
<html>
<!-- HEAD -->
<head>
<title>Dark Avenger</title>
<link rel="stylesheet" type="text/css" href="style.css" >
</head>
<!-- HEAD -->

<body>

<!-- Main Banner -->
<div class=MT1>
<div class=banner>
</div>
</div>
<!-- Main Banner -->


<!-- Main title -->
<div class=MT1>
<div class=MT>

</div>
</div>
<!-- Main title -->


<!-- Main table -->

<table class=maint align=center> <tr> <td>


<!-- Control panel -->

<!-- Log in form -->';

if ($loggedIn == False) {

echo '<form method="POST" action="f/log/Hlogin.php" >

<table class=top_left_table align=left >

<caption class="topbg"  style="padding:1px; border-width:1px;border-color:#C7C7C7;border-style:solid solid none solid;"> 
Control Panel </caption>

<tr> <td >
Username: </td> <td> 
<input type="text" id="username" name="username" class=userbox /> 
</td> </tr>


<tr><td>
Password:</td> <td> 
<input type="password" id="password" name="password" class=userbox />
</td> </tr>

<td>
<input type="submit" value="Log in" name="submit" class="button"  > 
</td>

<td> 
<a href="f/Register/index.php" target="_top" STYLE="text-decoration:none" > 
<input type="button" value="Register"  class="button" >  </a>
</td>
</form>



</table>
';
}

if($loggedIn == True) {
echo'
<table class=loggedin align=left > 

<caption class="topbg"  style="padding:1px; border-width:1px;border-color:#C7C7C7;border-style:solid solid none solid;"> 
Control Panel </caption>

<tr> <td >
Logged in as :  <b><font color=green>' 
.$_SESSION['username']. ' </font></b> 
<form method="POST" action="/f/log/Hlogout.php"  >
<br /> <input type="submit" name="logout" value="Logout"  class="logoutb" > 

<a style="text-decoration: none" href="f/Cpanel.php">
<input type="submit" name="Cpanel" value="Cpanel"  class="cpb" ></a>
</form>


</td></tr></table>

<!-- Log in form --> 
<!-- Control panel -->
';

}

echo'

<table class=main_table> <th> Main </th> <tr> <td>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer porttitor felis at nunc 
tincidunt tincidunt. Nulla posuere convallis tincidunt. Sed gravida turpis vitae metus 
ullamcorper congue. In vitae orci eu purus commodo fermentum et sit amet sem. Vivamus sed 
accumsan turpis. Etiam placerat feugiat sollicitudin. Nam vitae est 
augue, quis commodo tellus. <br><br>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer porttitor felis at nunc 
tincidunt tincidunt. Nulla posuere convallis tincidunt. Sed gravida turpis vitae metus 
ullamcorper congue. In vitae orci eu purus commodo fermentum et sit amet sem. Vivamus sed 
accumsan turpis. Etiam placerat feugiat sollicitudin. Nam vitae est 
augue, quis commodo tellus.

</td> </tr> </table>


</table>
<!-- Main table -->



<!-- bottom title -->
<div class=MT1>
<div class=table_bottom_title>

</div>
</div>
<!-- bottom title -->


<!-- bottom frame -->
<center> 
<iframe src="f/f.htm" class=iframe frameborder=0 scrolling=no marginheight=0 >
</iframe> 
</center>
<!-- bottom frame -->



<!-- last frame -->
<div class=MT1>
<table class=copyright > <tr> <td> Dark Avenger by   
<b> <a href="http://www.Davenger.tk"> <font color="#4CC417"> J-C </font> </a> </b>   </td> </tr></table>
</div>
<!-- last frame -->

</table>
</body>
</html>';
?> 

 

css:

body {
background: #333333;
color:#c7c7c7;
}

.copyright{
margin-top:30px; font-size:11px;
text-align:center; margin-left:auto; margin-right:auto;
background:url(images/cr.jpg); width:236px; height:28px;
}

.banner {
margin-left:auto; margin-right:auto; margin-bottom:30px;
width:800px; height:110px; margin-top:20px;
background:url(images/banner.gif);
}

.MT1 {
text-align:center;
}

.gbdiv {
border:solid 1px #999999; padding:2px;background:#333333;"
}

.gb_tables {
border-collapse:collapse;background:#333333; 
font-size:11px; font-weight:bold; color:white;
}



.MT {
border-collapse:collapse;
margin-left:auto; margin-right:auto;
width:800px;height:60px;
background-image: url(images/mt.gif);
}

.userbox {
width:80px; height:20px;
}

.gbbox {
width:150px; height:20px; 
}

.gb_table {
background:#202020;  padding:10px;
width:798; border:1px solid #7b7b7b; 
}

.gb_info_table {

background:#202020;  padding:1px;
border:1px solid #7b7b7b; 
}

.gb_table td{
background:#202020;
}


.gb_table1 {
vertical-align:top;
width:100%; 
}

.gb_table2 {
text-align:center;
}

.gb_table2 td{
text-align:left; padding:6px;
border:1px solid #7b7b7b; color:white;  font-size:13px;

}


.comment_box {
width:150px; height:60px;
}

.button{
width:80px; float:left;
text-align:center;
}

.logoutb{
width:55px; float:left;
text-align:center;
}

.cpb{
width:60px; float:right;
text-align:center;
}


.maint {
background:#202020;
width:794px; border:1px solid #7b7b7b;
}

.maint td{
padding-top:15px; padding-bottom:15px;padding-left:34; 
padding-right:10;
background:#202020;
}

.top_left_table {
background:#262626;
border:solid 1px  #c7c7c7 ; 
}

.top_left_table td{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
background:#262626; padding:3px; width:80px;

}

.loggedin {
background:#262626;
border:solid 1px  #c7c7c7 ;
}

.loggedin td{
border:dotted 1px #c7c7c7; padding-left:4px;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
background:#262626;padding-top:4px; 
}

.topbg {
font: 13px geneva, lucida, 'lucida grande', arial, helvetica, sans-serif ;
color:#202020; font-weight:600;
background:url(images/td.png);
}

.main_table {
background:#202020; margin-left:300px;
border:solid 1px  #c7c7c7 ; 
}

.main_table td{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding-left:10px; padding-top:10px; padding-bottom:10px;
border:dotted 1px #e7e7e7; width:400;
background:#262626;
}

.main_table th{
font: 13px geneva, lucida, 'lucida grande', arial, helvetica, sans-serif ;
color:#202020; font-weight:600;
background:url(images/td.png);
}

.table_bottom_title {
border-collapse:collapse; margin-bottom:10px;
margin-left:auto; margin-right:auto;
width:800px; height:30px;
background:url(images/bottom_title.gif);
}

.iframe{
width:798; height:26px;
} 

Link to comment
Share on other sites

nah im sure what i think it might be now is ( LOL ) My port 80 isn't open o.O but i don't get how that should affect it though...

 

Can't even modify my post... anyways is not that i put server on and still the problem remains Can you guys go to the website and tell me if you see it fine?

Link to comment
Share on other sites

WOW  can't edit my posts lol wtf, anyways the thing was i HAD to have the classess in css like according how they were on the html like if class  gpb  comes before class gpa  I HAD to have them before in the style css... is some weird stuff, didn't happen to me b4

Link to comment
Share on other sites

WOW  can't edit my posts lol wtf, anyways the thing was i HAD to have the classess in css like according how they were on the html like if class  gpb  comes before class gpa  I HAD to have them before in the style css... is some weird stuff, didn't happen to me b4

 

IE has a thing of not liking badly conformed CSS. And you cannot edit your posts after 20 minutes, as pressing 'submit' should be final.

Link to comment
Share on other sites

just a suggestion but have you tried using browser conditional statements like....

 

<!--[if IE]>

 

lol is a css bug not php I just realized that... Firefox does all the work for you but apparently you need to code your css like in "ORDER" for it to be correctly displayed, well anyways thanks for your help it took me some time but i finally did everything right.

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.