473,379 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

weird IE bug?

Hi.. I changed some of my CSS, and now I get this strange problem in
IE. See link: http://xailus.com/files/sample.gif. Left is firefox,
what it should look like, right is IE. The footer even varies in size
if you scroll or move it around or refresh and stuff.

HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>
<title>Xailus</title>
<link rel="stylesheet" type="text/css" href="reset.css" />
<link rel="stylesheet" type="text/css" href="fonts.css" />
<link rel="stylesheet" type="text/css" href="174/style.css" />
</head>

<body>
<div id="bd">
<div id="hd">
<h1>mnbayazit</h1>
<p>a journey into the mind of m. n. bayazit</p>
</div>

<ul id="nav">
<li class="first"><a href="?c=blog">blog</a></li><li><a
href="?c=todo">todo</a></li><li><a
href="../phpbb">forums</a></li><li><a
href="?c=calendar">calendar</a></li><li><a
href="?c=gallery">gallery</a></li>
</ul>

<div id="col1">
<?php
if( file_exists($_GET['c'].'.php') && $_GET['c'] != 'index' )
include( $_GET['c'].'.php' );
else echo '404 - File not found';
?>
</div>

<div id="col2">
<h1>categories</h1>
<ul>
<li><a href="">life</a></li>
<li><a href="">web design</a></li>
<li><a href="">work</a></li>
<li><a href="">starcraft</a></li>
<li><a href="">programming</a></li>
</ul>
</div>

<div id="ft">
Copyright &copy; Mark Bayazit 2006
</div>
</div>
</body>
</html>

style.css:
#bd {
margin: auto;
width: 600px;
background: url("bg.gif");
font:normal 11px Arial, Helvetica, Sans-serif;
color:#666;
}

#col1 {
float: left;
text-align: justify;
width: 460px;
padding: 10px;
}

#col2 {
float: right;
width: 100px;
padding: 10px;

}

#ft {
clear: both;
border-top: 1px solid white;
background: #666;
padding: 0 10px;
font: 10px tahoma;
color: white;
}

#hd {
height: 58px;
background: #666 url(logo.gif) no-repeat top left;
padding: 10px 0 10px 80px;
color: white;
}

#hd h1 {
font-size: 22px;
}

#hd p {
font: 8px verdana;
text-transform: uppercase;
color: #a5a5a5;
}

#nav {
background: #aaa9a9;
text-align: center;
border-top: 1px solid white;
border-bottom: 1px solid white;
}

#nav li {
display: inline;

border-left: 1px solid white;
}

#nav .first {
border-left: 0;
}

#nav a {
color: white;
padding: 0 10px;
}

#nav a:hover {
background: #ffa46b;
}

a {
text-decoration: none;
}

#col2 h1 {
color: white;
font-weight: bold;
font-size: 12px;
}

#col2 a {
color: white;
}

#col2 ul li {
padding: 0 0 0 10px;
background: transparent url(square.gif) no-repeat 0 50%;
}

#col2 a:hover {
color: #fcd2b8
}

reset.css:
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,f orm,fieldset,input,p,blockquote,th,td
{
margin: 0;
padding: 0;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

fieldset,img {
border: 0;
}

address,caption,cite,code,dfn,em,strong,th,var {
font-style: normal;
font-weight: normal;
}

ol,ul {
list-style: none;
}

caption,th {
text-align: left;
}

h1,h2,h3,h4,h5,h6 {
font-size: 100%;
}

q:before,q:after {
content: '';
}

fonts.css:
body {
font: 13px arial,helvetica,clean,sans-serif;
}
table {
font-size: inherit;
}

select, input, textarea {
font: 99% arial,helvetica,clean,sans-serif;
}

pre, code {
font: 115% monospace;
}

What's causing this, and how do I fix it? Thanks!

Jul 1 '06 #1
4 1742
Mark wrote:
Hi.. I changed some of my CSS, and now I get this strange problem in
IE. See link: http://xailus.com/files/sample.gif. Left is firefox,
what it should look like, right is IE. The footer even varies in size
if you scroll or move it around or refresh and stuff.
What did you change?
Provide an URL to a test case.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 2 '06 #2

Jim Moe wrote:
Mark wrote:
Hi.. I changed some of my CSS, and now I get this strange problem in
IE. See link: http://xailus.com/files/sample.gif. Left is firefox,
what it should look like, right is IE. The footer even varies in size
if you scroll or move it around or refresh and stuff.
What did you change?
Provide an URL to a test case.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
I wish I knew, or I would know what my problem was, wouldn't I? I
don't have a backup to a working version.

Current version can be viewed at http://www.xailus.com/v3/?c=test2

Jul 2 '06 #3
To further the education of mankind, "Mark" <mn*******@gmail.com>
vouchsafed:
Hi.. I changed some of my CSS, and now I get this strange problem in
IE. See link: http://xailus.com/files/sample.gif. Left is firefox,
what it should look like, right is IE. The footer even varies in size
if you scroll or move it around or refresh and stuff.
I'm not wading thru all the m/u but looks like a z-index thing.

--
Neredbojias
Infinity has its limits.
Jul 2 '06 #4
Mark wrote:
Hi.. I changed some of my CSS, and now I get this strange problem in
IE. See link: http://xailus.com/files/sample.gif. Left is firefox,
what it should look like, right is IE. The footer even varies in size
if you scroll or move it around or refresh and stuff.
Add "width:99.99%" to #ft.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 3 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gabriel Afana | last post by:
I have a simple php script to just send email.....When I first load the script in a browser...it sends 2 emails. Why?? The weird thing is then when I refresh the page, it send only one email...I...
3
by: redneck_kiwi | last post by:
Hi all: I have a really weird problem. I am developing a customer catalog system for my company and as such have delved into sessions for authentication and access levels. So far, I have managed...
13
by: Wolfgang Kaml | last post by:
Hello All, I have been researching newsgroups and knowledgebase all morning and not found a solution that would solve the problem I have. I am having an ASP or ASPX web page that implement a...
0
by: LRW | last post by:
I manage our mySQL database through putty (SSH terminal client). And whenever I do a select * from the table that contains ENCODEd passwords, the funky characters do funky things with the display....
2
by: jwbeaty | last post by:
Here's a weird one. I'm running SQL Server 7 and when I run a backup something weird happens. When I perform the backup via Enterprise Manager by right clicking on the database I want to...
1
by: Kaneda | last post by:
Hello everyone! I have some weird(?) problems, and I am not quite sure if there are due to my errors or maybe a limitation in the .Net framework. I have a ComboBox I need to fill with the...
0
by: Kaneda | last post by:
Hello everyone! I have some weird(?) problems, and I am not quite sure if there are due to my errors or maybe a limitation in the .Net framework. I have a ComboBox I need to fill with the...
82
by: nobody | last post by:
Howdy, Mike! mikecoxlinux@yahoo.com (Mike Cox) wrote in message news:<3d6111f1.0402271647.c20aea3@posting.google.com>... > I'm a C++ programmer, and have to use lisp because I want to use >...
3
by: aling | last post by:
Execute following T-SQL within Queary Analyzer of SQL Server 2000: ======================================= DECLARE @dTest DATETIME SET @dTest='2001-1-1 1:1:1:991' SELECT @dTest SET...
0
by: P Pulkkinen | last post by:
Dear all, sorry, i know this code is far little too long to debug here, but there is really annoying logical error. If someone debugs this, I really offer warm virtual handshake. What this...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.