CSS min-height and min-width

Cross browser minimum height or minimum width. Most of you will already know this little trick to give your website/element a min-height or a min-width. There are a lot of techniques to make it work, but this one is the easiest and it’s a good reminder for myself when I need the use this hack.

min-height


.minHeight {
min-height:400px;
height: auto !important;
height: 400px;
}

min-width


.minWidth {
min-width:300px;
width: auto !important;
width: 300px;
}

I don’t use the min-width a lot, but the min-height is really useful for example to keep an element the same height when it has less content.

Older IE versions doesn’t support min-height or !important. The browser sees height: auto, then height:300px. Height works fine in these older IE versions. When there is more content then the 300px height the element will just expand. So you use the misunderstanding from IE to your advantage.

Twap!

Bruce Lawson

A new word from Bruce Lawson

It’s such a great word, because it has all the monosyllabic satisfaction of yelling “Twat!” and all the conversation-terminating venom of barking Crap! with none of the career-damaging rudeness. In fact, the person hearing the word should leave you feeling reassured and educated, as “Twap” is, of course, an acronym for the phrase “The Web Ain’t Print”.

Here is an example…

Marketing manager:
Bruce, in the printed brochure, all the headings are underlined, but on the website you’ve missed out the underlines. Can you fix it urgently?

Bruce Lawson:
Twap!

View the entire post

Hello IE8 beta 1

So what about Windows Internet Explorer 8. The moment I was thinking about installing IE7, I noticed the beta version of IE8. So I installed IE8 and started some tests.

The installer takes his time (took me about 15 minutes to install IE8 beta version). First step was downloading, then a check for malicious software, installing Internet Explorer 8, installing updates, finishing setup. So, the installer was finally finished and of course… restart.

Ok, restart is finished, Launch Internet Explorer Browser… Yes, the first error message. Why didn’t they include it in the installer? Be careful when you install the beta, it overwrites your previous version of Internet Explorer.

Error 1

Ok, I just clicked OK and the browser opened. After applying my personal settings I can finally start browsing.

The first thing I noticed was the Emulate IE7, a good thing for us front-end developers. Even better would be that you can emulate for IE6. No more multiple installations. And it would be great if they could make the emulation without restarting your browser.

Emulate

I have only tested one site, apple.com, and I notices some strange things. I am not going to list them all, but I have added some screenshots from IE8, you can compare it with your own browser.

It’s still a beta version, and the biggest news is that they will be using the standards.

Don’t forget to read the article about IE8 beta from 456 Berea Street. They are talking a bit more about CSS 2.1, Built-in developer tools (that’s also a good update) and Zoom.

The screenshots

Screenshot IE8 beta 1 Screenshot IE8 beta 1 Screenshot IE8 beta 1 Screenshot IE8 beta 1 Screenshot IE8 beta 1

Links

- 456 Berea Street about IE8 beta 1
- IE 8 beta 1

And now

Before installing IE8 I made a system restore checkpoint. Luckily because after writing this article and testing a bit, I go back to my good old IE6…

Charterdream

Charterdream unique and exclusive travel concept

Charterdream is a website I had to develop with (x)html/css. The design was made by Dragonflame. The result is a small, efficient and fast navigating website about unique travelling. I have used Galleria for the photogallery, a Javascript Image Gallery from David’s kitchen. The only downside about this script is the loading time. If someone knows a way to speed it up, be my guest.

Charterdream is about a totally unique and exclusive travel concept born out of a traveler’s love affair with wilderness and open space, a world away from the established tourist circuits.

Check out the awesome pictures in the photo gallery and dream of a vacation like this! (be patient for loading time, hopefully I can get it fixed in the future)

www.charterdream.com

Siafu

Siafu is a PC designed to give people with vision loss or impairment a more intuitive computer experience. It lays flat like a tablet and allows the user to fully interact with it by way of touch. The surface utilizes a conceptual material called magneclay or magnetized liquid. This material has the ability to morph upward into any shape via a controlled electromagnetic field enabling the device to create a braille surface for reading and even pictures in 3D relief.

Siafu

Siafu

The technology behind Siafu – Magneclay, is an oil based synthetic agent that possesses limitless morphing capabilities. Its loose molecular structure but can be infinitely rearranged when acted upon by electrical and magnetic charges. As long as the charges acting upon it remain stable, the magneclay will hold its structural rigidity, allowing it to be touched and groped without deformation.

This is one of the most impressive features:
Siafu utilizes 2-D to 3-D image conversion technology to process screen images. It then generates a 3-Dimensional digital wire frame which is then process through electrical currents into the magneclay. The end result is a highly accurate 3-Dimensional representation of the image.

Siafu

Source