asp.net 2005 not all items center in FireFox

B

Bishop

I added a browser caps section I've used with 2003 but it still renders the
same.

Firefox Version 1.5.0.1

My ASP.NET menu (orientation set to horizontal) and all the content is in a
table where the TD is set to center.

renders as desired in IE

Any ideas?
 
F

Flinky Wisty Pomm

Could you post the snippet of rendered HTML for your menu? I'd be
inclined (at the risk of becoming predictable) to add a CSS class to
your menu

..MenuClass td
{
text-align: center;
}
 
J

Juan T. Llibre

Hi, Bishop.

The browsercaps code you need to change is here :
http://slingfive.com/pages/code/browserCaps/

That will work, although it's deprecated in ASP.NET 2.0.

Eventually, you'll need to create a firefox.browser capabilities file, and place it in the
drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers
directory.
 
B

Bishop

After trying everying I could think of or find, the only solution I had was
to add a 3 column table in the row that holds the menu. Seems to work fine
in IE and FireFox.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top