> Have you noticed that designing in VS.NET 2005 is great for IE but when you
> view the browser in Firefox alot of the items dont align properly, such as
> the login control, change password control, listboxes, etc...?
That's because you rely on rendering bugs in IE. That is quite common if
you make the page for IE. It actually renders incorrectly in IE and
correctly in the other browsers.
> Anyone know why this is and how to fix it? I'm using the latest versions...
>
> (From now on I'm designing using FF as my main browser just to make sure
> it's compatible...)
That's a good method. It's much simpler to make a standards compliant
code work with the quirks in IE, than the other way around.
> Thanks!
>
[quoted text clipped - 10 lines]
> <table style="width: 100%; text-align:center"
> cellspacing="1">
There is your problem this time. You are using text-align to center the
elements. According to the standards, it only centers inline elements,
but IE incorrectly centers block elements too.

Signature
Göran Andersson
_____
http://www.guffa.com
VB Programmer - 13 Oct 2007 14:52 GMT
Thanks Göran. So, how should I center these elements? What is the standard
way? Thanks!
>> Have you noticed that designing in VS.NET 2005 is great for IE but when
>> you view the browser in Firefox alot of the items dont align properly,
[quoted text clipped - 31 lines]
> elements. According to the standards, it only centers inline elements, but
> IE incorrectly centers block elements too.
Göran Andersson - 13 Oct 2007 18:32 GMT
> Thanks Göran. So, how should I center these elements? What is the standard
> way? Thanks!
You can use margins. Example:
<style>
.container { background: #eee; }
.centered { margin: 0 auto; width: 200px; background: #ccc; }
</style>
<div class="container">
<div class="centered">Centered element</div>
</div>

Signature
Göran Andersson
_____
http://www.guffa.com