Could it be that you have another button somewhere on the page that is higher in the HTML hierachy. I've had problems before because when you press "ENTER" the first button in the form is the one that is pressed.
grassfire
@grassfire
Best posts made by grassfire
Latest posts made by grassfire
-
RE: ASP:Login WTF
-
RE: @#$% Freeloaders!
Just to chime in with the rest of your loyal followers. I would have to say that the adds you include on TDWTF are among the best presented that I've seen on the web.
- No annoying sounds
- No flash animations
- No big pictures or banners
- No stupid products
- No monkeys
- Cute Chicks *grin*
They are non-intrusive and I certainly have no problem with them appearing.
-
RE: TDWTF error message WTF?
[quote user="Kazan"]
If ASP.NET is "a solid product" then I have a 12 FOOT long wang.
[/quote]
Hmm, on that scale I would have to put your "Wang" at around the 10 foot mark! (although even if you think it only deservs a 1 out of 10, you're still going to be doing push ups without using your hands.)
-
RE: TDWTF error message WTF?
[quote user="Kazan"]
If ASP.NET is "a solid product" then I have a 12 FOOT long wang.
[/quote]
Hmm, on that scale I would have to put your "Wang" at around the 10 foot mark! (although even if you think it only deservs a 1 out of 10, you're still going to be doing push ups without using your hands.)
-
RE: Cable company wtf
Because management rarely has any actual idea of the quality of their products, therefore, they advertise the web-site because it's 'cool' and supposed to be cheaper to run then a call centre. The Call centre staff however, know that the web-site is crap and so work around the problem.
-
RE: EXACTLY what I needed!
Hmm, just to put a slightly less WTF'd explanation into play.
Visible ink supply provides early warning of ink run-out.
Another possibility is that the actual canister that contains the ink is transparent, therefore allowing you to see when the ink level is running low.
-
RE: Naming convention WTF
Yeah, we had a simelar problem here about a year ago. We have a large, internally developed web-app that handles financial tracking for a Government service, managing about $30 million a year.
We had a contractor come in to make a few minor upgrades to the system. (Management WTF number 1, you've pulled your entire internal development team onto one project, so you hire in contractors to handle your basic maintenance??).
This contractor did the work, it all worked fine in test, he submitted his change control documentation and was given approval to follow the steps in the change control documentation to push the system live. (Management WTF number 2: Why was the contractor given access to publish content into productino?)
Two months later, we start getting complaints that the latest data was not appearing in the end of month reports, and the system keeps falling over. Upon investigation, we discover that the system was running off the development server. Apparently the contractor had skipped step 8, changing the configuration to point to the production database. This system had been running off the development server for the last 2 months.
As you can imagine, there was a LOT of work involved in sorting out all the data and pulling the two systems together again. (Auto-incrementing numbers for the primary keys of tables).
I really really hate that our managers always tend to trust the contractors more that the internal staff (huge cultural issue in my workplace).
-
RE: Server-side Includes on Static Resources
@Xenoveritas said:
You have to love people who have apparently learned how to include another file from the server, but not that <script> has a "src" attribute. All over the place, I'm seeing:
<FONT face="Courier New"><link type="text/css" rel="stylesheet" href="../res/style.css">
<script>
<!-- HIDE JAVASCRIPT
<%@include file="../res/script.js"%>
// END HIDING -->
</script></FONT>
Because allowing the browser to cache resources is lame, I guess. By using a server-side include, we can increase the server load (by requiring it to open extra files for a request), and by placing this in a dynamically created page (so the page can't be cached) we can almost double the amount of bytes we're sending over the network!
For added fun, the CSS stylesheet is referenced via an external resource, so it's not like the person writing the page couldn't figure out the relative path.Unfortunately I can one-up this one. We are using a web-cms program here which will remain unnamed except that it is produced by Do******um. It requires that we have our IIS servers configured to treat .htm extensions as .asp. Because it needs to use server side includes.
WTF 1: Why is a WebCMS using server side includes? why isn't it just combining the code before publishing?
WTF 2: If you are going to use Server Side includes (SSI), how about treating .htm as .shtml instead? Also supports SSI, but doesn't need anywhere near the memory and CPU hits of ASP.
WTF 3: As you can imagine, we have major problems with caching, because the files are .htm, and when you update an include the actual .htm is not modified, it can take up to 24 hours (or more) for a page update to propogate through to browser cache's, etc. (yes I know we could default the cache expiry, and we have, but even with that, not all proxies honour the cache expiry on .htm)
-
Meta Refresh - RANT
Greetings All,
This is not so much a WTF as a general rant at people who insist on using Meta Refresh tags on their pages.
Specifically websites that just don't work without!
Take the new Microsoft Live site as an example, when you log into that site, it requires Meta-Refresh to be active to log in. And when you have it disabled, you just sit on a blank page, with no message, no "click here to complete login", nothing!
A LOT of websites use the Meta-Refresh to send you from the root page, to some kind of index page. eg: www.fakesite.com/ will use a meta refresh to send you to www.fakesite.com/menu/indes.htm, what is wrong with Redirects People!
And then, if you do have Meta Refresh active, the bloody back button is broken! You've got to do this little "click-click' thing to try and quickly skip past the meta-refresh page, or use your history.
Anyhow, just had to get that off my chest.
-
RE: How to vertical align in HTML
@dhromed said:
If you use negative margins on the parent, you can do away with the child div. That's the commonly accepted way of that technique.Ah - see, that's what I get for just throwing something together without playing a bit more.
But seriously, speaking of WTF's why would you want to have something appear vertically centered? With the possible exceptions of loading some kind of window in a div over the top of the page to display a status message, and even then it's messy.
here's a thought - lets make our sites cope with different browser sizes.