473,652 Members | 3,045 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please help, simple form display problems in IE

290 Contributor
Hello,


I have made a nice opt-in form and tested it
in Moz FF and it looks fine.

But in IE the elements don't line up properly.

I think I am nearly there but can not get these elements
straight - can you see what I have missed ?

Here is a couple of screen shots.

In Moz FF:



And now in IE:



The code that I use for the form is here:
Expand|Select|Wrap|Line Numbers
  1. <div class="formfill w3">
  2. <form name="regis" action ='index1.php' method = 'POST'>
  3. <div class="reg_table">
  4. <span style="font-size:20px; font-weight:bold; color:red;">Limited Time Offer.</span><br>
  5. <span style="font-size:16px; font-weight:bold; color:blue;">Grab all four bonuses absolutely free 
  6. and with no strings attached. Introductory special offer.</span><br>
  7. <span style="font-size:14px; font-weight:bold; color:red;">Sent Directly to your email.</span><br>
  8. <span><input type="hidden" name="reg" value="yes" ></span>
  9. <br><br>
  10. <span class="tab-cell-left" style="font-size:20px;">Your Name:</span>
  11. <span class="tab-cell-right"><INPUT name="x_name" value= '<?php echo "$N_name"; ?>' size="28" type="text"></span>
  12.  
  13. <span class="tab-cell-left" style="font-size:20px;">Email Address:</span>
  14. <span class="tab-cell-right"><INPUT name="x_email" value= '<?php echo "$N_email"; ?>' size="28" type="text"></span>
  15.  
  16. <input class="button2" type="submit" value="Give Me Free Access Now"/>
  17.  
  18. </div> <!-- END FORM TABLE -->
  19. </form>
  20.  
  21. <div class="spambox1">
  22.  We HATE spam as much as you do.
  23.  We value our relationship with you and will never share your email address or any other details with anyone else. 
  24.  Thats a promise.
  25. </div> <!-- END SPAM BOX -->
  26.  
  27. </div> <!-- END FORM FILL -->
The only problem is that I can not completely re-write the css
because many other pages are using the css.

I justwould like to find out what element is making the form appear so bad in IE.

I only showed part of the page in the images above, the whole page can be seen here:

http://www.expert-world.com/im/index1.php

It looks nice in Moz FF but in IE it is not very good.

I have tried adjusting the width and padding of the
.tab-cell-right { in the css.

Although I could see changes in the Moz FF, the IE version did not change.

Ths css I use for the form is here:

Expand|Select|Wrap|Line Numbers
  1. .formfill {
  2.   text-align: center;
  3.   border-style: dashed;
  4.     border-width: 3px;
  5.   border-collapse: collapse;
  6.     border-color: #9F0000;
  7.     background-color: #DEE4ED;
  8.     margin: 10px auto;
  9.     padding: 10px;
  10. }
  11.  
  12. .w1{
  13.     width: 520px;
  14. }
  15.  
  16. .w2{
  17.     width: 720px;
  18. }
  19.  
  20. .w3{
  21.     width: 400px;
  22.     height:380px;
  23.     float:right;
  24. }
  25.  
  26.  
  27. .spambox1 {
  28.     font-family: Arial; 
  29.   font-size: 12px; 
  30.     text-align: center;
  31.     border-collapse: collapse;
  32.   background-color:#a9a9a9;
  33.     border-color: #C0C0C0;
  34.     border-width: 2px;
  35.     height: 60px;
  36.     width: 400px;
  37.     margin: 30px auto;
  38.     padding: 3px 3px 3px 3px;
  39. }
  40.  
  41. .reg_table {
  42.   text-align: center;
  43.     margin: 0 auto;
  44. }
  45.  
  46. .tab-cell-spec {
  47.   width: 390px;
  48.     height: 30px;
  49.   float: left;
  50.   text-align: left;
  51.     font-weight: bold;     
  52. }
  53.  
  54. .tab-cell-left {
  55.   width: 140px;
  56.     height: 50px;
  57.   text-align: right;    
  58.     margin: 0px auto;
  59.     float: left;
  60. }
  61.  
  62. .tab-cell-right {
  63.   width: 180px;
  64.     height: 50px;
  65.     font-size:16px;
  66.   text-align: left;    
  67.   margin: 0 60px 0 0;
  68.     float: right;
  69. }
  70.  
  71. input.button2{
  72.   font-size: 14px;
  73.     font-family: Arial; 
  74.     letter-spacing: -1px; 
  75.     font-weight: bold; 
  76.     width: 360px; 
  77.     height: 40px;
  78.   border:3px outset #950000;
  79. }
  80.  
  81. .input_fm{
  82.   width: 900px;
  83.     font-weight: bold;
  84.     margin: 0px auto;
  85.     float: left;
  86. }
  87.  

The full css file is here:

http://www.expert-world.com/im/guru.css

Hopefully someone can see what I have done wrong.

thanks
Sep 9 '09 #1
1 2620
jeddiki
290 Contributor
By the way,

I forgot to mention that the form looks fine
in Opera as well

It is jus IE that gives this funny problem.

Any ideas - or a solution ?

Thanks
Sep 11 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
5756
by: Lee Mundie | last post by:
Hi there, Simple problem here but can't seem to fix it! Okay, I have a select list from which people choose avatars... the list is option values ie. <option>Worm</option> <option>Frog</option> etc etc and is in an include file... where the word i.e. worm sources the image ..images/worm.gif - simple so far...
7
1697
by: Tigger | last post by:
Dear Experts, I am working on ASP.NET. I have got a problem related to the usage of Javascript in ASP.NET. Please help. The story is the following: 1) I am developing an ASP.NET application. I need to prompt the users with a modal box (with "Yes" and "Cancel" button on it); 2) When the user clicks "Yes" button, I need to do some further processing. If "Cancel" is clicked, of course, stops doing anything; 3) Now the problems are: -...
1
2657
by: Shawn Mehaffie | last post by:
I am creating a screen saver and am having a problem with showing the screensaver form in the preview pane. The code works correctly in the the form does display within the preview window. I created a simple for for testing called Preview that only had a label on it and the text "This is a Test" is hardcoded. By doing this I now that it is not other code I have written that is causing this. The problems I am having are: 1) The Preview...
1
9623
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
0
2252
by: ward | last post by:
Greetings. Ok, I admit it, I bit off a bit more than I can chew. I need to complete this "Generate Report" page for my employer and I'm a little over my head. I could use some additional assistance. I say additional because I've already had help which is greatly appreciated. I do try to take the time and understand the provided script in hopes on not having to trouble others on those. But here it goes...
6
1383
by: mantrid | last post by:
Hello can anyone see why the following function is not working. The extended version, where I take out the first 'for' loop and substitute in all the 'cases' works. Sorry if I'm being dumb but Im still learning javascript *************************************** function answernum() { var selnumber = document.questform.answno.options.v
8
18078
by: Greg Lyles | last post by:
Hi all, I'm trying to develop an ASP.NET 2.0 website and am running into some real problems with what I thought would be a relatively simple thing to do. In a nutshell, I'm stuck on trying to display data in a "GridView" which is tied to an "ObjectDataSource". In turn, this ObjectDatasource gets it's data from a strongly-typed business object within my code.
2
1827
by: deshg | last post by:
Hey everyone, I am a php programmer originally and am just helping a friend of mine update their website that they paid a designer (well that's what he called himself!) to do ages ago. I have built the whole site (ASP.NET using VB.NET) but am having problems on the most basic thing! I have a page which querys an MS SQL database and takes url variables to query it, so it takes the value of keyword= and perpage= (eg from...
6
2186
by: shapper | last post by:
Hello, I am creating a form that includes a few JQuery scripts and TinyMCE Editor: http://www.27lamps.com/Beta/Form/Form.html I am having a few problems with my CSS: 1. Restyling the Select
0
8279
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8703
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8467
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4145
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.