473,498 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I layout a form that will look the same in all major browsers

37 New Member
Hi

I have a form with -

13 text input fields
1 text area
2 radio buttons
4 buttons
1 check box
1 submit button
1 reset button,

each field is enclosed in div tags and each field has label text enclosed in span tags, for which I have created ids
and classes (I don't have a great deal of experience with CSS).

I made the form (web page) testing in IE7 which I eventually managed to get looking good,
but when I looked at it in Firefox everything was distorted.
I then duplicated the page and the ids and classes and tweaked everything to get it to look good in Firefox.
I then looked at both the IE7 and Firefox pages in IE6 and once again both pages were very distorted.
So I duplicated the Firefox page and the ids and classes (because it was the best looking of the two) and tweaked
it to get it looking good in IE6.

I originally posted this thread to the Javascript forum for advice on browser redirection so that I could load the
appropriate page in the appropriate browser.

I was subsequently advised to post the thread to the HTML/CSS forum in the hope of possible Hacks for IE being suggested,
meaning I will have one cross browser webpage (with a form) rather than three separate pages.

(I also found out from my previous posting not to do initial testing in IE7)

Any advice would be appreciated!

Regads Max
Jun 3 '08 #1
2 1550
eWish
971 Recognized Expert Contributor
Here is a nice article called Accessible, stylish form layout. There are example forms you can view as well. I would also suggest this article as well.

Hope that helps.

--Kevin
Jun 3 '08 #2
Max58kl
37 New Member
Hi

Thanks for the links.
I now have a better understanding of cross browser CSS form layout!

Regards Max
Jun 4 '08 #3

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

Similar topics

82
10593
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
47
9076
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
4
2553
by: Spartanicus | last post by:
I've started work on a css layout tutorial. I expect that it will take a minimum of several weeks to get to a complete draft stage. I hope to get better feedback by publishing individual pages....
20
24951
by: Tammy | last post by:
What would be a good alternative to using frames? I need something that will section my webpage into two halves and can change both frames on a single click. Thanks in Advance, Tammy
4
2334
by: NWx | last post by:
Hi, I develop an ASP.NET app which should be used from Internet, so I don't have control over what browsers will be used. I don't want to target every possible users, so I don't really mind is...
2
2467
by: Steve Richter | last post by:
I am spending too much time thinking of nesting tables within tables to get the form layout that I want. a simple example: Sub heading: property text: entry field property text: entry...
4
1361
by: Tom | last post by:
Hi everyone, I'm sure this gets asked a lot in different flavors, but I'm either doing something wrong or this just won't work. I'm trying to create a table that's the height of the browser...
3
1530
by: Samuel Shulman | last post by:
I am looking for good guidance for positioning controls on the form.document, it is absolute nightmare and I don't know where to begin Thank you, Samuel Shulman
14
4813
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
0
7002
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...
1
6887
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...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4590
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...
0
3093
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...
0
1419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
291
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...

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.