WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > Browser Compatibility > Cross Browser Problem

 
  Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 7th January 12, 09:36 AM   #1
tqmd1
WLC Member
 
Join Date: Oct 2011
Posts: 18
Default Cross Browser Problem

Dear Experts

I have following codes

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>
<title>Asia Ghee Mills</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" 

/>


<style type="text/css">
html {
  overflow: auto;
  background: #e3eeff;
height:100%;
}

body	{margin:0 auto;}


#header {
	float:left;
  	width: 675px;
  	height: 100px;
  	color: white;
  	border-bottom: 1px solid black;
	background: url("http://i41.tinypic.com/5yhtdx.jpg") no-repeat;
	}


#header p {
	font-size: 36pt;
  	font-weight: bolder;
  	color: green;
  	font-family: verdana;
  	text-align: center;
	line-height: 50px;
	height: 100px;
  	}

</style>

</head>

<body>
  	<div id="header">
	<p>Asia Ghee Mills</p></div>
</div>
</body>
</html>
The label position is different in IE6 and IE8 as shown in attachment.
I want label (Asia Ghee Mills) must appear horizontly and vertically center.

http://www.codingforums.com/attachme...6&d=1325931735

http://www.codingforums.com/attachme...7&d=1325931751

Please help
tqmd1 is offline   Reply With Quote
 


Thread Tools
Display Modes
Threaded Mode Threaded Mode

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

Forum Jump


All times are GMT. The time now is 12:06 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.