HTML / CSS Web Log Entries

Showing 1 - 15 of 39   < Prev | Next >

Building A Fixed-Position Bottom Menu Bar (ala FaceBook)

Posted: October 30, 2009 at 9:10 AM by Ben Nadel

Tags: HTML / CSS, Javascript / DHTML

Now that I've explored two ways of creating fixed-position elements across browsers - using IE6 expressions and absolute layouts - I wanted to give a go at creating a fixed-position bottom menu bar, ala FaceBook. The menu bar isn't going to contain much of anything - just a single button and a pop-up menu; mostly, I wanted to see how easily I ... read more »

Comments (10)  |  Post Comment  |  Ask Ben  |  Permalink



Using CSS Fixed Position Elements Across Browsers Without Javascript

Posted: October 16, 2009 at 9:34 AM by Ben Nadel

Tags: HTML / CSS

Yesterday, I posted my first experimentation with CSS fixed-position elements and getting them to work across all browsers, including IE6. The solution I demonstrated yesterday involved using proprietary Javascript expressions in the CSS that would be used by IE6; this technique worked pretty well, but caused a jittery effect as the "fixed" posi... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Permalink


Using CSS Fixed Position Elements Across Browsers

Posted: October 15, 2009 at 10:08 AM by Ben Nadel

Tags: HTML / CSS, Javascript / DHTML

Even after years of web development, one thing that I never really looked into was fixed-position elements. I've seen them used on websites, and I generally like what they do; but, I've simply never taken the time to look into it. So, I figured this morning would be just as good a time as any. If you are not familiar with what a fixed-position ele... read more »

Comments (24)  |  Post Comment  |  Ask Ben  |  Permalink



Default To The Numeric, Email, And URL Keyboards On The iPhone

Posted: September 29, 2009 at 8:58 AM by Ben Nadel

Tags: HTML / CSS

A long time ago, it used to work on the iPhone Safari browser that if your form inputs had the term "zip" or "phone" in the form field name, clicking on it would default the resultant iPhone keyboard to a numeric keyboard . While this forced us to use some really poor naming conventions, it increased the usability of our web-based iPhone applicat... read more »

Comments (29)  |  Post Comment  |  Ask Ben  |  Permalink


Object Oriented CSS (OOCSS) And Being Generic With Your Base CSS Classes

Posted: August 4, 2009 at 9:02 AM by Ben Nadel

Tags: HTML / CSS

I recently learned a great CSS lesson when working on a large, multi-tier educational application. One of the entities in the application is a "School." A while back, the staff members using the application decided that they wanted to be able to archive schools and furthermore, if the school was archived, they wanted it to be really obvious on the... read more »

Comments (12)  |  Post Comment  |  Ask Ben  |  Permalink


Object Oriented CSS (OOCSS) By Nicole Sullivan

Posted: July 8, 2009 at 9:55 AM by Ben Nadel

Tags: HTML / CSS

Last night, I watched a 49 minute presentation by Nicole Sullivan on something she calls "Object Oriented CSS" or "OOCSS." In simple terms, Object Oriented CSS is a methodology or framework (whichever you prefer) for organizing and extending your CSS in a way that is lightweight, highly performant, and easily used by developers at all skill leve... read more »

Comments (20)  |  Post Comment  |  Ask Ben  |  Permalink


Contextual CSS Is Good When You Know Everything About Your Content

Posted: May 27, 2009 at 2:40 PM by Ben Nadel

Tags: HTML / CSS

Cascading Style Sheets are the cat's pajamas; they've revolutionized the way that we build websites in as significant a way as I'd say server-side scripting did. In short, they are awesome. But, while the syntax for CSS is rather finite and easy to understand, recognizing the best way in which to architect your CSS is as much an art as it is a sci... read more »

Comments (12)  |  Post Comment  |  Ask Ben  |  Permalink


Preventing Form Caching With Javascript And jQuery

Posted: May 8, 2009 at 9:48 AM by Ben Nadel

Tags: HTML / CSS, Javascript / DHTML

Form caching is the browser mechanism where by you can navigate away from a form and then back to the same form (using the browser navigation buttons) and the form data that you entered remains in the form. Normally, this is a really awesome feature as the basis for re-navigating to a page is to update information that you entered previously. Howe... read more »

Comments (15)  |  Post Comment  |  Ask Ben  |  Permalink


The Power Of ZOOM - Fixing CSS Issues In Internet Explorer

Posted: September 18, 2008 at 9:02 AM by Ben Nadel

Tags: HTML / CSS

I think we've all experienced how frustrating it can be to do cross-browser testing with CSS-based web sites. Why is it that Internet Explorer (IE) never seems to play nicely with good, solid CSS markup?!? Anyway, I just thought I'd share one technique that I've found to be extremely helpful. When I have some CSS that just won't work in IE, I see ... read more »

Comments (18)  |  Post Comment  |  Ask Ben  |  Permalink


Ask Ben: Optimizing Tables For Printing

Posted: September 12, 2008 at 10:29 AM by Ben Nadel

Tags: Ask Ben, HTML / CSS

Hey I have a report I want to print but keep the header on every page, column names. Any suggestions? HTML table elements are actually designed to allow for this very functionality. The trick is that you have to use the THEAD tag which defines the table header. By using the THEAD tag, the rows that you define within the THEAD tag will be display... read more »

Comments (25)  |  Post Comment  |  Ask Ben  |  Permalink


Web Form Design By Luke Wroblewski

Posted: August 22, 2008 at 9:09 AM by Ben Nadel

Tags: Books, HTML / CSS

The other night, I finished, "Web Form Design" by Luke Wroblewski . In it, Luke Wroblewski discusses everything you'll ever need to know about designing web forms in your applications. He covers a myriad of topics including common strategies among the internet giants, label placement, dynamic forms, button placement, eye tracking, field size, fie... read more »

Comments (2)  |  Post Comment  |  Ask Ben  |  Permalink


A Reminder About Interfaces And The User Experience

Posted: April 15, 2008 at 8:29 AM by Ben Nadel

Tags: HTML / CSS, Work

Let's face it, we're programmers - we think about code - wonderful, beautiful, well-tabbed code. The biggest problem that we face is in our applications is that our target users are not programmers and they don't think about code at all. The only thing that they think about is what they can see and feel, which is of course, the user experience. Ev... read more »

Comments (8)  |  Post Comment  |  Ask Ben  |  Permalink


Defaulting To The Numeric Keyboard On The iPhone

Posted: April 14, 2008 at 8:56 AM by Ben Nadel

Tags: ColdFusion, HTML / CSS

As I have been using my Dig Deep Fitness iPhone fitness application over the last few months, I have noticed a few things that need to be improved; one of the biggest points of friction is the fact that 98% of the text input in the application is numeric and yet, every time I click on an input field, I am presented with the iPhone's Alpha keyboa... read more »

Comments (65)  |  Post Comment  |  Ask Ben  |  Permalink


Negative CSS Margins Are Not Cool

Posted: March 5, 2008 at 8:29 PM by Ben Nadel

Tags: HTML / CSS

This is a bit of blanket statement, so clearly it is not going to be true all of the time; but, it is my very strong opinion that if you have any negative margins on an XHTML element, then the code is not cool. I know that every now and then I come out with these very black and white statements like this and get heat for it, but I just feel this s... read more »

Comments (22)  |  Post Comment  |  Ask Ben  |  Permalink


Dig Deep Fitness iPhone Fitness Application Prototype

Posted: February 16, 2008 at 3:52 PM by Ben Nadel

Tags: ColdFusion, HTML / CSS

Last weekend, I put down some initial thoughts and screen ideas for Dig Deep Fitness , my iPhone fitness application. This is basically just a way for me to combine my love of ColdFusion with my love of working out while simultaneously breaking into the mobile device world. Since last weekend, I have taken my rough ideas and fleshed them out into... read more »

Comments (18)  |  Post Comment  |  Ask Ben  |  Permalink

Showing 1 - 15 of 39   Pages: 1 2 3 < Prev | Next >
Recent Blog Comments
Jill
Nov 7, 2009 at 11:40 AM
How To Unformat Your Code (Like A Pro)
Derek, I think you might be right - sweet! Thanks for the link :) ... read »
Nov 7, 2009 at 11:25 AM
How To Unformat Your Code (Like A Pro)
I think it would be way easier to just use this http://www.logichammer.com/html-formatter/ He just released v3 and it rocks. ... read »
Jill
Nov 7, 2009 at 7:58 AM
How To Unformat Your Code (Like A Pro)
LMAO - this was pretty funny! I have to admit - I also love to reformat code so I can read it. My boss used to tell me to leave my OCD at home. Now I don't feel so bad after reading everyone else' ... read »
Nov 6, 2009 at 10:10 PM
How To Unformat Your Code (Like A Pro)
The timing of this post is just uncanny. I spent the last 15-20 minutes manually un-formatting my "Ben Nadel" style code within a CFC of mine. I was really digging the readability a few weeks ago, bu ... read »
Roe
Nov 6, 2009 at 5:11 PM
Passing Arrays By Reference In ColdFusion - SWEEET!
ArraySort also reorders the results of these java obj's ... read »
Nov 6, 2009 at 4:53 PM
How To Unformat Your Code (Like A Pro)
I tried to go *back* the other way. Adding formatting is actually a much more complicated problem than removing formatting. Anyway, here is what I could put together with a minimal amount of time: ... read »
Asaf
Nov 6, 2009 at 2:35 PM
ColdFusion GetPageContext() Massive Exploration
Hi, I actually found this post useful. I recently acquired a SSL certificate for my website and when I switched over to HTTPS Internet Explorer would throw an error when trying to download a dynamic ... read »
Nov 6, 2009 at 2:19 PM
How To Unformat Your Code (Like A Pro)
@Chuck, @Nathan, Well, now I feel like it's a challenge.... I accept. ... read »