jasonc Posted May 21, 2008 Share Posted May 21, 2008 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> Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/ Share on other sites More sharing options...
haku Posted May 22, 2008 Share Posted May 22, 2008 What box is showing with what gaps in between what? Is that dreamweaver generated code? Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-546998 Share on other sites More sharing options...
jasonc Posted May 22, 2008 Author Share Posted May 22, 2008 works ok using windows xp but when a visitor views the page using vista the page is now correctly shown. http://roundshaw.com/testtextbox.php Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547031 Share on other sites More sharing options...
haku Posted May 22, 2008 Share Posted May 22, 2008 I dont get it, it works ok with XP, and its correctly shown with Vista - so what's the problem? Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547033 Share on other sites More sharing options...
jasonc Posted May 22, 2008 Author Share Posted May 22, 2008 sorry a typo, on vista it is not shown correctly. the css lines that make up the top and bottom section of the box are not all together they all have a gap in between them. Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547046 Share on other sites More sharing options...
haku Posted May 22, 2008 Share Posted May 22, 2008 Ahh, I see. Sorry, I don't have vista so I cant check it out! Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547104 Share on other sites More sharing options...
wrongmove18 Posted May 22, 2008 Share Posted May 22, 2008 What is the version of IE in XP? Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547177 Share on other sites More sharing options...
jasonc Posted May 22, 2008 Author Share Posted May 22, 2008 What is the version of IE in XP? my Win XP IE version is v7 i think the version of IE on the vista pc i had someone check the page out on is v7 Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547214 Share on other sites More sharing options...
Xurion Posted May 22, 2008 Share Posted May 22, 2008 Works fine on IE7, IE8 Beta, FF2 and FF3 Beta on my Vista machine. Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547388 Share on other sites More sharing options...
jasonc Posted May 22, 2008 Author Share Posted May 22, 2008 please look at the following page and tell me if the results are the same. www.roundshaw.com/testtextbox.php thanks Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547436 Share on other sites More sharing options...
dare87 Posted May 22, 2008 Share Posted May 22, 2008 I checked it on my vista and xp comp and they look the same. XP IEv7.0.5730.** Vista IEv7.0.6000.***** Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547473 Share on other sites More sharing options...
Xurion Posted May 22, 2008 Share Posted May 22, 2008 Tried on different Vista machine and it was the same. Seems to be fine. Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547491 Share on other sites More sharing options...
jasonc Posted May 22, 2008 Author Share Posted May 22, 2008 ok, seem like it is not just the css text box, please visit the main site.... www.du m ptr ump et.com (remove the space) Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-547656 Share on other sites More sharing options...
Xurion Posted May 23, 2008 Share Posted May 23, 2008 I dont' know what to look for. Everything on that site looks ok (going along the lines of what this topic is about) Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-548026 Share on other sites More sharing options...
jasonc Posted May 24, 2008 Author Share Posted May 24, 2008 here is the results of a mates Vista pc viewing in IE... [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/106597-vista-ie-v-winxp-ie-and-css-container/#findComment-548840 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.