cross-browser

What is the best way to create rounded corners using CSS?

What is the best way to create rounded corners using CSS? ...

How important is W3C XHTML/CSS validation when finalizing work?

Even though I always strive for complete validation these days, I often wonder if it's a waste of time. If the code runs and it looks the same in all browsers (I use browsershots.org to verify) then do I need to take it any further or am I just being overly anal? What level do you hold your code to when you create it for: a) yourself ...

Displaying vector graphics in a browser

I need to display some interactive (attaching with DOM listeners etc. and event handling) vector graphics in web site I am working on. There is a W3C recommendation for SVG though this format is still not recognized by Internet Explorer support of which is a must (for a public website). IE handles VML though and there are even javascript...

What is your experience using the TIBCO General Interface?

It looks interesting and I've played around with it some --- but the development IDE in a web browser seems to be nightmare eventually. Does anyone have experience using it and what are your thoughts? ...

When do you use sIFR?

I heard Joel and Jeff talking about sIFR in one of the early podcasts. I've been using it on www.american-data.com and www.chartright.us with some fairly mixed results. Yesterday I was informed that the first line of text on my website appeared upside down in Internet Explorer 6 without flash player. I'm pretty sure that assessment wa...

How do I get the coordinates of the caret in text boxes?

I am using jQuery and trying to find a cross browser way to get the pixel coordinates of the caret in text areas and input boxes such that I can place an absolutely positioned div around this location ? Is there some jQuery plugin? or javascript snippet to do just that ? ...

Is there a browser equivalent to IE's ClearAuthenticationCache?

I have a few internal .net web application here that require users to "log out" of them. I know this may seem moot on an Intranet application, but nonetheless it is there. We are using Windows authentication for our Intranet apps, so we tie in to our Active Directory with Basic Authentication and the credentials get stored in the browse...

Developing a online exam application, how do I prevent cheaters?

I have the task of developing an online examination software for a small university, I need to implement measures to prevent cheating... What are your ideas on how to do this? I would like to possibly disable all IE / firefox tabs, or some how log internet activity so I know if they are googling anwsers...is there any realistic way to...

In HTML, what should happen to a selected, disabled option element?

In my specific example, I'm dealing with a drop-down, e.g.: <select name="foo" id="bar"> <option disabled="disabled" selected="selected">Select an item:</option> <option>an item</option> <option>another item</option> </select> Of course, that's pretty nonsensical, but I'm wondering whether any strict behaviour is defined. ...

Does "display: marker" work in any current browsers, and if so, how?

I can't be sure if my code is sucking, or if it's just that the browsers haven't caught up with the spec yet. My goal is to simulate list markers using generated content, so as to get e.g. continuation of the counters from list to list in pure CSS. So the HTML is like this: <ol> <li>The<li> <li>quick</li> <li>brown</li> </ol> <ol> ...

CSS "frameworks" that account for browser irregularities?

I build websites for a small-ish media company. Unfortunately, around 45-50% of our client base uses IE6, while the other half are pretty much equally split between Firefox and Webkit-based browsers, with a sprinkling of Opera users. I start every one of my sites with a reset stylesheet similar to Eric Meyer's, with a few modificaions. ...

What is the simplest and best tool for real-time tweaking of CSS in IE6, similar to what Firebug does for Firefox?

All front-end developers know the pain of coding for Firefox, then viewing our then mangled pages in IE6. IE6 is still widely used (it is, however disappearing slowly but surely... in a year and a half from the writing of this, it will be irrelevant as usage will be less than 1%) We usually used IE conditional comments to create separat...

What debug logging tools are available from Javascript?

I'd like to create a "universal" debug logging function that inspects the JS namespace for well-known logging libraries. For example, currently it supports Firebug's console.log: var console = window['console']; if (console && console.log) { console.log(message); } Obviously, this only works in Firefox if Firebug is installed/enabl...

What are all the valid self-closing tags in XHTML (as implemented by the major browsers)?

What are all the valid self-closing tags (e.g. <br/>) in XHTML (as implemented by the major browsers)? I know that XHTML technically allows any tag to be self-closed, but I'm looking for a list of those tags supported by all major browsers. See http://dusan.fora.si/blog/self-closing-tags for examples of some problems caused by self-clo...

What Cross-Browser Javascript Libraries Are Out There?

I'm gearing up to do some AJAX style client side Javascript in the near future and I've heard rave reviews of JQuery when it comes to this realm. What I'm wondering is: What are all the cross browser Javascript libraries out there? If you've used something, please share your experiences. And do your best to avoid bringing religion ...

Removing blotchiness on transparent PNGs filtered with additional opacity in IE

I made a rotating image fader using Javascript and CSS to show images and unload them. I wanted to use transparent PNG's, I didn't expect or care if they looked good in IE 6, but IE 7 and 8 treated them with the same disrespect. Firefox and other modern browsers looked great. Every picture with image.filter = alpha(opacity=xxx) in it ...

Retrieve Web Browser Stored Form Data?

I have my web browsers set to save what I type into text boxes on forms. I have a lot of search terms stored in the text box of my browser and would like to get at it via a program of some sort before I clear these values out. There are far too many for me to go through one at a time. The web browser must store this data somewhere, ...

Seeking CSS Browser compatibility information for setting width using left and right

Here's a question that's been haunting me for a year now. The root question is how do I set the size of an element relative to its parent so that it is inset by N pixels from every edge? Setting the width would be nice, but you don't know the width of the parent, and you want the elements to resize with the window. (You don't want to use...

Why do Chrome, Firefox and IE all render fixed-width SELECT controls differently?

I am losing hair on this one ... it seems that when I fix width an HTML SELECT control it renders its width differently depending on the browser. Any idea how to to standardize this without having to turn to multiple style sheets? Here is what I am working with: .combo { padding: 2px; width: 200px; } .text { padding: 2p...

What can cause mutated Flash display like this?

I'm having a weird cross-browser flash problem. Please see the screenshot below. I have seen this behaviour before, but I cannot recall what the cause was. Can someone please tell me why this happens, and possible actions I can take to fix it? ...