WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-22-2005, 09:45 AM
Spectur's Avatar
WebProWorld Pro
 

Join Date: Mar 2005
Location: Tampa,Fl
Posts: 239
Spectur RepRank 0
Default Css display problem in Firefox

Hi all

I has a strange issue.

The page http://www.itds.us/Template2.htm
displays properly in IE but the background image of the wrapper container div does not display in Firefox.

I have just started this base template and am trying to apply the Faux column trick to make column graphics fill to the bottom of all columns to make things look even. Even a basic background-color does not display properly in Firefox.

Below is the code for the css and the template page in question.

Any feed back would be of a great help.

Spectur

/* CSS Document */
body{background-color:#000000;}
#container{width:800px;
position:relative;
margin: 0 auto;}

#wrapper{background:url(images/wrapper.gif) repeat-y 50% 0;
width:800px;
}

#bannerwrap{
width:800px;
margin:0 0 0 0;
height:150px;
}
#bannerleft{
float:left;
width:200px;
height:150px;
background:url(images/topleft.gif);
margin:0 0 0 0;
}

#bannercenter{
float:left;
width:399px;
height:150px;
background:url(images/topcenter.gif);
margin:0 0 0 0;
}

#bannercenter h1{
text-align:center;
font-family:Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-weight:bold;
padding-top:75px;}

#bannerright{
float:right;
width:201px;
height:150px;
background:url(images/topright.gif);
margin:0 0 0 0;
}

#menubar{
width:800px;
height:50px;
background:url(images/menubar.gif);
margin:0 0 0 0;
color:#ffffff;
}

#leftcol{
float:left;
width:200px;
}
#rightcol{
float:right;
width:100px;}

#content{
float:left;
width:500px;
background:url(images/ccf.gif) repeat-y 50% 0;
}

#footer{ width:800px;
background-color:#0066FF;
height:50px; }


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="pv2.css">
</head>
<body>

<div id="container">
<div id="bannerwrap">
<div id="bannerleft"></div>
<div id="bannercenter"><h1>ProgrammerVault.com</h1></div>
<div id="bannerright"></div>
</div>
<div id="menubar"></div>
<div id="wrapper">
<div id="leftcol">Left Col</div>
<div id="content">this is content









</div>
<div id="rightcol">Right Col</div>
</div>
</div>
</body>
</html>
Reply With Quote
  #2 (permalink)  
Old 11-22-2005, 10:03 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 833
speed RepRank 1
Default

Add float: left; to #wrapper I don't think it'll break IE.
__________________
TOLRA Micro Systems Limited US & UK Web Hosting with Continuous Data Protection
Web Directory 2 for 1 Offer : Web Directory Script
Reply With Quote
  #3 (permalink)  
Old 11-22-2005, 10:11 AM
Spectur's Avatar
WebProWorld Pro
 

Join Date: Mar 2005
Location: Tampa,Fl
Posts: 239
Spectur RepRank 0
Default

Thanks that fixed it.

Just curious why would it require me to do a float lef to get the css to work if FIrefox ?
Reply With Quote
  #4 (permalink)  
Old 11-22-2005, 10:13 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 833
speed RepRank 1
Default

It's showing correctly for me, have you tried flushing the browser cache?
__________________
TOLRA Micro Systems Limited US & UK Web Hosting with Continuous Data Protection
Web Directory 2 for 1 Offer : Web Directory Script
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

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

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


Search Engine Optimization by vBSEO 3.2.0