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 (13)  |  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 (6)  |  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 (28)  |  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 (33)  |  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 (19)  |  Post Comment  |  Ask Ben  |  Permalink

Showing 1 - 15 of 39   Pages: 1 2 3 < Prev | Next >
Recent Blog Comments
Nov 20, 2009 at 5:38 PM
Learning ColdFusion 8: CFImage Part I - Reading And Writing Images
Hi Ben, Great article. I've been looking around to see if ColdFusion image engine can programatically create the following "wrap around" effect: http://www.creativepro.com/article/photoshop-s-she ... read »
Nov 20, 2009 at 5:35 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Dave: I talked to Gert he suggested: <cfhttp method="get" url="http://{some cf website}" result="stuff" addtoken="yes" /> Note the addition of cfhttp attribute addtoken. That should persist y ... read »
Nov 20, 2009 at 5:23 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Todd, Ahh, gotcha, yeah that makes sense. ... read »
Nov 20, 2009 at 5:17 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
Ben, sorry if I didn't make this clear. You can make it work like that if you want, just put <cfset session.foo = 1> (and <cfset application.foo = 1>) in your OnRequestStart() and it reve ... read »
Nov 20, 2009 at 5:07 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Todd, I have seen tidbits about the way Railo handles session. I can understand that it lazy-loads sessions, but I also think that I might make some things more complicated. For example, often tim ... read »
Nov 20, 2009 at 4:53 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
Ben, you can ramp up the security by turning on J2EE session which gives you a third set of numbers other than CFID/CFTOKEN. There's a reason why ACF put this in place (other than just session replic ... read »
Nov 20, 2009 at 4:52 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
Case in point, Ben, you may not be aware of this, but in Railo - OnApplicationStart() & OnSessionStart() act differently than in ACF. ACF does: OnApplicationStart (1st hit) OnSessionStart (1st and e ... read »
Nov 20, 2009 at 4:46 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Todd, That's understandable. I am not sure if this really leaves any more security holes than the fact that using old cookie-based CFID / CFTOKEN values will create a new session using the old CFI ... read »