473,382 Members | 1,733 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,382 software developers and data experts.

Web Layout

Dear All,
I am new to web programming using ASP.NET 2.0.
I have tried to build a website which I design using TABLE TAG and also
PANEL (ASP:PANEL)
The problem is, when I display or access web using IE, everything looks
fine, but when I use Opera
or Firefox, the panel does not on the right place and the web become ugly.
Is there any tips so the layout on the IE, Opera or Firefox will look
similar?
Thank you.
Regards,
Gunawan
Sep 3 '07 #1
4 1413
Hello Gunawan,

The browsing compatibility it the biggest world problem for all web-developers,
because the DOM is slightly different over the browsers. It's very hard to
provide the unique respesentation.
What I can recomend it to use the XHTML validation, so your html conform
to the existed formats, and if you really need the exactly same UI layout
in all browsers then provide the different pages for the each browser tuned
to its specific

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
GDear All,
GI am new to web programming using ASP.NET 2.0.
GI have tried to build a website which I design using TABLE TAG and
Galso
GPANEL (ASP:PANEL)
GThe problem is, when I display or access web using IE, everything
Glooks
Gfine, but when I use Opera
Gor Firefox, the panel does not on the right place and the web become
Gugly.
GIs there any tips so the layout on the IE, Opera or Firefox will look
Gsimilar?
GThank you.
GRegards,
GGunawan
Sep 3 '07 #2
Due to I am new to this ASP.NET programming.
I am not quite understand about use XHTML validation.
What is that mean? and how it works?
Thank you In Advance.
Regards,
Gun

<Michael Nemtsev>; "MVP" <ne*****@msn.comwrote in message
news:3d*************************@msnews.microsoft. com...
Hello Gunawan,

The browsing compatibility it the biggest world problem for all
web-developers, because the DOM is slightly different over the browsers.
It's very hard to provide the unique respesentation. What I can recomend
it to use the XHTML validation, so your html conform to the existed
formats, and if you really need the exactly same UI layout in all browsers
then provide the different pages for the each browser tuned to its
specific

---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

GDear All,
GI am new to web programming using ASP.NET 2.0.
GI have tried to build a website which I design using TABLE TAG and
Galso
GPANEL (ASP:PANEL)
GThe problem is, when I display or access web using IE, everything
Glooks
Gfine, but when I use Opera
Gor Firefox, the panel does not on the right place and the web become
Gugly.
GIs there any tips so the layout on the IE, Opera or Firefox will look
Gsimilar?
GThank you.
GRegards,
GGunawan


Sep 3 '07 #3
Hello Gunawan,

Read there http://msdn2.microsoft.com/en-us/library/exc57y7e.aspx

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
GDue to I am new to this ASP.NET programming.
GI am not quite understand about use XHTML validation.
GWhat is that mean? and how it works?
GThank you In Advance.
GRegards,
GGun
G<Michael Nemtsev>; "MVP" <ne*****@msn.comwrote in message
Gnews:3d*************************@msnews.microsoft .com...
G>
>Hello Gunawan,

The browsing compatibility it the biggest world problem for all
web-developers, because the DOM is slightly different over the
browsers. It's very hard to provide the unique respesentation. What I
can recomend it to use the XHTML validation, so your html conform to
the existed formats, and if you really need the exactly same UI
layout in all browsers then provide the different pages for the each
browser tuned to its specific

---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we
miss it, but that it is too low and we reach it" (c) Michelangelo
GDear All,
GI am new to web programming using ASP.NET 2.0.
GI have tried to build a website which I design using TABLE TAG and
Galso
GPANEL (ASP:PANEL)
GThe problem is, when I display or access web using IE, everything
Glooks
Gfine, but when I use Opera
Gor Firefox, the panel does not on the right place and the web
become
Gugly.
GIs there any tips so the layout on the IE, Opera or Firefox will
look
Gsimilar?
GThank you.
GRegards,
GGunawan

Sep 3 '07 #4
Michael,

With all due respect, this is not good advice. There is absolutely no
advantage to using XHTML over HTML, and it will certainly not help in
this instance.

Furthermore, the days of serving different pages to different browser is
long, long gone. You need to serve valid and compliant (X)HTML and CSS
to the browser, and in 99% of cases, you will not have problems.

The issue here is not that Opera or Firefox get it wrong, rather that IE
has very poor support for web standards. It is certain that Opera and FF
are correctly rendering the code, and that IE is doing its best to make
sense out of invalid code. This is not according to W3C specifications.

My advice to the OP is to concentrate on ensuring that the output is
clean, valid and compliant (X)HTML and CSS first. Once that is achieved,
if there are still problems, then look into other things. Jumping into
XHTML in the expectation that it will solve the problems is plain wrong.
Serving alternate versions of page is a recipe for disaster!

I would also be interested to know why the OP is using a Panel. I have
never found a use for them, and dislike the extra HTML they inject into
the page. Maybe if we knew what the OP was doing, and saw some code it
might help.

In article <3d*************************@msnews.microsoft.com> , Michael
Nemtsev <?@?.?.com.invalidwrites
>Hello Gunawan,

The browsing compatibility it the biggest world problem for all
web-developers, because the DOM is slightly different over the
browsers. It's very hard to provide the unique respesentation. What I
can recomend it to use the XHTML validation, so your html conform to
the existed formats, and if you really need the exactly same UI layout
in all browsers then provide the different pages for the each browser
tuned to its specific

---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and
we miss it, but that it is too low and we reach it" (c) Michelangelo

GDear All,
GI am new to web programming using ASP.NET 2.0.
GI have tried to build a website which I design using TABLE TAG and
Galso
GPANEL (ASP:PANEL)
GThe problem is, when I display or access web using IE, everything
Glooks
Gfine, but when I use Opera
Gor Firefox, the panel does not on the right place and the web become
Gugly.
GIs there any tips so the layout on the IE, Opera or Firefox will look
Gsimilar?
GThank you.
GRegards,
GGunawan

--
Alan Silver
(anything added below this line is nothing to do with me)
Sep 3 '07 #5

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

Similar topics

82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
39
by: Zak McGregor | last post by:
Hi all Are there any good solutions to aligning form field names and input boxes without resorting to tables? I am struggling to do this nicely at the moment. Thanks Ciao Zak
47
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.
20
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
10
by: Volker Lenhardt | last post by:
For a QApplication (PyQt) on the small screen of my Zaurus 5500 PDA I try to layout my data output in a QScrollView as the central widget. I'd prefer to use QGridLayout, but cannot add it to the...
10
by: Luke | last post by:
Hi. I am trying to make correct layout, here is an example of (dynamically generated content via jsp): http://localhost/www/layout.htm Most outer div is positioned absolute (if not then it...
3
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
5
by: Jeff User | last post by:
Hi all I am writing program/framework to server a web site dynamically based on stored web page data with C#, .net1.1 What is the preferred means of controlling page layout, frames or...
5
by: Ed Sproull [MSFT] | last post by:
First I'm pretty new to ASP.NET and I'm having a simple problem. I have small website with a header, sidebar and the the content. I want my content to appear beside my sidebar which seems to be a...
53
by: brave1979 | last post by:
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in...
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.