/    Sign up×
Community /Pin to ProfileBookmark

displays correctly under ie

I’m a diehard Mozilla user, but my darn project looks better under Internet Explorer.
[url]http://freewebs.com/vintagecloning/[/url]

[code=php]
body {
font-family: Verdana, Helvetica, sans-serif;
}
#main {
width: 100%;
}
#header {
background-color: rgb(211,220,227);
color: rgb(0,0,0);
height: 100%;
}
#lhead {
float: left;
width: 65%;
text-align: center;
}
#rhead {
float: left;
width: 35%;
text-align: right;
}
[/code]

[code=php]
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en-US”>
<head>
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
<meta name=”author” content=”[email protected]” />

<title>header template</title>
<link href=”styles/default.css” rel=”stylesheet” type=”text/css” />
</head>
<body>
<div id=”main”>
<div id=”header”>
<div id=”lhead”>
<h1>PHPMyFamily</h1>
<h2>The Genealogy of Joshua J Mallory</h2>
</div>
<div id=”rhead”>
<p>10 People on file</p>
</div>
</div>
</div>
</body>
</html>
[/code]

What can I do to make it look the same for Mozilla?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@grailquester5May 15.2005 — IE = LEAST standards-compliant browser. Change your code for Mozilla, etc., then work out the bugs in IE...

Welcome to the pain...
Copy linkTweet thisAlerts:
@JoshauthorMay 15.2005 — uh I write for Mozilla first, all others second.
Copy linkTweet thisAlerts:
@JoshauthorMay 15.2005 — [SIZE=4]Solved![/SIZE]

Here's what I needed...
<i>
</i>#header {
display: table;
width: 100%;
}
×

Success!

Help @Josh spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...