Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8042173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:29:24+00:00 2026-06-05T04:29:24+00:00

I’ve got an ASP.NET 4 app being developed and tested against http:// localhost/mysite –

  • 0

I’ve got an ASP.NET 4 app being developed and tested against http:// localhost/mysite – I spent a while looking into a problem with Twitter Bootstrap buttons in Firefox (v12.0) where they looked weird.

However I noted that, when testing, if I swapped the URL and changed ‘localhost’ for my machine’s FQDN (e.g. http://mymachine.mydomain.com/mysite) then it worked normally and as expected.

This is kinda good news because it means that there isn’t a “bug” as such that I have to fix but I’m curious about why it’s happened in the first place.

The weird behaviour is as follows:

The ‘button’ is marked up as follows (in this case, a <a> to look like a button):

<p><a class="btn btn-success" href="checkout.aspx"><i class="icon-shopping-cart icon-white"></i> Checkout</a></p>

I also have the same behaviour when using a ‘real’ button, marked up as follows:

<p><input type="submit" name="ctl00$cphMainContent$btnProceedToCustomerDetails" value="Next: Your details" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$cphMainContent$btnProceedToCustomerDetails&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" id="cphMainContent_btnProceedToCustomerDetails" class="btn btn-primary" /></p>

In both cases, the buttons render in a grey, unreadable state and then sort of ‘fill up’ in green colour when you hover over, until it is about 75% filled up and then stops filling up.

Here’s some images

The <a class="btn btn-success">

On load (before mouseover)

Button as page loads

When you put your mouse over it, it fills up with colour from the bottom up in about 0.5 seconds, finishing up looking like this:

enter image description here

The <input type="submit" class="btn btn-primary">

On load (before mouseover)

enter image description here

After mouseover, again it fills up with colour from bottom up, in about 0.5 seconds, and looks like this:

enter image description here

Like I say, this only happens when using Firefox, and only when looking at localhost. Other browsers are fine. I am using a freshly downloaded copy of bootstrap.js (downloaded today) with no amendments, I only include one other css file, and even when I don’t include it, it’s the same behaviour.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:29:25+00:00Added an answer on June 5, 2026 at 4:29 am

    I ran into this problem earlier today. This link: twitter bootstrap button changes rendering oddly in firefox and chrome helped me.

    In my css, I applied the following:

    .btn-primary, .btn-danger, .btn-success {    background-image: none;    filter: none;}
    

    It worked. My pages now render correctly in firefox. Chrome worked fine for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
i got an object with contents of html markup in it, for example: string
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.