Jump to content

Browser issues


Evil Glint

Recommended Posts

I thought I had my site looking okay (though it needs a lot of design work done yet), but at a friend's house, it doesn't look right. It turns out the page displays as I want it to in Mac SeaMonkey, Mac Safari, and Windows Google Chrome, but not Windows Internet Explorer. In particular, the banner alignment is a little off on one page, and completely distorted on another. Any ideas how to fix this?

 

<html> 
<head> 
<title> 
Caleb's Web Page</title> 
<link rel="stylesheet" type="text/css" href="files/css/denim/css.css"> 
</head> 
<body> 
<!-- Banner Bar --> 
<div class="bannerbar"> 
<img class="banner" src="files/css/denim/banner.png" alt="" /> 
</div> 
<!-- /Banner Bar --><table class="webbody"> 
<tr><td colspan="2" class="title"> 
<h1>Welcome to my web page!</h1> 
</td></tr> 
<tr><td class="menu"> 
<h2>Menu</h2> 
<!-- side menu --> 
&#187;&#160;<a href="../"><b>Back to main site</b></a><br/> 
&#187;&#160;<a href="?page=index">Index</a><br/> 
<!-- &#187;&#160;<a href="?page=gamequotes">Video Game Quotes</a><br/> --> 
&#187;&#160;<a href="?page=chestmaw">Chestmaw</a><br/> 
&#187;&#160;<a href="phpinfo.php">PHP Info</a><br/> 
<!-- /side menu --> 
</td> 
<td class="content"> 
<p>Welcome to the site! It doesn't look like much now, but I'm working on it.</p> 
<p>If you use the link on the left, you can get back to the main hub site. Ben doesn't have anything up yet, but Mckenzie has several photos available.</p> 
<p>Alternitively, you could click the PHP info link, but that page was just an experiment, and you wouldn't understand what is says. I don't even understand it.</p> 
<p>I have a picture of a Chestmaw for you, Mother (<a href="?page=chestmaw">link</a>).</p> 
<p>I hope to have a forum up soon, but things are not looking good.</p></td></tr></table>© Caleb Palmer (last updated
December 2, 2010)
</body> 
</html> 

Link to comment
Share on other sites

I'm not trying to get the whole page to look right, just the banner. But here is the validated html (although it's still complaining about the semicolon in "©", I don't think I can do anything about it), with the same issue:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>
Caleb's Web Page</title>
<link rel="stylesheet" type="text/css" href="files/css/Denim/css.css">
</head>
<body>
<!-- banner bar -->
<div class="bannerbar">
<img src="denimbannertemp.png" alt="">
</div>
<!-- banner bar -->
<table class="webbody">
<tr><td colspan="2" class="title">
<h1>Welcome to my web page!</h1>

</td></tr>
<tr><td class="menu">
<h2>Menu</h2>
<!-- side menu -->
&#187;&#160;<a href="?page=index">Index</a><br>
<!-- /side menu -->
</td>
<td class="content">
<!-- page content -->
<p>Welcome to the site! It doesn't look like much now, but I'm working on it.</p>
<!-- /page content -->
</td></tr></table> © Caleb Palmer (last updated
December 3, 2010</body>

</html>

Link to comment
Share on other sites

body {
background-color: #0000FF;
font-family: Arial, Verdana, sans-serif;
font-size: 18px;
color: #FFFFFF;
background-image:url('Denim.png');
background-attachment:fixed;
}

.bannerbar {
margin-top: 20px;
margin-right: 0px;
margin-bottom: 10px;
margin-left: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
background-color: #000055;
background-image: url('DenimBannerStrip.png');
height:100px;
border:1px dashed #006;
}

.banner {
float:left;
}

.webbody {
padding-right: 20px;
padding-left: 20px;
padding-bottom: 20px;
padding-top: 20px;
width: 95%;
background-image: url('DenimLight.png');
border:1px dashed #006;
margin: auto;
background-attachment:fixed;
}

.title {
margin-bottom: 20px;
margin-top: 20px;
padding-right: 20px;
padding-left: 20px;
padding-bottom: 20px;
padding-top: 20px;
background-image: url('DenimDark.png');
background-attachment:fixed;
}

.menu {
padding-right: 20px;
padding-left: 20px;
padding-bottom: 20px;
padding-top: 20px;
background-image: url('DenimDark.png');
width: 25%;
background-attachment:fixed;
vertical-align: top;
}

.menu A:link {text-decoration: none; color: white;}
.menu A:visited {text-decoration: none; color: white;}
.menu A:active {text-decoration: none; color: white;}
.menu A:hover {text-decoration: overline underline; color: white;}

.content {
padding-right: 20px;
padding-left: 20px;
padding-bottom: 20px;
padding-top: 20px;
background-image: url('DenimDark.png');
width: 75%;
background-attachment:fixed;
vertical-align: top;
}

The images can be found at http://manintan.tk/files/css/Denim/ , and the page at http://manintan.tk/ .

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.