I continue to be amazed by how well Collis’s “Build a Sleek Portfolio Site From Scratch” tutorial continues to perform. It’s been months, yet it still posts strong numbers every week. Considering that fact, I decided to create a screencast that shows you exactly how to convert a PSD into perfect XHTML/CSS.
Part 1: Slicing the PSD and Creating the XHTML
Part 2: CSS
I won’t lie to you. This video is a bit boring. It just isn’t fun to watch someone enter margin values for thirty minutes. :) But it’s essential.
Part 3: Implementing a Bit of Javascript
Part 4: Kicking IE6′s Butt
Could we really call ourselves web developers if we didn’t have to fight with IE6? And is it a coincidence that “6″ is also the number associated with the devil? Who knows.
Mostly, the site looks just fine in IE6, but we should change a few quirks. Create a new stylesheet and call it “ie6.css”. Place it in your CSS folder. Then paste in the following.
#container #mainContent #tier2
{
margin-bottom: 273px !important;
}
#tier3 #news
{
position: relative;
left: .56em;
}
#header
{
height: 158px;
}
#header #login
{
top: 1em;
right: 1.5em;
}
There’s nothing that we really need to go over. Mostly, I’m adjusting the positioning of a few elements.
The last step is to reference our new stylesheet in the head tag of our document.
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="css/ie6.css" />
<![endif]-->
The PSD

The Website: 100% XHTML and CSS

I hope this helped you. Everyone has their own way of doing things; So I’d be interested to hear your thoughts. This tutorial was a huge undertaking. I’d appreciate a Digg if you found it to be beneficial.
- Subscribe to the NETTUTS RSS Feed for more daily web development tuts and articles.



Pingback: Hand-picked PSD to HTML Tutorials that Teach Stuff Right! - Code à la Mode
Pingback: 43个实例xHTML+CSS(DIV+CSS)网页及导航布局教程 | 幻岛|领地
Pingback: 70+ PSD to HTML Resources for Web Designers | LeVoltz - iPhone Games, Engineering Projects, Wordpress Themes
Pingback: 易站 » 10个专业的PSD转XHTML教程
Pingback: 易站 » 10个专业的PSD转XHTML教程
Pingback: 寂静小站 – 网摘 » 43个PSD转XHTML, CSS创建布局及导航辅导教程
Pingback: Ninety Percent Action | An Open Journey on Learning Through Taking Action » Journey Update: Site from Scratch
Pingback: 75 PSD to HTML Resources for Web Designers | Son Of Byte - Web Design & Development
Pingback: 10 awesome PSD to XHTML tutorials | Toronto Web Developer
Pingback: Need Graphics Help? » Quifoo Webmaster Blog
Pingback: Dizzy Blog » iA Notebook » 25 Ultimate Useful PSD to HTML Tutorials
Pingback: 75个PSD2HTML网页设计师教程 « 可乐吧
Pingback: 异次元的乱七八糟 » 四十三个实例DIV+CSS网页及导航布局教程
Pingback: 四十三个实例DIV+CSS网页及导航布局教程 « 理想之路
Pingback: 四十三个实例DIV+CSS网页及导航布局教程 « Forthxu's Blog
Pingback: 10 Awesome PSD to X/HTML Tuts! « TutScene – Help is here!
Pingback: PSD to XHTML, CSS Tutorials Creating Web Layouts And Navigation | icanbecreative
Pingback: 15 great tutorials for PSD to XHTML conversion
Pingback: 38 Great Tutorials To Convert PSD To HTML/CSS |
Pingback: 25 PSD to XHTML, CSS Tutorials Creating Web Layouts And Navigation « Review PSD to HTML Companies
Pingback: 20+ Best Tutorials to Convert Psd to XHtml/CSS « Review PSD to HTML Companies