473,763 Members | 6,401 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Html and JavaScript for all browsers

27 New Member
Hi,

I am developing a web application using asp.net 3.5 and testing in IE 6. I want to make sure that my html looks the same in all browsers and the javascript also performs same functionality in all browsers or at least in IE 6, IE 7 and FireFox2.0. How can i achieve this ?

It would be very nice of you if u can provide me a link where comparison of html and javascript for most of the modern browsers is provided.

Thanks in advance,

Saad Alam
Apr 15 '08 #1
6 1630
drhowarddrfine
7,435 Recognized Expert Expert
HTML won't cause you any problems. Javascript has quite a few. w3schools.com has the javascript functions and what works in which browsers. quirksmode.com also has a lot of good info.
Apr 15 '08 #2
nomad
664 Recognized Expert Contributor
Hi,

I am developing a web application using asp.net 3.5 and testing in IE 6. I want to make sure that my html looks the same in all browsers and the javascript also performs same functionality in all browsers or at least in IE 6, IE 7 and FireFox2.0. How can i achieve this ?

It would be very nice of you if u can provide me a link where comparison of html and javascript for most of the modern browsers is provided.

Thanks in advance,

Saad Alam
the main problem will be with fonts, tables if you use .css which is the standard in building a html, htm site. Some folks build their sites using .css others will use the html coding and not use .css to create their site.
Use drhowarddrfine advice list above and look at w3schools

nomad
Apr 16 '08 #3
drhowarddrfine
7,435 Recognized Expert Expert
Hi,

I am developing a web application using asp.net 3.5 and testing in IE 6.
Using IE as your test browser will cause you more grief than anything else.
Apr 16 '08 #4
Saad Alam
27 New Member
Thanks drhowarddrfine and nomad. Now im testing on both FireFox 2.0 and IE 6.0 although its very time consuming and hectic. Is there is still chance that my web application wont work in IE 7.
Apr 16 '08 #5
drhowarddrfine
7,435 Recognized Expert Expert
If you use Firefox for your initial testing, chances are your page will work in all the modern browsers and maybe even IE7. With some luck, it will work in IE6, too, but the bugs are well known and so are the "hacks" to fix it.

Test often while you code. Don't wait till you are finished. Validate both your html and css, too. If you can't figure something out, come back here. Remember that we will need to see the complete markup or have a link to help. But ask javascript questions on the javascript board or the .net board for .net.
Apr 16 '08 #6
nomad
664 Recognized Expert Contributor
If you use Firefox for your initial testing, chances are your page will work in all the modern browsers and maybe even IE7. With some luck, it will work in IE6, too, but the bugs are well known and so are the "hacks" to fix it.

Test often while you code. Don't wait till you are finished. Validate both your html and css, too. If you can't figure something out, come back here. Remember that we will need to see the complete markup or have a link to help. But ask javascript questions on the javascript board or the .net board for .net.
Good advice drhowarddrfine esp. the part about testing it, if there is a mistake in the coding at an earlier stage we will be able to help you faster rather than read all the code a the end product

nomad
Apr 16 '08 #7

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

Similar topics

4
8406
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties in JavaScript/JScript and HTML/XML elements. Without trying to get famous :-) but thinking it would be interesting to others I decided to post the following summary: 1. Variable names in JavaScript/JScript
0
3155
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to ensure that only one copy resides on a given news server. This notice was last updated on September 7th, 2000, and is available (with a complete revision history) on the World Wide Web at http://www.stack.nl/~boris/HTML/ciwahfaq.html. Most of it...
10
1932
by: Andrew Poulos | last post by:
While this works on IE 6: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>aiff</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script language="JavaScript" type="text/javascript"> //<!]>
10
4590
by: VictorG | last post by:
Hello, I am new to JS and am trying to add some HTML into a JS function. So that when called the script as well as the HTML will be invoked. Is there some type of embed mechanism, sort of the reverse of embedding JS in an html page with the script tag. (which is what I am doing in this case) Is this even possible?
6
5266
by: Jon Davis | last post by:
I recently learned how to do an <OBJECT> alternative to <IFRAME> in current browsers using: <object id="extendedhtml" type="text/html" data="otherpage.html" width="250" height="400"></object> My question is how do I access the document DOM of this object in Javascript? For example, "alert(extendedhtml.innerHTML);" doesn't work and produces an unknown error. I'd like to both read and write to the document's body element's innerHTML...
9
1555
by: Jason Gogela | last post by:
Does anyone out there know why I should care whether a <span> is nested in a <p> or vice versa? What is the bennafit of adhering to this standard? It seems to me that regardless of which way you write it, the page will render the same, sans errors, in any browser. All responces will be greatly appreciated. ~Jason Gogela
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10144
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9937
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,...
0
9822
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
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
5270
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
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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 we have to send another system
3
2793
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.