472,958 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 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 1716
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
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.