473,385 Members | 1,521 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Browser agnostic ?

I have been designing my ASP.NET forms by just placing the controls on the
form. However, i noticed that some people used a HTML table as the parent
control, and then placed the ASP.NET server controls within the cells of
the table , to make the output browser neutral. Is this a trick that is
necessary to make ASP.NET consistently, (more or less), in any standard
browser , including Mozilla ?
Regards,

Chak.

Nov 19 '05 #1
7 1386
KMA
With the code that you looked at: do the authors explicitly say they use
table to accomplish browser neutrality? It may be their intention, but I
doubt whether that's what they actually achieve. Maybe their pages render
similarly on the major PC browsers, but handhelds too?

Just my 2c worth. Don't concern yourself with pixel perfect similarity
between browsers. Just render interesting content in a presentable layout.
Mark the logical elements as css classes and let stylsheets do the
positioning.

Tables should be used to present tabular content, like an adress list.

Don't forget to change the Browser Caps section of the web.config so that
the html output is suitable for each browser type.

"Chakra" <r_************@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP14.phx.gbl...
I have been designing my ASP.NET forms by just placing the controls on the
form. However, i noticed that some people used a HTML table as the parent
control, and then placed the ASP.NET server controls within the cells of
the table , to make the output browser neutral. Is this a trick that is
necessary to make ASP.NET consistently, (more or less), in any standard
browser , including Mozilla ?
Regards,

Chak.

Nov 19 '05 #2
Chak,

I am using html tables a lot. And I don't care about browser compatibility
since my customers are happy with IE. One thing has nothing to do with
another. Using tables is just a general way of achieving nice page layout.
It's much easier to align page components properly when they are inside
tables.

Eliyahu

"Chakra" <r_************@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP14.phx.gbl...
I have been designing my ASP.NET forms by just placing the controls on the
form. However, i noticed that some people used a HTML table as the parent
control, and then placed the ASP.NET server controls within the cells of
the table , to make the output browser neutral. Is this a trick that is
necessary to make ASP.NET consistently, (more or less), in any standard
browser , including Mozilla ?
Regards,

Chak.

Nov 19 '05 #3
Style sheet formatting vs. <TABLE> formatting is not so much an issue of
Mozilla vs. Internet Explorer than it is version 6.0 vs. 5.0 vs. 4.0. In
some cases, people may be browsing the internet from a university lab, web
appliance or kiosk and have no control over whether or not the latest
browser version has been installed. Even browsers a couple of years old may
fail to properly handle basic style sheets features. However, <TABLE>
formatting works every time.

"Chakra" <r_************@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP14.phx.gbl...
I have been designing my ASP.NET forms by just placing the controls on the
form. However, i noticed that some people used a HTML table as the parent
control, and then placed the ASP.NET server controls within the cells of
the table , to make the output browser neutral. Is this a trick that is
necessary to make ASP.NET consistently, (more or less), in any standard
browser , including Mozilla ?
Regards,

Chak.

Nov 19 '05 #4
It's a trick. In fact, it's the toughest trick on the Internet.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Chakra" <r_************@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP14.phx.gbl...
I have been designing my ASP.NET forms by just placing the controls on the
form. However, i noticed that some people used a HTML table as the parent
control, and then placed the ASP.NET server controls within the cells of
the table , to make the output browser neutral. Is this a trick that is
necessary to make ASP.NET consistently, (more or less), in any standard
browser , including Mozilla ?
Regards,

Chak.

Nov 19 '05 #5
> I am using html tables a lot. And I don't care about browser compatibility
since my customers are happy with IE.
That's a bit shortsighted. Are your customers customers happy with IE?
It's much easier to align page components properly when they are inside
tables.


That's an opinion. Many people agree. Many people would say CSS is just as
easy.

There's no argument that a form can be considered tabular data, though.

-Darrel
Nov 19 '05 #6
"darrel" <no*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I am using html tables a lot. And I don't care about browser compatibility since my customers are happy with IE.
That's a bit shortsighted. Are your customers customers happy with IE?

Why should I care? I am getting paid for making my programs work with IE.
The customers wouldn't agree to pay for the extra time needed for providing
browser compatibility. I should mention that the end users are not general
public and my customers can impose a sort of discipline on them.
It's much easier to align page components properly when they are inside
tables.
That's an opinion. Many people agree. Many people would say CSS is just as
easy.

I know. I didn't mean to put my 2c in this argument. I've just said what
many people are using tables for.

There's no argument that a form can be considered tabular data, though.

-Darrel

Nov 19 '05 #7
To summarise : Some of the pros of table as parent control is that

1) it makes an ASP.NET form more elegant, but we lose pixel level control
IF we want very precise alignments.

2) The outputs are , to the best of my understanding , browser neutral.

The cons :-

1) If we have to re-shuffle the design , i have to tear down the table and
re-design the whole form ?

2) It adds an extra control and according to some people this slows down the
performance a bit.

Anyway thanks for all your inputs.

Regards,

Chak.

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:uS*************@TK2MSFTNGP10.phx.gbl...
"darrel" <no*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I am using html tables a lot. And I don't care about browser compatibility since my customers are happy with IE.
That's a bit shortsighted. Are your customers customers happy with IE?

Why should I care? I am getting paid for making my programs work with IE.
The customers wouldn't agree to pay for the extra time needed for

providing browser compatibility. I should mention that the end users are not general
public and my customers can impose a sort of discipline on them.
It's much easier to align page components properly when they are inside tables.


That's an opinion. Many people agree. Many people would say CSS is just as easy.

I know. I didn't mean to put my 2c in this argument. I've just said what
many people are using tables for.

There's no argument that a form can be considered tabular data, though.

-Darrel


Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Rasjid Wilcox | last post by:
I am wanting to write a database application using Python. I want it to be GUI agnostic. The GUI will probably be Python/wxPython, but I would also like the option of a Webbased (PHP?) gui, and...
11
by: Simon Wigzell | last post by:
I cobbled together the following function from examples on the internet to set named spanned items in the parent form. It works fine for IE but not at all for netscape. What other browser...
17
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this...
1
by: Dave Harrington | last post by:
Greetings all - We have a client who uses Lotus Notes as their default e-mail. The version of Lotus they use can run internet explorer windows within Lotus. I'd like to find if they are...
2
by: Max André Bündchen | last post by:
Hi, I'm starting a project that will work in many clients and a requiriment is a plataform agnostic system. The idea behind the project is a winform client based interface with a webservice...
7
by: jmp | last post by:
(I hope this isn't considered too far off-topic.) I work as a developer on a browser product found on handheld devices, and I'm trying to specify behavior for the browser to make it "as...
2
by: tascien | last post by:
question I have never been able to solve since the 90s... I want to find x, y location of a layer or an image, or any other item on a webpage. 1. It could be relatively or absolutely...
1
by: Ivan Ven Osdel | last post by:
>----- Original Message ----- Here's a function I wrote for checking remote or local file existence. It works for me but admittedly I haven't tested many cases with it. Also its currently...
10
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.