Jump to content

Problem with displaying graphics


Liquid Fire

Recommended Posts

here is the html code for my header:

<div id="main_menu">
		<div id="top_header">
			<img src="<? echo $tracker_path; ?>images/header_icon.gif" />
		</div>
		<div id="bottom_header">
			<img class="left_header" src="<? echo $tracker_path; ?>images/left_header.gif" border="0" />
			<img class="right_header" src="<? echo $tracker_path; ?>images/right_header.gif" border="0" />
			<div id="content">
			TEST
			</div>
		</div>	
	</div>

 

here is the code from the css file:

/*MAIN MENU*/
#main_menu #top_header
{
height: 40px;
/*border: 1px solid black;*/
padding-left: 10px;
padding-right: 10px;
background-color: black;
}

#main_menu #bottom_header
{
height: 25px;
margin-left: 5px;
margin-right: 5px;
}

#main_menu #bottom_header #content
{
height: 25px;
margin-left: 25px;
margin-right: 25px;

background-image: url("http://localhost/projecttracker/images/header_middle.gif");
background-repeat: repeat-x;


color: white;
font-weight: bolder;
}

 

in FireFox this looks fine but it IE there are space between the images and the background image for the div that has the content.  here is a link the the url so you can see what i mean:

http://www.kaizendigital.com/project_tracker/login.php

 

Can someone help me on this please.  I don't even know why i am using css when IE can't support simple css standards.

Link to comment
https://forums.phpfreaks.com/topic/36573-problem-with-displaying-graphics/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.