CAT | HTML
The Problem: I had a “mysterious” 3px gap below a couple of images and no matter what I did I couldn’t seem to get rid of it. It was as if the image was 3px taller or had 3px of margin or padding, but zeroing all of these attributes had no effect. The Solution: I [...]
9
JavaScript reports 0 (Zero) Height and Width for hidden image
2 Comments | Posted by Will Wright in CSS, HTML, JavaScript, jQuery
The Problem: I was recently modifying an image gallery for a customer that used a pretty slick JavaScript Carousel for the presentation. The Basic idea was that the images were all outputted within an LI, hidden via CSS, and then the JavaScript carousel used that LI as the datasource to build the gallery. Everything worked [...]
The Problem: Note: This only applies to XHTML 1.0 Strict Doctypes and Mozilla. I make this type of layout all the time! Two fixed width columns on either side of a fluid column. Recently I had to put a list of article teasers into the center (fluid) column. No problem, I marked up an unordered [...]
The Problem: I recently built a form for a customer which had a really long legend! My content area was floated to allow for a right hand sidebar and I noticed that with the addition of the new legend the layout had broken. The issue, it turns out, is that both IE and FF handled [...]
Demonstration of a CSS issue in IE regarding CSS hover menus and a way to fix it.
