asp.net 2005 not all items center in FireFox

  • Thread starter Thread starter Bishop
  • Start date Start date
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?
 
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;
}
 
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.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
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

Back
Top