<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8600330392230750034</id><updated>2012-02-16T05:32:05.185-08:00</updated><category term='u'/><title type='text'>Crashpodel Design</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-5305017629156687883</id><published>2009-09-08T05:55:00.001-07:00</published><updated>2009-09-08T05:55:40.284-07:00</updated><title type='text'>Wireframing</title><content type='html'>&lt;p&gt;Making a trip to &lt;a href="http://smashingmagazine.com" target="_blank"&gt;Smashing Magazine&lt;/a&gt; always means an hour if not more of internet browsing. It is amazing how they churn out relevant and interesting content post after post. One of the &lt;a href="http://www.smashingmagazine.com/2009/09/01/35-excellent-wireframing-resources/" target="_blank"&gt;posts that I came across today was on wireframing&lt;/a&gt; and lists several interesting resources on the topic. Wireframing is a topic of interest for me and I came across the following interesting tidbits:&lt;/p&gt;  &lt;p&gt;1. &lt;a href="http://www.90percentofeverything.com/2008/01/02/the-boxing-glove-wireframing-technique/" target="_blank"&gt;The ‘boxing glove’ method&lt;/a&gt;: Use Post-It’s for each page as the smaller page size forces you to concentrate on the bigger picture and also anyone can participate.&lt;/p&gt;  &lt;p&gt;2. SEO Wireframing: &lt;a href="http://www.seomoz.org/ugc/seo-wireframing"&gt;http://www.seomoz.org/ugc/seo-wireframing&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-5305017629156687883?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/5305017629156687883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=5305017629156687883' title='38 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5305017629156687883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5305017629156687883'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/09/wireframing.html' title='Wireframing'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>38</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-2020667816901374779</id><published>2009-06-25T11:15:00.001-07:00</published><updated>2009-06-25T11:15:42.245-07:00</updated><title type='text'>Flunking Flex : Another Random Day</title><content type='html'>&lt;p&gt;Trying to develop my content in Illustrator and exporting them as symbols to be used as content in the Doodlepad.&lt;/p&gt;  &lt;p&gt;Apparently not working because they are being read as AVM1. This isn’t an acceptable solution yet (sigh): &lt;a title="http://paulofierro.com/archives/513/" href="http://paulofierro.com/archives/513/"&gt;http://paulofierro.com/archives/513/&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-2020667816901374779?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/2020667816901374779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=2020667816901374779' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/2020667816901374779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/2020667816901374779'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/06/flunking-flex-another-random-day.html' title='Flunking Flex : Another Random Day'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-3425314226724411879</id><published>2009-06-10T23:28:00.001-07:00</published><updated>2009-06-10T23:28:02.003-07:00</updated><title type='text'>Image Spacing in HTML E-mails in Hotmail</title><content type='html'>&lt;p&gt;This post sums it up pretty well:&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.viget.com/inspire/hotmail-image-problems-in-html-emails/" href="http://www.viget.com/inspire/hotmail-image-problems-in-html-emails/"&gt;http://www.viget.com/inspire/hotmail-image-problems-in-html-emails/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You need to add a ‘display:block’ style attribute to all the images. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-3425314226724411879?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/3425314226724411879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=3425314226724411879' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/3425314226724411879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/3425314226724411879'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/06/image-spacing-in-html-e-mails-in.html' title='Image Spacing in HTML E-mails in Hotmail'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-5991920943388736551</id><published>2009-05-22T00:59:00.001-07:00</published><updated>2009-05-22T00:59:04.012-07:00</updated><title type='text'>Flunking Flex: Day X</title><content type='html'>&lt;p&gt;Long hiatus (which means things were going okay thus far)&lt;/p&gt;  &lt;p&gt;Learnt that containers that support absolute positioning of children do not support the padding attribute.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bugs.adobe.com/jira/browse/FLEXDOCS-493"&gt;http://bugs.adobe.com/jira/browse/FLEXDOCS-493&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;TextArea don’t autosize and one needs ActionScript to achieve that :(&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.warwick.ac.uk/rbotoole/entry/automatically_resizing_text/"&gt;http://blogs.warwick.ac.uk/rbotoole/entry/automatically_resizing_text/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;If you’re trying to add a padding to the labels in a TabBar, styling the TabBar styleName won’t work, you need the assign a ‘tabStyleName’ and then apply padding to the labels.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-5991920943388736551?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/5991920943388736551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=5991920943388736551' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5991920943388736551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5991920943388736551'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/05/flunking-flex-day-x.html' title='Flunking Flex: Day X'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-6486792872184509057</id><published>2009-05-07T03:00:00.001-07:00</published><updated>2009-05-07T03:00:46.953-07:00</updated><title type='text'>Flunking Flex : Day 2</title><content type='html'>&lt;p&gt;1. &lt;strong&gt;The bold font weight:&lt;/strong&gt; Was still struggling with the font-weight issue on a button. The problem was that while the font was being applied to my TabBar after setting the Button font-weight to normal, on the active tab, there was still no text appearing since that was still bold. I finally found a solution but not before trying all kinds of random things – talk about taking the long route. &lt;/p&gt;  &lt;p&gt;I set out solving the problem with the Button. Looked through available attributes that I can set through CSS – to no avail. Trying adding a font as an .swf – again to no avail. Then i googled away and found a solution which required editing the Font in a Font Editor and then setting the sub-family to bold. [&lt;a title="http://www.gskinner.com/blog/archives/2007/03/bitmap_fonts_in.html" href="http://www.gskinner.com/blog/archives/2007/03/bitmap_fonts_in.html"&gt;http://www.gskinner.com/blog/archives/2007/03/bitmap_fonts_in.html&lt;/a&gt;] That worked after much trial and error. Finally I decided it was time to post my Flex woes online for the day and realised I was approaching the problem from the wrong end.&lt;/p&gt;  &lt;p&gt;I needed to set the font weight on the &lt;em&gt;active tab. &lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Thus all I needed was adding this to my TabBar CSS declaration: selectedTabTextStyleName:&amp;quot;activeTab&amp;quot;; and then apply a normal weight to the activeTab.&lt;/p&gt;  &lt;p&gt;2. &lt;strong&gt;What to use for styling?&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;There are too many ways to do things in Flex – all slightly inflexible. I’m unable to decide if I should use Degrafa, if I should use Illustrator or if I should use Photoshop to create my button skins. Guess, I better take an evolutionary approach to this one – so do the one that does the job right now – and worry about maintainability and size later. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-6486792872184509057?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/6486792872184509057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=6486792872184509057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6486792872184509057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6486792872184509057'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/05/flunking-flex-day-2.html' title='Flunking Flex : Day 2'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-3541606028233221061</id><published>2009-05-05T06:10:00.001-07:00</published><updated>2009-05-05T09:57:21.710-07:00</updated><title type='text'>Flunking Flex</title><content type='html'>&lt;p&gt;1. &lt;strong&gt;Degrafa (Yay!)&lt;/strong&gt; Using Degrafa in CSS to specify gradient fills and selectively round corners (makes life incredibly convenient)&lt;a title="http://www.mikehuntington.com/?p=31" href="http://www.mikehuntington.com/?p=31"&gt;http://www.mikehuntington.com/?p=31&lt;/a&gt; [Advanced CSS with Degrafa]&lt;/p&gt;  &lt;p&gt;2. &lt;strong&gt;fontWeight on Button:&lt;/strong&gt; You embed a font and then apply it to a Button and a Label. It works on the Label but not on the Button. Why so? Perhaps you embedded a normal weight font, but did not specify fontWeight:normal on the Button. Since, the default fontWeight on your button is bold, and your embedded font isn’t, you need to explicitly add fontWeight:normal to your Button style. Damn! hours wasted on this. [&lt;a title="http://viconflex.blogspot.com/2006/11/deal-with-embedded-fonts-buttons-and.html" href="http://viconflex.blogspot.com/2006/11/deal-with-embedded-fonts-buttons-and.html"&gt;http://viconflex.blogspot.com/2006/11/deal-with-embedded-fonts-buttons-and.html&lt;/a&gt;] and more hilariously[&lt;a title="http://polygeek.com/496_flex_issues-with-embeding-fonts-for-buttons-in-flex" href="http://polygeek.com/496_flex_issues-with-embeding-fonts-for-buttons-in-flex"&gt;http://polygeek.com/496_flex_issues-with-embeding-fonts-for-buttons-in-flex&lt;/a&gt;]&lt;/p&gt;  &lt;p&gt;3. &lt;strong&gt;TabBar extends Button:&lt;/strong&gt; You create a TabBar and gave it a nice new font. It doesn’t work. You scroll through your CSS and see you haven’t declared a style on the TabBar any-fucking-where. After an hour of trying stuff that even you know is inane, and deleting several parts of your CSS – you find a style declaration you had given in the beginning of the project : the Button component. Turns out the TabBar extends the Button component and this style will override a fontFamily applied to the TabBar separately.&lt;/p&gt;  &lt;p&gt;4. &lt;strong&gt;Disappearing Flex Builder:&lt;/strong&gt; Flex Builder 3, Project &amp;gt; Properties &amp;gt; Flex Build Path = Empty Screen in Vista x64. &lt;a title="http://bugs.adobe.com/jira/browse/FB-12239" href="http://bugs.adobe.com/jira/browse/FB-12239"&gt;http://bugs.adobe.com/jira/browse/FB-12239&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;5. &lt;strong&gt;Hope this isn’t true: &lt;/strong&gt;“Scale 9. As I wrote about in &lt;a href="http://www.partlyhuman.com/books/flexshortcut/"&gt;Introduction to Flex 2&lt;/a&gt;, the big difference between skins and background images is that you can use scale 9 on your skins to let one image work in many different sizes without looking awkward. But for whatever reason, and nobody ever tells you this, &lt;em&gt;you can’t use scale 9 with assets embedded from symbols in SWFs&lt;/em&gt;. It just doesn’t work. Regardless of whether you build the guides in Flash yourself, or write them in the embed tag. If you want to use scale 9 in your skins, pull them in as PNGs, and use the all-but-hidden embed “grid” attributes:” from [&lt;a title="http://dispatchevent.org/roger/flex-3-tips-tricks-and-gotchas-a-series/" href="http://dispatchevent.org/roger/flex-3-tips-tricks-and-gotchas-a-series/"&gt;http://dispatchevent.org/roger/flex-3-tips-tricks-and-gotchas-a-series/&lt;/a&gt;]. yflexskin.swf seems to work okay – so I’m hopeful.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-3541606028233221061?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/3541606028233221061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=3541606028233221061' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/3541606028233221061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/3541606028233221061'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/05/flunking-flex.html' title='Flunking Flex'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-5344020340971070489</id><published>2009-04-03T02:14:00.001-07:00</published><updated>2009-04-03T02:14:50.825-07:00</updated><title type='text'>IA diagrams</title><content type='html'>&lt;p&gt;A visual vocabulary for describing information architecture and interaction design: &lt;a title="http://www.jjg.net/ia/visvocab/" href="http://www.jjg.net/ia/visvocab/"&gt;http://www.jjg.net/ia/visvocab/&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-5344020340971070489?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/5344020340971070489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=5344020340971070489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5344020340971070489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5344020340971070489'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/04/ia-diagrams.html' title='IA diagrams'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-905430874916864738</id><published>2009-04-02T00:24:00.001-07:00</published><updated>2009-04-02T00:24:08.809-07:00</updated><title type='text'>Lessons in Web Design – ‘dihari baandhna mat bhoolo’</title><content type='html'>&lt;p&gt;In Indian parlance, &lt;em&gt;dihari &lt;/em&gt;is the daily wage you pay a wage worker. That is exactly what we are as web designers and subsequent to some one of my projects not going well, these are some lessons I’ve learnt and would like to share.&lt;/p&gt;  &lt;p&gt;1. People don't know what they want. Resist giving a quote until this is figured out in a significant detail.   &lt;br /&gt;2. People don't understand why are they being charged as much as they get charged.    &lt;br /&gt;3. Don't undersell yourself (Do #2).    &lt;br /&gt;4. Disclaimers and scope are more important than you think.    &lt;br /&gt;5. A few hours spent earlier will save you spending several hours later.    &lt;br /&gt;6. &lt;b&gt;Never&lt;/b&gt; start working without an advance.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;1. &lt;b&gt;People don't know what they want&lt;/b&gt;. 80% of the time people just know that they want a website, but they don't know a) what they want in it b) what they want to achieve with it or c) even what it should look like. &lt;/p&gt;  &lt;p&gt;Thus it's very important to help them think through this to simplify your work in the future. Using one of my projects as an example:   &lt;br /&gt;a) The number of features needed kept increasing. Music on the home page, a small Javascript tool, additional pages, an 'offer of the month' section etc. Now our obvious reaction is - &lt;i&gt;mat karo&lt;/i&gt;, this is not what we had been decided, however, from the client’s perspective, who is starting a new business - and constantly coming up with new ideas this is completely natural. However, if the details had been worked out in the beginning, it would be easy to charge extra for any new features requested later.    &lt;br /&gt;b) The number of design iterations were more than 4-5, and were still not approved. Again, by reining in the tendency to design and concentrating on content first would reduce this. A book I read recently (Head First Design), also recommends using a lot of paper before going ahead with an actual mock-up in Photoshop.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;2. &lt;b&gt;People don't understand our work&lt;/b&gt;. Unfortunately, unlike the print business where a 'unit' is very clear (per sheet, per mug etc.), we guys sell 'hours'. Plus, our hours are spent on various activities: design, converting design to HTML, resizing images, checking if this works across all browsers etc. It is of the utmost importance to tell your client how this process works, because otherwise they will always think that they are being overcharged. Spend some time breaking down the hours that will go into each module of the website, once you're through #1 above. This is true even when you're not charging your customer per hour. Work out the &lt;em&gt;dihari.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;3. &lt;b&gt;Don't undersell&lt;/b&gt;. You will definitely get a project if you quote less. But the question is, 'Why should you quote less?'. I think the popular wisdom is that 'people buy things that are inexpensive'. The popular wisdom misses one very important element - 'Whose money is it?'. People will always buy something that gives them the maximum value for &lt;b&gt;their &lt;/b&gt;money. Thus, if you have #2 covered, you will stop underselling yourself. The notion that your client may have is - 'I can get the same thing done cheaper'. Your answer shouldn't be 'Oh. Okay, I'll do it at that price', it should be 'Sure, you can. And you should.' and then tell them what all they should look out for in this new vendor. Even if you don't get the project, the client should go away thinking that he has learnt something from you (e.g. how to evaluate the next vendor).&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;4. &lt;b&gt;Disclaimers and scope&lt;/b&gt;. After you have worked out the client requirements and said anything more is chargeable, reiterate the point, reiterate the extra hours you will put in if the requirements change. Keep it transparent - and your life will be easy.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;5. &lt;b&gt;Hours saved&lt;/b&gt;. Again, if I had done #1,#2,#3 and #4, we would not have spent additional hours on the mentioned project, and when I woud’ve, I would have charged money for it.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;6. &lt;b&gt;Money in advance&lt;/b&gt;. I started working on two projects after a verbal commitment. This was mostly because I thought that we didn't have a body of work in website development and so the first bit of work, e.g. the design mock-up would convince the client that we mean business, that the project is on and they would be confident about our capability to finish the project. It was a way of giving the client a sample piece of work so that they 'buy-in'. &lt;/p&gt;  &lt;p&gt;I still say 'do something so that the customer buys-in'. But let that be #1 above. You have helped your client figure out what they want - and that's good enough - you have already given them a service. If they need more, ask them to pay up first. &lt;/p&gt;  &lt;p&gt;Don't be embarrassed about asking for money (as long as you have #2 covered, that'd never be a problem) – this in fact (to not be embarrassed) is an important person lesson for me.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-905430874916864738?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/905430874916864738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=905430874916864738' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/905430874916864738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/905430874916864738'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/04/lessons-in-web-design-dihari-baandhna.html' title='Lessons in Web Design – ‘dihari baandhna mat bhoolo’'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-1955741921959838170</id><published>2009-03-31T07:30:00.001-07:00</published><updated>2009-03-31T07:30:34.195-07:00</updated><title type='text'>Black Border on input tags in IE6/IE7</title><content type='html'>&lt;p&gt;Apparently, the solution is to give the border to another element wrapping the input and set the input border to 0.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://stackoverflow.com/questions/126445/any-way-to-remove-ies-black-border-around-submit-button-in-active-forms" href="http://stackoverflow.com/questions/126445/any-way-to-remove-ies-black-border-around-submit-button-in-active-forms"&gt;http://stackoverflow.com/questions/126445/any-way-to-remove-ies-black-border-around-submit-button-in-active-forms&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Too late for me now, guess will have to live with the fuglies in IE6/IE7.&lt;/p&gt;  &lt;p&gt;Also, haven’t found a way to remove the default padding inside the &amp;lt;input&amp;gt; tag!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-1955741921959838170?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/1955741921959838170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=1955741921959838170' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/1955741921959838170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/1955741921959838170'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2009/03/black-border-on-input-tags-in-ie6ie7.html' title='Black Border on input tags in IE6/IE7'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-7036597125663636757</id><published>2008-12-03T11:39:00.001-08:00</published><updated>2008-12-03T11:39:47.277-08:00</updated><title type='text'>Look Mom! My First IE Specific Javascript Bug</title><content type='html'>&lt;p&gt;As if IE's bad CSS implementation was not enough, the browser loves kicking a Javascript novice in the balls as well. After spending a fair number of hours reducing 5 pages to one with Javascript and jQuery - what do I run into - IE6 with the very cryptic 'Errors on page' error. &lt;/p&gt;  &lt;p&gt;A hour of further inspection revealed that IE6 (and apparently even IE7) do not support the indexOf method for an array! &lt;a title="http://www.htmlgoodies.com/primers/jsp/article.php/3624446" href="http://www.htmlgoodies.com/primers/jsp/article.php/3624446"&gt;http://www.htmlgoodies.com/primers/jsp/article.php/3624446&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Thank God for jQuery. &lt;a title="http://docs.jquery.com/Core/index#subject" href="http://docs.jquery.com/Core/index#subject"&gt;http://docs.jquery.com/Core/index#subject&lt;/a&gt; [There is catch to the index method in jQuery though and it is slightly different from the indexOf method - I remember running into such an issue - but can't quite recall what exactly it was - just a note to myself so that I look it up.]&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-7036597125663636757?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/7036597125663636757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=7036597125663636757' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/7036597125663636757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/7036597125663636757'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/12/look-mom-my-first-ie-specific.html' title='Look Mom! My First IE Specific Javascript Bug'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-6633207233174489875</id><published>2008-11-24T03:22:00.001-08:00</published><updated>2008-11-24T03:22:59.260-08:00</updated><title type='text'>Standardizing Design through CSS Frameworks</title><content type='html'>&lt;p&gt;Now that our business has evolved to include web development projects, I increasingly feel the need to standardise design elements across websites. A couple of reasons for which are &lt;/p&gt;  &lt;p&gt;a) Repeating the same set of actions for a variety of projects - browser styles reset, base typography, base styles for standard tags.&lt;/p&gt;  &lt;p&gt;b) Accidentally using class names which I had used for another project.&lt;/p&gt;  &lt;p&gt;I am evaluating whether I should be using an exisiting framework, or develop one of my own. The latter is tempting because it means no excess code, and instant recall on what does what. However, there seems to be inherent value in using another one - in terms of cross browser compatibility and basic learning (for example, I just learnt that I can use textarea and other form elements to mimic body typography by using an 'inherit' declaration instead of declaring them again explicitly).&lt;/p&gt;  &lt;p&gt;But given the time constraints, I think for now I will end up using a combination of the two. The framework I have selected for the above is &lt;a href="http://writehype.com/articles/3/even-the-playing-field-css-framework"&gt;Even the Playing Field&lt;/a&gt;, it seems lightweight and suitably modular (and also taught me the little nugget above). Other options were blueprint and YAML&lt;/p&gt;  &lt;p&gt;The list of things I inevitably end up doing:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;CLEAN-UP&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;1. Master Reset. Question: CSS Framework seem not to use *{margin:0; padding:0} and declare tags explicitly - is there a specific reason to do so?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;INDIVIDUAL ELEMENTS&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;2. Base styles for paragraphs, headings, tables, content lists (as against structural lists), images. Question: I end up using a margin-bottom:XXpx; for all my content items - not sure if I should use margin-top:5px, margin-bottom:5px; Intuitively, I have been unable to figure out what works best. Is this &lt;a href="http://24ways.org/2006/compose-to-a-vertical-rhythm"&gt;article on 'vertical-rhythm'&lt;/a&gt; a solution?&lt;/p&gt;  &lt;p&gt;3. Link styling.&lt;/p&gt;  &lt;p&gt;4. Button styling. Tricky, because often I'd like a link to imitate a button - and haven't figured a consistent way to do this. Also, should one use CSS to highlight the hover and active states through background images (which takes tons of extra mark-up and CSS) or just stick to something like jQuery?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;SUB STRUCTURAL ELEMENTS&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;5. Image thumbnail galleries. Variants: Image alone, Image with Title, Image with Controls (as in a checkbox, crop button etc.)&lt;/p&gt;  &lt;p&gt;6. Forms&lt;/p&gt;  &lt;p&gt;7. (Not strictly CSS) : Image Slideshows.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;OVERALL STRUCTURAL ELEMENTS&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;7. Grids! One Columns, Two Column, Three Column, Liquid or Fixed? My Achilles heel right now.&lt;/p&gt;  &lt;p&gt;8. Navigation. Suckerfish Drop Downs.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;HACKS/BROWSER CONSISTENCY&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;9. Separate stylesheet for IE6 &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;NEW TECH?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;10. CSS Sprites?&lt;/p&gt;  &lt;p&gt;Article will continue to evolve as I figure this out along with work.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-6633207233174489875?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/6633207233174489875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=6633207233174489875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6633207233174489875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6633207233174489875'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/11/standardizing-design-through-css.html' title='Standardizing Design through CSS Frameworks'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-6917271974228789606</id><published>2008-11-13T00:10:00.001-08:00</published><updated>2008-11-13T00:10:58.537-08:00</updated><title type='text'>Some Links</title><content type='html'>&lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://24ways.org/2005/transitional-vs-strict-markup"&gt;http://24ways.org/2005/transitional-vs-strict-markup&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;&lt;a href="http://www.smashingmagazine.com/2008/11/12/12-principles-for-keeping-your-code-clean/"&gt;http://www.smashingmagazine.com/2008/11/12/12-principles-for-keeping-your-code-clean/&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-6917271974228789606?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/6917271974228789606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=6917271974228789606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6917271974228789606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6917271974228789606'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/11/some-links.html' title='Some Links'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-7137688731838162581</id><published>2008-07-12T00:52:00.001-07:00</published><updated>2008-07-12T00:52:02.303-07:00</updated><title type='text'>Links</title><content type='html'>&lt;p&gt;To be blogged about in detail later&lt;/p&gt;  &lt;p&gt;IE div height problem | Highlight current page. | &lt;a href="http://www.websiteoptimization.com/speed/tweak/current/"&gt;http://www.websiteoptimization.com/speed/tweak/current/&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.dustindiaz.com/min-height-fast-hack/"&gt;http://www.dustindiaz.com/min-height-fast-hack/&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.webconfs.com/how-to-redirect-a-webpage.php"&gt;http://www.webconfs.com/how-to-redirect-a-webpage.php&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.positioniseverything.net/abs_relbugs.html"&gt;http://www.positioniseverything.net/abs_relbugs.html&lt;/a&gt; - absolute positioning&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-7137688731838162581?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/7137688731838162581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=7137688731838162581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/7137688731838162581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/7137688731838162581'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/07/links.html' title='Links'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-7408349341887074459</id><published>2008-06-24T23:46:00.001-07:00</published><updated>2008-06-24T23:46:15.104-07:00</updated><title type='text'>Show active links with CSS and 'includes'</title><content type='html'>&lt;p&gt;A common practice in web design is to use 'includes' for repeating page elements - such as a navigation bar or a sidebar. I am sure all web application frameworks provide some way of using includes. What I could not figure out was a simple way of highlighting the active link in that include - short of scripting, or not using includes at all.&lt;/p&gt;  &lt;p&gt;But then again - I hadn't googled it - and here is a simple, even though not the most elegant way of highlighting the active link: Called the Body ID/Class method.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.websiteoptimization.com/speed/tweak/current/" href="http://www.websiteoptimization.com/speed/tweak/current/"&gt;http://www.websiteoptimization.com/speed/tweak/current/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The idea is to add a separate class to each &amp;lt;body&amp;gt; tag and use a corresponding class or id for the link to that page. For example if I add a class 'home' to the &amp;lt;body&amp;gt; tag on my home page, and an id 'home' to the &amp;lt;a&amp;gt; that links to the page in my navigation include,&lt;/p&gt;  &lt;p&gt;I just need to add this CSS rule:&lt;/p&gt;  &lt;p&gt;body.home a#home{&lt;em&gt;style declaration&lt;/em&gt;}&lt;/p&gt;  &lt;p&gt;I agree the addition of an extra class to the body tag may be a bit cumbersome - but if you can maintain separate title tags for all pages - you can also do that for your body tags - just follow some kind of standard naming convention. &lt;/p&gt;  &lt;p&gt;The benefits to code brevity and code management are immense.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-7408349341887074459?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/7408349341887074459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=7408349341887074459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/7408349341887074459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/7408349341887074459'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/06/show-active-links-with-css-and.html' title='Show active links with CSS and &amp;#39;includes&amp;#39;'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-8323668030310948074</id><published>2008-06-24T23:10:00.001-07:00</published><updated>2008-06-24T23:10:09.323-07:00</updated><title type='text'>Image Resizing for Web Use</title><content type='html'>&lt;p&gt;This probably must be the simplest thing to do for most web designers - but yet so many get it wrong.&lt;/p&gt;  &lt;p&gt;Or perhaps, it's incorrect to use the term 'web designers': I think what I should say instead is, because everyone thinks this must be simple to do, even non-designers attempt it and get it wrong in the process.&lt;/p&gt;  &lt;p&gt;There are two ways in which I have seen this done wrong:&lt;/p&gt;  &lt;p&gt;1] HTML resize of images. &lt;/p&gt;  &lt;p&gt;Take an image and enter the modified dimensions in the img tag.&lt;/p&gt;  &lt;p&gt;So I would say &amp;lt;img src=&amp;quot;&amp;quot; height=&amp;quot;50&amp;quot; width=&amp;quot;50&amp;quot;/&amp;gt; for proportional resize of a square image. [If you enter only one dimension, the image gets resized proportionally anyway].&lt;/p&gt;  &lt;p&gt;The problem with this approach is a) The image is not actually being downsampled and you are making your end user download a much larger quantity of data than what's needed b) Most browsers render this resized image incorrectly (except the extremely smart Safari in my experience). Some examples: The right has been resized in a photo editing program (actually the nifty Windows Live Writer did it by itself).&lt;/p&gt;  &lt;p&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="matrix_12" src="http://lh6.ggpht.com/goel.ashish/SE2V6uZOTRI/AAAAAAAAAG4/YONAVV2U0lk/matrix_12%5B8%5D.jpg" width="240" border="0" /&gt; &lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="180" alt="matrix_12" src="http://lh5.ggpht.com/goel.ashish/SE2V7iDJU_I/AAAAAAAAAG8/5YcWzoOgS_w/matrix_12%5B12%5D.jpg" width="240" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;&lt;a title="http://blog.burrp.com/2007/09/03/the-green-blue-bday-bash/" href="http://blog.burrp.com/2007/09/03/the-green-blue-bday-bash/"&gt;http://blog.burrp.com/2007/09/03/the-green-blue-bday-bash/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Right click on any image and select 'View Image' you will see that the original images are much larger than as they are shown in the content.&lt;/p&gt;  &lt;p&gt;2] Indexed color resize of images.&lt;/p&gt;  &lt;p&gt;Several of us actually manage to fire up Photoshop to do a resize, but then end up with really ugly resized versions.&amp;#160; &lt;/p&gt;  &lt;p&gt;The problem here is that a lot of resizing gets done on logos which are in the .gif format. That means that it has only a specified number of colors allowed (called Indexed color), what needs to be done is to change the mode of the image to RGB before resizing it, subsequent to which it can be saved in the .gif format again. &lt;/p&gt;  &lt;p&gt;L-R 1] Original, 2] HTML resize, 3] Photoshop resize in Indexed mode, 4] Photoshop resize in RGB and then saved to index.&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.itasveer.com/common/images/main/logo_mar.gif" /&gt;&amp;#160;&lt;img src="http://www.itasveer.com/common/images/main/logo_mar.gif" width="100" /&gt;&amp;#160;&lt;img height="41" alt="logo_mar_sm_index" src="http://lh4.ggpht.com/goel.ashish/SE2V8Wold6I/AAAAAAAAAHA/fbSA4559Iko/logo_mar_sm_index%5B5%5D.gif" width="100" /&gt; &lt;a href="http://lh5.ggpht.com/goel.ashish/SGHhJ9PI_VI/AAAAAAAAAHE/Oywi1ccphDM/logo_mar_sm_RGB3.gif"&gt;&lt;img height="41" alt="logo_mar_sm_RGB" src="http://lh6.ggpht.com/goel.ashish/SGHhOPRs1mI/AAAAAAAAAHI/ckVbNg2Xe4U/logo_mar_sm_RGB_thumb1.gif" width="100" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Hope this is useful.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-8323668030310948074?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/8323668030310948074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=8323668030310948074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/8323668030310948074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/8323668030310948074'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/06/image-resizing-for-web-use.html' title='Image Resizing for Web Use'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/goel.ashish/SE2V6uZOTRI/AAAAAAAAAG4/YONAVV2U0lk/s72-c/matrix_12%5B8%5D.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-9105075340351892589</id><published>2008-05-29T12:19:00.001-07:00</published><updated>2008-05-29T12:54:25.850-07:00</updated><title type='text'>Equal Height Columns</title><content type='html'>&lt;p&gt;Want to create equal height columns with CSS. Looks like faux columns is the best choice.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.positioniseverything.net/articles/onetruelayout/equalheight"&gt;http://www.positioniseverything.net/articles/onetruelayout/equalheight&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;http://www.ejeliot.com/blog/61&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-9105075340351892589?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/9105075340351892589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=9105075340351892589' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/9105075340351892589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/9105075340351892589'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/05/equal-height-columns.html' title='Equal Height Columns'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-8240925763144671199</id><published>2008-05-24T06:35:00.001-07:00</published><updated>2008-05-29T12:04:01.738-07:00</updated><title type='text'>IE6 Blues</title><content type='html'>&lt;p&gt;Why on earth do 68% of my website visitors use IE/Win?&lt;/p&gt;  &lt;p&gt;Anyway, after banging my head around with CSS to get semantic markup to work with IE and a bunch of other things, I have given up for now.&lt;/p&gt;  &lt;p&gt;Just bookmarking some pages about the 'hasLayout' property in IE for future review.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.brunildo.org/test/IEABlock.html" href="http://www.brunildo.org/test/IEABlock.html"&gt;http://www.brunildo.org/test/IEABlock.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.brunildo.org/test/IEABlock1.html" href="http://www.brunildo.org/test/IEABlock1.html"&gt;http://www.brunildo.org/test/IEABlock1.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.satzansatz.de/cssd/onhavinglayout.html" href="http://www.satzansatz.de/cssd/onhavinglayout.html"&gt;http://www.satzansatz.de/cssd/onhavinglayout.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;An MSDN article on the hasLayout property:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb250481.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb250481.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The Escaping Floats bug:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.positioniseverything.net/explorer/escape-floats.html"&gt;http://www.positioniseverything.net/explorer/escape-floats.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The Peekaboo bug (Disappearing text!)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.positioniseverything.net/explorer/peekaboo.html"&gt;http://www.positioniseverything.net/explorer/peekaboo.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The Holly hack to fix these (no longer valid because of IE7): Using the mysterious box outside the html tag (who discovered this man!?)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.communitymx.com/content/article.cfm?page=2&amp;amp;cid=C37E0"&gt;http://www.communitymx.com/content/article.cfm?page=2&amp;amp;cid=C37E0&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The new solution for holly hack [by creating that extra container using conditional comments The #IERoot method:&lt;/p&gt;  &lt;p&gt;http://www.positioniseverything.net/articles/cc-plus.html&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-8240925763144671199?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/8240925763144671199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=8240925763144671199' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/8240925763144671199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/8240925763144671199'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/05/ie6-blues.html' title='IE6 Blues'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-5511596405825156685</id><published>2008-04-19T13:56:00.001-07:00</published><updated>2008-04-19T23:19:55.680-07:00</updated><title type='text'>Vertical-alignment without tables</title><content type='html'>&lt;p&gt;One of the common problems I come across when creating a picture gallery, is to vertically align images.&lt;/p&gt;  &lt;p&gt;Say, I have 4 images, with variable height and width, but fixed max-height and max-width and a title underneath.&lt;/p&gt;  &lt;p&gt;I could use&lt;/p&gt; &lt;code&gt;   &lt;p&gt;&amp;lt;div style=&amp;quot;float:left; margin-right:10px;&amp;quot;&amp;gt;      &lt;br /&gt;&amp;#160; &amp;lt;div class=&amp;quot;outerbox&amp;quot; style=&amp;quot;width:100px; height:100px; border:1px solid #999;&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt;img=&amp;quot;src=path&amp;quot; class=&amp;quot;innerbox&amp;quot;/&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt;/div&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt;div&amp;gt;Title&amp;lt;/div&amp;gt;       &lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/p&gt; &lt;/code&gt;  &lt;p&gt;I will get an image gallery which looks like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/goel.ashish/SApcHOfZD7I/AAAAAAAAAEg/QgMkOR36Eb0/image%5B9%5D.png"&gt;&lt;img height="136" alt="image" src="http://lh6.ggpht.com/goel.ashish/SApcJufZD8I/AAAAAAAAAEo/VxvFTX0MSpI/image_thumb%5B7%5D.png" width="426" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Here, if I want to center the images inside the grey box, I just need to add the declaration, &lt;code&gt;text-align:middle&lt;/code&gt;, to the container, however, if I want to vertically align these, I have nothing that I can use, short of using tables with a &lt;code&gt;valign&lt;/code&gt; attribute. This is because the '&lt;code&gt;vertical-align&lt;/code&gt;' style declaration does not mimic '&lt;code&gt;valign&lt;/code&gt;' in all cases. &lt;a href="http://phrogz.net/css/vertical-align/index.html"&gt;A detailed analysis of vertical-align by Gary Kistner can be found here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Initally, I was delighted to see that upon giving the div tag a &lt;code&gt;display&lt;/code&gt; property of '&lt;code&gt;table-cell&lt;/code&gt;' it uses it implements like a valign tag. [click to enlarge]&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/goel.ashish/SApcLOfZD9I/AAAAAAAAAEw/MgL44THRjRc/image%5B14%5D.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="223" alt="image" src="http://lh6.ggpht.com/goel.ashish/SApcMufZD-I/AAAAAAAAAE4/Ay5Qpv8qMJs/image_thumb%5B10%5D.png" width="462" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;But unfortunately, IE6 does not support this. For a detailed description on how browsers implement the display property, &lt;a href="http://www.quirksmode.org/css/display.html"&gt;visit this page on quirksmode&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The previous article by Gavin Kistner offers two workarounds.&lt;/p&gt;  &lt;p&gt;Method one works in the following way (I call it the &lt;strong&gt;Duck and Head-up&lt;/strong&gt; method): assuming a fixed height for the inner content (im my example the img with class innerbox), position it absolutely inside the container (outerbox) with the top-edge at 50% of the outerbox height. Now move back the innerbox up by half its own height, by using &lt;code&gt;margin-top:-y&lt;/code&gt;, (y=half of inner box height).&lt;/p&gt;  &lt;p&gt;I haven't tried this, simply because in my case, the inner content does not have a fixed height.&lt;/p&gt;  &lt;p&gt;The second may perhaps work because it assumes a single line of text inside the box (which a single inline image should be) and a fixed height for the outerbox, (which is true in my case), and then setting the line-height for the parent (outerbox) to the fixed-height. Let's see how that works. Sadly, it only works in the case of text. probably because it relates to font-size and not image-height [In the following example, text-height + above and below height = 140 which was the specified line-height]&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/goel.ashish/SApcPOfZD_I/AAAAAAAAAFA/pV_-Oh6JXOk/image%5B23%5D.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="142" alt="image" src="http://lh3.ggpht.com/goel.ashish/SApcS-fZEAI/AAAAAAAAAFI/GYQktXAFIF4/image_thumb%5B15%5D.png" width="454" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;span&gt;[In the above example, height declaration replaced by line-height declaration] &lt;/span&gt;&lt;/p&gt;  &lt;p&gt;I came up with a workaround which included some additional mark-up. Add a non-breaking space (&amp;amp;nbsp;) before the image, set the font-size to 1px and increase the outer-box width a little;&amp;#160; that way the image is seen as a part of the running text and Mozilla and Safari render this correctly [look at the second box]. But as always IE6 refuses to implement it this way! Sigh. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/goel.ashish/SApcWOfZEBI/AAAAAAAAAFQ/T8hMJbAL5pE/image%5B28%5D.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="152" alt="image" src="http://lh3.ggpht.com/goel.ashish/SApca-fZECI/AAAAAAAAAFY/9C1wi4vK2nk/image_thumb%5B18%5D.png" width="466" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Finally, this site seems to have find a solution using a font-height declaration for IE6 and then hiding it from other browsers. &lt;a href="http://www.ibloomstudios.com/articles/applied_css_vertical-align/"&gt;CSS vertical-align&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;But clearly if you want an excess mark-up and hack free solution, tables are probably your only resort - at least for an image gallery.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-5511596405825156685?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/5511596405825156685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=5511596405825156685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5511596405825156685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5511596405825156685'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/04/vertical-alignment-without-tables.html' title='Vertical-alignment without tables'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/goel.ashish/SApcJufZD8I/AAAAAAAAAEo/VxvFTX0MSpI/s72-c/image_thumb%5B7%5D.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-8528978072407218701</id><published>2008-02-20T22:50:00.000-08:00</published><updated>2008-02-21T03:52:26.672-08:00</updated><title type='text'>Replacing 'cellpadding', 'cellspacing' and 'border' attributes for the table tag with CSS</title><content type='html'>&lt;p&gt;I don't hate tables at all - unlike what pretty much all CSS proponents would have you do. They have their uses. What I don't like is adding cellpadding, cellspacing and border attributes in each table tag, making my mark-up look ugly and unreadable.    &lt;br /&gt;I recently found the really cool border-collapse CSS property, which seems to solve the issue. This post is just to fine-tune it and test it across browsers. &lt;/p&gt;  &lt;p&gt;Unfortunately, inline style declarations (as in a &amp;lt;style&amp;gt;&amp;lt;/style&amp;gt; statement) seem to be unsupported by Blogger. So I guess I just have to have to paste screenshots.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;FF 2.0.0.10&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="419" alt="table_test_FF_2_0_0_10" src="http://lh4.google.com/goel.ashish/R71lbxNDSBI/AAAAAAAAADQ/mEGwajqhw-s/table_test_FF_2_0_0_10%5B7%5D" width="350" border="0" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;IE 6&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="419" alt="table_test_IE6" src="http://lh5.google.com/goel.ashish/R71liBNDSCI/AAAAAAAAADY/HwDeflQ5-D4/table_test_IE6%5B4%5D" width="350" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;So, for a table with, say, class 'sample_table', this is what you need to do:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;table.sample_table{border-collapse:collapse;} /*removes cellspacing and border*/      &lt;br /&gt;table.sample_table td{padding:0;} /*removes cellpadding*/&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;[just .sample_table will also work]&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-8528978072407218701?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/8528978072407218701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=8528978072407218701' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/8528978072407218701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/8528978072407218701'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2008/02/removing-cellpadding-cellspacing-and.html' title='Replacing &amp;#39;cellpadding&amp;#39;, &amp;#39;cellspacing&amp;#39; and &amp;#39;border&amp;#39; attributes for the table tag with CSS'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-9002744639002668065</id><published>2007-11-29T00:19:00.001-08:00</published><updated>2007-11-29T00:19:05.412-08:00</updated><title type='text'>Batch Process in Photoshop - Override JPEG Options Dialog Box</title><content type='html'>&lt;p&gt;Batch processing in Photoshop can be a real time saver, but of course it's a sheer waste of effort if you have to press 'Ok' after each action is completed. Which is what happens if you are saving .jpg files, because a .jpg save action dialog box pops up. &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.google.com/goel.ashish/R0513jcg9WI/AAAAAAAAACg/1xdpI-zyHvM/jpeg_options2"&gt;&lt;img height="376" alt="jpeg_options" src="http://lh5.google.com/goel.ashish/R0514jcg9XI/AAAAAAAAACo/6TdSglgedRg/jpeg_options_thumb1" width="402"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I couldn't find an answer to this, until I did some googling and looked up Adobe Help. Here's how it works.&lt;/p&gt; &lt;p&gt;1. First off you need to include Save As and Close in your action. [Remember to use Save As and not Save, or else it would not work]. &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.google.com/goel.ashish/R0515jcg9YI/AAAAAAAAACw/ZBYGYDRjazc/save_as_action2"&gt;&lt;img height="272" alt="save_as_action" src="http://lh4.google.com/goel.ashish/R0517Tcg9ZI/AAAAAAAAAC4/8_3cgQcj5m8/save_as_action_thumb1" width="309"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;2. Next, when you are creating your Batch process, tick the Override Save As options checkbox. Voila! No more JPEG options.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.google.com/goel.ashish/R0519Dcg9aI/AAAAAAAAADA/1mArQZmY-c4/batch_override2"&gt;&lt;img height="641" alt="batch_override" src="http://lh3.google.com/goel.ashish/R051-Dcg9bI/AAAAAAAAADI/MWqhw9WqpFo/batch_override_thumb1" width="538"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Thanks to: &lt;a title="http://forums.macosxhints.com/archive/index.php/t-25180.html" href="http://forums.macosxhints.com/archive/index.php/t-25180.html"&gt;http://forums.macosxhints.com/archive/index.php/t-25180.html&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-9002744639002668065?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/9002744639002668065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=9002744639002668065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/9002744639002668065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/9002744639002668065'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2007/11/batch-process-in-photoshop-override.html' title='Batch Process in Photoshop - Override JPEG Options Dialog Box'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-6413440603019127203</id><published>2007-10-29T09:34:00.001-07:00</published><updated>2008-12-10T00:11:34.028-08:00</updated><title type='text'>Conditional Comments</title><content type='html'>&lt;p&gt;Ever heard of conditional comments? Well, I hadn't - but they might be the perfect solution to tackling the idiosyncrasies of IE when dealing with CSS.&lt;/p&gt;  &lt;p&gt;I have to delve into them further - particularly - using expressions within a style declaration (such as on the Burrp sign-up page).&lt;/p&gt;  &lt;p&gt;Usage:&lt;/p&gt;  &lt;pre&gt;&amp;lt;!--[if IE 6]&amp;gt;&lt;br /&gt;Special instructions for IE 6 here&lt;br /&gt;&amp;lt;![endif]--&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I would recommend putting this and the entire link statement for your standard stylesheet in a separate file such as style.jsp or style.php and then use it as an include.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Also, if you are using multiple IEs for testing, the conditional comments won't work - however, they will in actual practice.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-6413440603019127203?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/6413440603019127203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=6413440603019127203' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6413440603019127203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6413440603019127203'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2007/10/conditional-comments.html' title='Conditional Comments'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-6548007938971959436</id><published>2007-09-12T13:27:00.000-07:00</published><updated>2007-09-12T13:41:44.612-07:00</updated><title type='text'>The div vs. table conundrum: blocks, inline-blocks and those damned dimensions</title><content type='html'>First off, all visit &lt;a href="http://www.i-marco.nl/weblog/archive/2006/06/24/time_breakdown_of_modern_web_d/"&gt;this&lt;/a&gt; please.&lt;br /&gt;&lt;br /&gt;(My desktop wallpaper for the past days)&lt;br /&gt;&lt;br /&gt;I love this bit: Time spent trying to get the layout to work using only CSS before giving up and using tables (besides, swearing and getting the bastard to work in Internet Fucking Explorer!)&lt;br /&gt;&lt;br /&gt;I would give up tables for div's any day. The only thing which eventually gets me in the end is that div's are bloody block level elements!&lt;br /&gt;&lt;br /&gt;Which basically means that they will span the entire containing block - and not wrap the inner content. Here's an example:&lt;br /&gt;&lt;br /&gt;&lt;div style="border:1px solid Blue;"&gt;This is a div&lt;/div&gt; &lt;br /&gt;&lt;em&gt;{Some following content}&lt;/em&gt;&lt;br /&gt;&lt;table style="border:1px solid Blue;"&gt;&lt;tr&gt;&lt;td&gt;This is a table&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; &lt;br /&gt;&lt;em&gt;{Some following content}&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;What do I do if I want it to wrap the content?&lt;br /&gt;a) &lt;code&gt;float:left&lt;/code&gt; Then I have to start worrying about clearing floats - for which there is no single multiple browser compatible CSS-only solution.&lt;br /&gt;b) &lt;code&gt;display:inline&lt;/code&gt; Which means I can't apply any dimensions. No width, height, margin or padding [only left and right margin/padding apply if specified]&lt;br /&gt;c) &lt;code&gt;display:inline-block&lt;/code&gt; Not many takers (browsers)&lt;br /&gt;&lt;br /&gt;Thus, which brings me back to tables: the only element which behaves as a block but wraps the inner content.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-6548007938971959436?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/6548007938971959436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=6548007938971959436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6548007938971959436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/6548007938971959436'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2007/09/div-vs-table-conundrum-blocks-inline.html' title='The div vs. table conundrum: blocks, inline-blocks and those damned dimensions'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8600330392230750034.post-5807047662496977657</id><published>2007-06-26T23:56:00.000-07:00</published><updated>2007-06-27T00:33:50.582-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='u'/><title type='text'>IE6 double margin bug</title><content type='html'>Bug: Apply a &lt;code&gt;'margin-left'&lt;/code&gt; to a &lt;code&gt;'float:left'&lt;/code&gt; element. The margin doubles in IE6.&lt;br /&gt;Solution:&lt;br /&gt;&lt;a href="http://www.positioniseverything.net/explorer/doubled-margin.html"&gt;http://www.positioniseverything.net/explorer/doubled-margin.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Basically you add a &lt;code&gt;'display:inline'&lt;/code&gt; to your style.&lt;br /&gt;&lt;br /&gt;My concern was - I had applied a &lt;code&gt;'display:block'&lt;/code&gt; declaration to that element earlier - won't making it inline screw up the element behaviour? Well, it doesn't. As per the same article.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;"Those who are familiar with the specs on floats are aware that floats automatically become "block" elements, no matter what they were before becoming floats... That means that {display: inline;} on a float should be ignored, and indeed all browsers show no changes in the float when this is done, including IE."&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Alternatively, you can use conditional comments, which for some reason are not working for me right now! (Found out why they don't work: conditional comments have not been implemented in CSS syntax - and thus can't be in an external file: they have to be used on the page where they have to apply). &lt;a href="http://www.mezzoblue.com/archives/2005/11/03/ie7_conditio/"&gt;Link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8600330392230750034-5807047662496977657?l=crashpodeldesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crashpodeldesign.blogspot.com/feeds/5807047662496977657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8600330392230750034&amp;postID=5807047662496977657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5807047662496977657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8600330392230750034/posts/default/5807047662496977657'/><link rel='alternate' type='text/html' href='http://crashpodeldesign.blogspot.com/2007/06/ie6-double-margin-bug.html' title='IE6 double margin bug'/><author><name>Ashish</name><uri>http://www.blogger.com/profile/11307733299563271633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
