Solved

CSS problem with IE. Strange Gap Appears

Posted on 2008-10-16
2
1,499 Views
Last Modified: 2013-12-08
Hello Experts,

I have been banging my head against this all day yesterday, hoping someone can look at this HTML/CSS and help me

Pretty straight forward stuff, I just must be having a brain fart. Bottom line is everything looks fine in FF, but when loaded in IE, there is a strange gap in my popup form. Please help me.

Please view the test page at http://dev.ipromo.com/index.html
<META http-equiv=Content-Type content="text/html; charset=UTF-8">

<link rel="icon" href="/favicon.ico" />

<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />

<link href='/css/RAQpopup.css' rel=stylesheet type='text/css' />

<script src="/js/main.js" type="text/javascript"></script>

<script src="/js/prototype/super.js" type="text/javascript"></script>

</head>

<body>

<!-- RAQ POPUP START-->

	<div id="floatlayer" style="padding:0px;display:block;position:absolute;z-index:999999;opacity:100; width: 411px;">

	<div class="raq-tl">

    	<div class="raq-tr">

        	<div class="raq-tc">

            	<div class="x-window-header x-unselectable x-window-draggable" id="ext-gen7"

                	style="-moz-user-select: none; cursor: pointer; cursor: hand;" >

                    <span class="x-window-header-text" id="ext-gen32">

                    <img src="/images/popup/header2.jpg"  alt="header images"></span>

	            </div>

	        </div>

 	    </div>

   	</div>

		<div style="border-style:solid;border-color:rgb(136,168,205);border-width:1px;border-top:0px;background-color:#f7fcfe;">

        	<div id="RAQpopup" style="padding:5px;padding-top:0px;padding-right:0px;border-style:solid;border-color:rgb(230,242,251);border-width:1px;border-top: 0px;">

			<form onSubmit="return checkRAQ();" name="RAQ" action="?fuseaction=contact.sendRAQ" method="POST" style="margin-bottom:0px;">

			<div id="RAQform" name="RAQform">

			<table cellpadding="0" cellspacing="0" border="0" align="center">

		      <tr>

		        <td class="contact_text" width="60"><div style="margin-top:5px;"><label for="name"><font color="#1e305f">*</font><strong>Name:&nbsp;</strong></label></div></td>

		        <td width="85"><input type="text" name="name" id="name" class="contact_input" style="width: 85px; margin-top:5px;" /> </td>

		        <td width="50">&nbsp;</td>

		        <td class="contact_text" width="90"><div style="margin-top:5px;"><label for="telephone">Phone:&nbsp;</label></div></td>

	        	<td width="91"><input type="text" name="telephone" id="telephone" class="contact_input" style="width: 85px; margin-top:5px;" /><input type="hidden" name="send" value="send"><input type="hidden" name="referer" id="referer" value=""> </td>

	        	<td rowspan="2"><img src="/images/popup/steve.jpg"></td>

		      </tr>

		      <!--<tr><td colspan="5">&nbsp;</td></tr>-->

		      <tr>

	          	<td width="70" class="contact_text"><div style="margin-top:8px;"><label for="email"><font color="#1e305f">*</font><strong>E-Mail:&nbsp;</strong></label></div></td>

		        <td><input type="text" name="email" id="email" class="contact_input" style="width: 85px; margin-top:8px;" /> </td>

		      <td width="5">&nbsp;</td>

	            <td class="contact_text"  width="90"><div style="margin-top:8px;"><label for="via">Reply Via:&nbsp;&nbsp;</label></div></td>

		        <td><select name="via" id="via" style="width:85px; margin-top:8px;">

	            	<option value="E-Mail" selected="selected">E-Mail</option><option value="Phone">Phone</option></select></td>

			  </tr>

	          <tr><td colspan="6"><img src="/images/popup/line.jpg" width="402"></td></tr>

		      <tr><td colspan="6"><div style="margin-top:8px; margin-left:8px;"><label for="RAQmsg" style="font-size:12px;"><strong>How may we help you today?</strong></label></div></td></tr>

		      <tr>

		      	<td colspan="4"><textarea name="message" id="RAQmsg" style="width:235px; height: 100px; font-style: italic; color: grey; font-size: 11px; margin-top:5px; margin-left:8px;" onClick="this.innerHTML = ''; this.style.fontStyle = 'normal'; this.style.color ='black';" onBlur="checkRAQtxtarea();">Product information, request a quick quote, general questions, order status, etc.</textarea></td>

	            <td colspan="2"><div align="center" style="margin-right:8px; margin-left:8px;"><a id="_lpChatBtn" href='http://server.iad.liveperson.net/hc/69251352/?cmd=file&file=visitorWantsToChat&site=69251352&byhref=1&imageUrl=https://www.ipromo.com/images' target='chat69251352'  onClick="lpButtonCTTUrl = 'http://server.iad.liveperson.net/hc/69251352/?cmd=file&file=visitorWantsToChat&site=69251352&imageUrl=https://www.ipromo.com/images&referrer='+escape(document.location); lpButtonCTTUrl = (typeof(lpAppendVisitorCookies) != 'undefined' ? lpAppendVisitorCookies(lpButtonCTTUrl) : lpButtonCTTUrl); window.open(lpButtonCTTUrl,'chat69251352','width=475,height=400,resizable=yes');return false;" ><img src="https://server.iad.liveperson.net/hc/69251352/?cmd=repstate&site=69251352&channel=web&&ver=1&imageUrl=https://dev.ipromo.com/images/popup" border="0" /></a></div></td>

	      	  </tr>
 

	          <tr>

	            <td colspan="6">

	         	 	<div style="cursor:pointer;display: block; float:left; margin-top:3px; margin-right:8px;" id="send_btn" class="contact_submit"><div align="left" style="width:85px;">

	                    	<img onClick="RAQajax();" src="/images/popup/send.jpg" border="0" style=" margin-left:7px; margin-top:3px;" />

	                    </div>

	                </div>

	           <div style="cursor:pointer; margin-left:4px; margin-right:5px; float:right; margin-top:8px;" onClick="closeRAQ();"><img src="/images/popup/close.jpg"></div>

               <div id="never_container" onclick="createCookie('RAQnoshow',1,30);closeRAQ();" style="font-size:10px; margin-top:8px; float:right">

	         	<input type="checkbox" style="border:none;" id="never" name="never" onclick="createCookie('RAQnoshow',1,30);closeRAQ();">Do not show again

	           </div>

               </td>

		      </tr>

			</table></div>

			<div id="RAQSuccess" style="display: none;">

				<table align="center"><tbody><tr><td>Your Request has been sent</td></tr><tr><td><div style="font-size: 10px; margin-left: 3px; margin-top: 8px; float: left;" onClick="createCookie('RAQnoshow',1,30);$('RAQform').style.display = 'block'; $('RAQSuccess').style.display = 'none'; $('floatlayer').style.display = 'none';" id="never_container2"><input type="checkbox" name="never2" id="never2" style="border: medium none ;"/><label for="never">Do not show again</label></div><div onClick="createCookie('RAQviewed', 3, 1); $('RAQform').style.display = 'block'; $('RAQSuccess').style.display = 'none'; $('floatlayer').style.display = 'none'; TimedPop(); " style="margin-left: 2px; margin-right: 5px; float: right; margin-top: 8px;"><img src="/images/popup/close.jpg"/></div></td></tr></tbody></table>

			</div>

	</form>

	</div>

  </div>

</div>

<!-- RAQ POPUP END-->
 

</body>

</html>

Open in new window

0
Comment
Question by:iPromoExpert
  • 2
2 Comments
 
LVL 3

Author Comment

by:iPromoExpert
ID: 22734582
Here's the CSS
.x-panel-tl .x-panel-icon,.raq-tl .x-panel-icon{padding-left:20px!important;background-repeat:no-repeat;background-position:0 0px;zoom:1;}

.raq-tl .x-window-header{color:#15428b;font:bold 11px tahoma,arial,verdana,sans-serif;padding:1px 0 0px 0;}

.raq-tl{background:transparent url(/images/popup/left-corners.png) no-repeat 0 0;padding-left:1px;zoom:1;z-index:1;position:relative;}

.x-window-maximized .x-window-bl,.x-window-maximized .x-window-br,.x-window-maximized .x-window-ml,.x-window-maximized .x-window-mr,.x-window-maximized .raq-tl,.x-window-maximized .raq-tr{padding:0;}

.x-panel-ghost .raq-tl{border-bottom:1px solid #99bbe8;}

.x-panel-collapsed .raq-tl{border-bottom:1px solid #84a0c4;}

.raq-tr{background:transparent url(/images/popup/right-corners.png) no-repeat right 0;padding-right:1px;}

.x-window-maximized .raq-tc{padding-left:3px;padding-right:3px;background-color:white;}

.raq-tc{background:transparent url(/images/popup/top-bottom.png) repeat-x 0 0;overflow:hidden;zoom:1;}

.x-window-draggable,.x-window-draggable .x-window-header-text{cursor:move;}

.x-window-header{overflow:hidden;zoom:1;}

.x-unselectable,.x-unselectable *{-moz-user-select:none;-khtml-user-select:none;}

.x-window-draggable,.x-window-draggable .x-window-header-text{cursor:move;}

.x-window-maximized .x-window-draggable,.x-window-maximized .x-window-draggable .x-window-header-text{cursor:default;}

.x-tool{overflow:hidden;width:15px;height:0px;float:right;cursor:pointer;background:transparent url(/images/default/panel/tool-sprites.gif) no-repeat;margin-left:2px;}

.x-tool-close{background-position:0 -0;}

.x-window-header-text{cursor:pointer;}

.x-window-draggable,.x-window-draggable .x-window-header-text{cursor:move;}

.x-window-maximized .x-window-draggable,.x-window-maximized .x-window-draggable .x-window-header-text{cursor:default;}

.x-window-dlg .ext-mb-text,.x-window-dlg .x-window-header-text{font-size:12px;}

.contact_text{color: black;font: normal normal 11px Tahoma;}

Open in new window

0
 
LVL 3

Accepted Solution

by:
iPromoExpert earned 0 total points
ID: 22735243
Solved it..



//this line:

<div id="RAQpopup" style="padding:5px;padding-top:0px;padding-right:0px;border-style:solid;border-color:rgb(230,242,251);border-width:1px;border-top: 0px;">
 
 

//to this line:
 

<div id="RAQpopup" style="_margin-top:-2px;padding:5px;padding-top:0px;padding-right:0px;border-style:solid;border-color:rgb(230,242,251);border-width:1px;border-top: 0px; height:220px;">

Open in new window

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now