Archive of Web design
-
Absolute URLs and HTTP/HTTPS
Posted on June 8, 2011 by Frederik Vig in Web designHere's a neat little trick I saw after browsing the HTML 5 Boilerplate code. Instead of specifying a protocol (HTTP/HTTPS) when adding absolute URLs to resources like jQuery on Google CDN you only need to specify // followed by...
Continue reading this entry → -
Guide to font sizing with CSS
Posted on February 6, 2010 by Frederik Vig in CSS, Web designFont sizing with CSS and browser support as always been a mystery to me. We used to use pixels, than we switched to ems and percent, then we switched back to pixels again?!.. In this post I've tried shedding some...
Continue reading this entry → -
Better breadcrumb trail
Posted on November 14, 2009 by Frederik Vig in EPiServer, Web designI often install the Public Templates when setting up a new EPiServer project. They contain some good code that I reuse in various parts of a new site. One thing that I've copied and modified is the code for the...
Continue reading this entry → -
Font resizing and printing with jQuery
Posted on October 27, 2009 by Frederik Vig in JavaScript, Web designYou've probably seen the three A's on various websites, especially public sector websites; that you can click on to increase the font size on the web site. I'm personally not a huge fan of those. In my opinion it is...
Continue reading this entry → -
Creating a mobile version of a web site
Posted on October 4, 2009 by Frederik Vig in ASP.NET, CSS, EPiServer, Web designWhen building web sites we has developers or designers have to take into consideration all the different types of devices that can be used to access the web sites we create. Not just PC or Mac with Internet Explorer, Firefox,...
Continue reading this entry → -
CSS tricks – part 1
Posted on May 31, 2009 by Frederik Vig in Code Snippet, CSS, Web designHere are a few CSS tricks I've picked up along the way. Always visible vertical scrollbar When you have a fixed width centered web site open you've probably noticed that the page sometimes jumps a little. This is because the vertical scrollbar...
Continue reading this entry → -
Transparent PNGs
Posted on May 5, 2009 by Frederik Vig in Web designThis is mostly for my own reference, but hopefully useful for others as well. I always forget to add a pngfix for Internet Explorer 6 when using transparent PNGs. There are a few fixes out there. 24 ways: Transparent PNGs in...
Continue reading this entry →