Jump to content

VISTA IE v WinXP IE and CSS container


jasonc

Recommended Posts

the following code shows the page correctly in IE and FireFox, but when viewed using Vista and IE it is not showing correctly.

 

the box is now showing with gaps in between, but this should not be like this, it should all be in one block.

 

can anyone see what could be wrong with my code that is causing this to happen?

 

thanks in advance for your help.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
#index-container { border: 1px solid #fff; background: #CC9966; }
.rtopcolour1, .rbottomcolour1{ display: block; background:#CC9966; }
#index-content { margin: 8px; }
.containercolour1 { position:relative; background:#CC3366; margin:0 5px;}
.rtopcolour1 *, .rbottomcolour1 *{ display: block; height: 1px; overflow: hidden; background:#CC3366; }
.r1{ margin: 0 5px}
.r2{ margin: 0 3px}
.r3{ margin: 0 2px}
.r4{ margin: 0 1px; height: 1px }
h1 { text-align: left; font: small tahoma; font-size: 12px; font-weight: bold; margin: 0 0; padding: 5; }
h2 { text-align: left; font: small tahoma; font-size: 12px; font-weight: bold; margin: 0 5; padding: 5; }
h3 { text-align: left; font: small tahoma; font-size: 12px; font-weight: bold; margin: 0 5; padding: 10; }
</style>
</head>
<body bgcolor="#CC9966">

<div class="containercolour1">
<b class="rtopcolour1"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
	<h1><a class="two" href="" target="_blank">text here</a></h1>
<b class="rbottomcolour1"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>

</body></html>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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