Problem with IE , Firefox displays website fine (blank space issue)

This is a discussion on "Problem with IE , Firefox displays website fine (blank space issue)" within the Web Page Design section. This forum, and the thread "Problem with IE , Firefox displays website fine (blank space issue) are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 29th, 2006, 13:47
New Member
Join Date: Jul 2006
Location: sydney
Age: 23
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Problem with IE , Firefox displays website fine (blank space issue)

Hey guys , im working on a clan website and just half finished a prototype. However i encountered a problem . in the #content div i want the background to be fully covering the whole height of the div. In firefox it displays it exactly as i want but IE doesnt . it instead leaves space .

can u guys check this website in both IE and Firefox and tell me the problem.

clan website prototype (note: the images havnt been optimised yet ,so it may take a while to load)

thanxx.

my css file:
Code:


body {background-image:url(images/bg.gif) }




#maincontainer {
position:absolute;
top:0px;
left:0px;
margin-left:13%;
width:780px;
border:solid;
border-color:green;
border-width:2px;
height:800px;

}

#borderleft {

border:solid;
border-color:white;
border-width:0px;
width:16px;
background-image:url(images/leftborder.png);
background-repeat:repeat-y;
background-position:left;
height:800px;

}

#bartop {
position:absolute;
top:0px;
border:solid;
border-color:blue;
border-width:0px;
width:748px;
margin-left:16px;
height:24px;


}

#borderright {
position:absolute;
border:solid;
border-color:white;
border-width:0px;
width:16px;
background-image:url(images/rightborder.png);
background-repeat:repeat-y;
background-position:right;
height:800px;
top:0px;
right:0px;

}

#logo img {
width:748px;
height:152px;

}


#logo {

position:absolute;
top:24px;
left:16px;
border:solid;
border-color:red;
border-width:0px;
width:748px;
margin-top:-5px;

}

#nav {
position:absolute;
top:176px;
left:16px;
border:solid;
border-color:yellow;
border-width:0px;
height:25px;
width:748px;
margin-top:-3px;
padding-left:1px;
}


#filler1 {
position:absolute;
left:0px;
width:3px;
height:25px;
display:inline;
border:solid;
border-color:red;
border-width:0px;

}


#news {
position:absolute;
left:3px;
width:93px;
height:25px;
display:inline;

}

#roster {
position:absolute;
left:96px;
width:78px;
height:25px;
display:inline;

}


#servers {
position:absolute;
width:82px;
height:25px;
display:inline;
left:174px;
}

#cs {
position:absolute;
width:237px;
height:25px;
display:inline;
left:256px;
}


#matches {
position:absolute;
width:80px;
height:25px;
display:inline;
left:493px;
}

#files {
position:absolute;
width:76px;
height:25px;
display:inline;
left:573px;
border:solid;
border-color:red;
border-width:0px;
}

#links {
position:absolute;
width:95px;
height:25px;
border:solid;
border-color:red;
border-width:0px;
left:649px;
display:inline;
}

#barbottom {
position:absolute;
left:16px;
top:200px;
width:748px;
border:solid;
border-color:red;
border-width:0px;

}

#mcontent {
position:absolute;
top:216px;
bottom:33px;
left:16px;
width:748px;
border:solid;
border-color:blue;
border-width:2px;
background-color:#757575;
height:auto;
}
#content {


position:absolute;
bottom:0px;
top:0px;
background-color:#757575;
border:solid;
border-color:blue;
border-width:0px;
width:748px;



}

#barlast {
position:absolute;
left:16px;
bottom:0px;
width:748px;


}




a:link {border-width:0px}




my index.html file:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 TRANSITIONAL//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="keywords" content="counterstrike,CS,cs tutorials,cs guides,.:{EK}:. Squall,ecstatic killers" />
<meta name="description" content="website for ecstatic killers clan featuring various Counter Strike related guides" />
<meta name="generator" content="Notepad++" />
<meta name="author" content="*plum* 'Squall' Thalari" />
<meta name="copyright" content="&copy;2006 *plum* 'Squall' Thalari" />

<title>Team Ecstatic Killers</title>

<link rel="stylesheet" type="text/css" href="main.css" />

</head>

<body>
<div id="maincontainer"> <!--start of maincontainer-->
<div id="borderleft"> <!--start of borderleft-->
</div> <!--end of borderleft-->

<div id="bartop">
<img src="images/bartop.png" height="24px" alt="" />
</div>
<div id="borderright"> <!--start of borderright-->
</div> <!--end of borderright-->

<div id="logo"> <!--start of logo-->
<img src="http://h1.ripway.com/.:{EK}:.%20Squall/logo.gif" height="152px" width="152px" alt="Team Ecstatic Killers Logo" />
</div>

<div id="nav"> <!--start of nav-->

<div id="filler1"> <!--start of filler1-->
<img src="images/fill.png" height="25px" width="3px" alt="" />
</div> <!--end of filler1-->



<div id="news"> <!--start of news-->
<a href="news.html" onmouseover="document.news.src='news2.png'" onmouseout="document.news.src='news.png'"><img src="images/news.png" name="news" border="0" height="25px" width="93px" alt="News" /></a>
</div> <!--end of news-->

<div id="roster"> <!--start of roster-->
<a href="roster.html" onmouseover="document.roster.src='roster2.png'" onmouseout="document.roster.src='roster.png'"><img src="images/roster.png" border="0" name="roster" height="25px" width="78px" alt="Roster" /></a>
</div> <!--end of roster-->

<div id="servers"> <!--start of servers-->
<a href="servers.html" onmouseover="document.servers.src='servers2.png'" onmouseout="document.servers.src='servers.png'"><i mg src="images/servers.png" name="servers" border="0" height="25px" width="82px" alt="Servers" /></a>
</div> <!--end of servers-->

<div id="cs"> <!--start of cs-->
<a href="cs.html" onmouseover="document.cs.src='cs2.png'" onmouseout="document.cs.src='cs.png'"><img src="images/cs.png" height="25px" name="cs" border="0" width="237px" alt="Counter Strike Guides and Tutorials" /></a>
</div> <!--end of cs-->

<div id="matches"> <!--start of matches-->
<a href="matches.html" onmouseover="document.matches.src='matches2.png'" onmouseout="document.matches.src='matches.png'"><i mg src="images/matches.png" name="matches" border="0" height="25px" width="80px" alt="Matches" /></a>
</div> <!--end of matches-->

<div id="files"> <!--start of files-->
<a href="files.html" onmouseover="document.files.src='files2.png'" onmouseout="document.files.src='files.png'"><img src="images/files.png" name="files" border="0" height="25px" width="76px" alt="Files" /></a>
</div> <!--end of files-->

<div id="links"> <!--start of links-->
<a href="links.html" onmouseover="document.links.src='links2.png'" onmouseout="document.links.src='links.png'"><img src="images/links.png" name ="links" border="0" height="25px" width="99px" alt="Links" /></a>
</div> <!--end of links-->


</div> <!--end of nav-->


<div id="barbottom"> <!--start of barbottom-->
<img src="images/pagebar.png" height="16px" width="748px" alt="" />
</div> <!--end of barbottom-->
<div id="mcontent">
<div id="content"> <!--start of content-->


Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
nec, venenatis ut, massa. Vestibulum nisl risus, sodales et,
imperdiet et, ultricies at, ante. Phasellus leo justo, hendrerit non,
fringilla sed, egestas nec, tellus. Integer arcu augue, imperdiet ac,
fringilla ut, varius ut, dolor. Cras hendrerit massa in lacus. Aliquam e
get mauris sed sem tempus ultrices. Nulla ut nibh. Cras sagittis nibh et
sapien. Morbi sem elit, condimentum eu, varius eget, malesuada eu, libero.
Etiam posuere porttitor justo. Suspendisse eget diam vel lorem scelerisque
rhoncus. Cras sit amet ante.
m ipsum dolor sit amet, consectetuer adipiscing elit.
nec, venenatis ut, massa. Vestibulum nisl risus, sodales et,
imperdiet et, ultricies at, ante. Phasellus leo justo, hendrerit non,
fringilla sed, egestas nec, tellus. Integer arcu augue, imperdiet ac,
fringilla ut, varius ut, dolor. Cras hendrerit massa in lacus. Aliquam e
get mauris sed sem tempus ultrices. Nulla ut nibh. Cras sagittis nibh et
sapien. Morbi sem elit, condimentum eu, varius eget, malesuada eu, libero.
Etiam posuere porttitor justo. Suspendisse eget diam vel lorem scelerisque
rhoncus. Cras sit amet ante.
m ipsum dolor sit amet, consectetuer adipiscing elit.
nec, venenatis ut, massa. Vestibulum nisl risus, sodales et,
imperdiet et, ultricies at, ante. Phasellus leo justo, hendrerit non,
fringilla sed, egestas nec, tellus. Integer arcu augue, imperdiet ac,
fringilla ut, varius ut, dolor. Cras hendrerit massa in lacus. Aliquam e
get mauris sed sem tempus ultrices. Nulla ut nibh. Cras sagittis nibh et
sapien. Morbi sem elit, condimentum eu, varius eget, malesuada eu, libero.
Etiam posuere porttitor justo. Suspendisse eget diam vel lorem scelerisque
rhoncus. Cras sit amet ante.

</div> <!--end of content-->
</div> <!--start of mcontent-->

<div id="barlast"> <!--start of barlast-->
<img src="images/barlast.png" width="748px" height="33px" />
</div> <!--end of barlast div-->




</div> <!--end of maincontainer div-->
</body>
</html>
Reply With Quote

  #2 (permalink)  
Old Jul 29th, 2006, 15:33
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: Problem with IE , Firefox displays website fine (blank space issue)

Try adding,
padding:0
Reply With Quote
  #3 (permalink)  
Old Jul 29th, 2006, 16:26
New Member
Join Date: Jul 2006
Location: sydney
Age: 23
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with IE , Firefox displays website fine (blank space issue)

nope,added 0 padding and ie still leaves space.
Reply With Quote
  #4 (permalink)  
Old Jul 29th, 2006, 17:10
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: Problem with IE , Firefox displays website fine (blank space issue)

I think the problem is with #mcontent.

If you lokk at the site in IE, there is no blue border, just a blue line at the top of the div. IE doesn't understand the height: auto instruction.
Reply With Quote
  #5 (permalink)  
Old Jul 29th, 2006, 17:36
New Member
Join Date: Jul 2006
Location: sydney
Age: 23
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with IE , Firefox displays website fine (blank space issue)

i took out height:auto but the problem still exists
Reply With Quote
  #6 (permalink)  
Old Jul 29th, 2006, 17:44
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with IE , Firefox displays website fine (blank space issue)

off topic but, your text would look better on top of the rain effect and the whole thing would be better if you could reduce the file size.
Reply With Quote
  #7 (permalink)  
Old Jul 29th, 2006, 17:52
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: Problem with IE , Firefox displays website fine (blank space issue)

It's still there in the version I'm looking at. Take it out and leave it out otherwise we can't see whats going on.

BTW I don't see the header image in Firefox.

Also as you are supposed to be coding to xhtml standards, remove all the 'px' from width and height measurements.

You appear to be reusing anchor names which is not allowed.


Reply With Quote
Reply

Tags
problem, firefox, displays, website, fine, blank, space, issue

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank Space between 2 rows JunkFood Web Page Design 1 Mar 26th, 2008 22:33
Forum text editor issue with IE.Fine in FF. alicanteman Web Page Design 0 Mar 2nd, 2008 21:38
Displays wrong in Firefox JustinStudios Web Page Design 7 Jun 28th, 2007 19:56
Displays wrongly in Firefox? spon Web Page Design 5 Feb 15th, 2007 17:19
designed a website in CSS but displays differently in other browsers skyfire400 Web Page Design 8 Jan 25th, 2006 11:53


All times are GMT. The time now is 21:07.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43