Archive for the 'browser' Tag

  1. EmbeddedStream Mobile Version

    Screenshot of EmbeddedStream rendering on Opera in Handheld mode

    After learning that I have at least one occasional mobile using accessing the site (yes Jimmy, that’s you!) I’ve put in place a much more appropriate stylesheet, linked in with the handheld media type. I’ve been testing this against Opera - pressing Shift-F11 will switch Opera to handheld mode and will emulate it’s rendering behaviour when running on a mobile device. I think overall it works pretty well. Some of the features include…

    • Only 2 images in the design, and these are mini, mini images (3K each)
    • Single column fluid layout
    • More appropriate text sizing and margins
    • Better sizing of form controls

    I don’t really know enough about how widely the handheld media type has been adopted by mobile browsers, but I guess at least Opera crops up all over the place and it will render really nicely. Any feedback from my one mobile user would be appreciated :)

    While I was in the mood I’ve also added a print stylesheet, so think I should now be covered all round. I might have a little rant about Aural media type shortly, but will save that treat for another day.

    Posted at 9:06 am on 11/12/07

    Tags: , , , , , ,

    Comments: 2

  2. New browser

    I was just reading a post and someone mentioned offhand a browser that I hadn’t heard of, so I thought I’d share. Shiira is a new open-source product for the Mac based on the Safari rendering engine - details here.

    I can only assume that Jon Hicks was involved in the design - look at the logo below, then think about Firefox. I’m not complaining at all - love the fishy logo.

    Shiira

    Posted at 8:50 am on 26/04/07

    Tags: ,

    Comments: 2

  3. Browserfest

    So I guess you all know that IE7 is now on official release. This will come down via windows update in the near future, but I suggest you go and get it now if you have no compelling reason to do otherwise. The only minor pain will be cross browser testing, as you’ll need to run IE6 in a virtual PC (I think there are various articles around about hacking a standalone IE6 that will live happily side by side - good luck with that).

    Something that totally slipped past me is that Firefox 2.0 has also just been released! I have no idea what’s new just yet, but I love this little browser so I’ll be installing today. I think you should too.

    Posted at 9:09 am on 25/10/06

    Tags: ,

    Comments: 2

  4. HasLayout in IE7

    The majority of freaky rendering behaviour in IE6 came down to whether the haslayout attribute was applied to an element. This was a speed optimisation in the rendering engine - certain behaviour was skipped when deciding how to render an element if haslayout was false to increase the efficiency of rendering a page. The result was that a valid set of CSS instructions would produce unexpected rendering behaviour in IE6 unless haslayout was true on certain elements.

    One of the hacks used to get around this was to apply height: 1px to an element (in a hacks file, served only to IE6 via conditional comments). As IE6 treated height like min-height, this would have no adverse behaviour, but would result in haslayout resolving to true for the element.

    This morning I came across my first strange rendering issue in IE7 due to haslayout being false on a container element. I think a lot of the quirks have been fixed, but just be aware that the engine can still render differently according to haslayout. The previous height:1px fix is no longer applicable, as IE7 quite correctly respects any absolute height that you specify.

    The fix in this case was to set min-height: 1px, which is another attribute that will now result in haslayout being set. In our case this had no adverse effect on the desired rendering, and therefore was a suitable fix. The actual problem was minor - 1px of extra padding on an element for no good reason.

    I think in a lot of cases setting a min-height value would be a good approach (obviously this can be abstracted to a seperate file and served with conditional comments). However this is a fairly unobtrusive fix, so could stay with the core set of instructions without polluting the water too much.

    Posted at 11:55 am on 4/10/06

    Tags: , , , ,

    Comments: None

  5. King PNG

    I was mulling over the changes coming up in IE7 and what was the happiest new feature. I think the one that gets me bouncing up and down is the support for full alpha channel in the PNG image format.

    I think that up to now the format has never caught on in a big way, as the main benefit is having full control over the alpha channel and being able to layer up semi-transparent areas, and IE6 would not natively support the opacity specified in the image.

    There were a few workarounds - more can be read on AListApart. These are based around using the AlphaImageLoader proprietary filter in Internet Explorer. However doesn’t provide the kind of flexibility you can usually get when you specify CSS background properties - for example, getting to control horizontal and vertical tiling behaviour.

    So with IE7, all of the major modern browsers will now support the alpha channel in PNG format (cheering from the stalls). This all sounds a bit geeky and dull so far, but this makes the life of a designer much more exciting.

    We’ve been able to do a certain amount with transparency up until now, but generally by faking it, where images happen to match up perfectly to give the illusion of transparency. However, this would mean that moving things around too much would require cutting new image assets.

    No longer! We can now see a point where the general browsing populous will all be rendering PNG images correctly, which means that we can do some very cool things. I’ll try to whip up some examples in the near future - feel free to add links to any showcase sites that you’ve come across.

    Posted at 11:15 am on 13/06/06

    Tags: , ,

    Comments: None