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: PSD to CSS/XHTML Öğretici Dökümanlar » Arslania
Pingback: 43個實例xHTML+CSS(DIV+CSS)網頁及導航佈局教程 « orangeflower1219
Pingback: PSD2XHTML教程 « 编码与设计艺术
Pingback: 70+ PSD to HTML Resources for Web Developers | ExceptionHandle.com
Pingback: dailyroundups.com » » 25+ Helpful Photoshop to HTML/CSS Tutorials
Pingback: E-sitesweb » 43 PSD to XHTML, CSS Tutorials Creating Web Layouts And Navigation
Pingback: PSD转HTML / CSS的38大教程转换 - 网页设计-中国领先的网页设计综合门户-专注设计.分享设计-我是设计师
Pingback: 21个转换 PSD 为 HTML 的教程 - 六月的瞬间 - HTML - Photoshop - 这是六月
Pingback: Sinan Demirel » PSD to CSS/XHTML Öğretici Dökümanlar
Pingback: Web Design 43个实例xHTML+CSS(DIV+CSS)网页及导航布局教程
Pingback: 17 More PSD To HTML Tutorials | psd2xhtmlonline
Pingback: not | Çağlar Karakoç
Pingback: int2techn.com » 30 Free Video Tutorials for Learning Web Design
Pingback: 43个PSD to XHTML,CSS教程 | 夜阑小雨,飘洒在岁月的流沙。80后,爱网络,爱小说,爱研究。产品设计,编程代码,网络营销,原创文学,系统研究。
Pingback: 43个实例xHTML+CSS(DIV+CSS)网页及导航布局教程 « 衣铎W+
Pingback: SD to CSS/XHTML DÖKÜMANLARI | Yusuf Tunç | Web Tasarim, Web Yazılım,Grafik Animasyon, Php, Asp, Eğitim Vİdeoları, Wordpress, Joomla,Asp.net Eğitim Hizmetlerini Vermekteyiz.
Pingback: 25 Great PSD To HTML Tutorials Conversion
Pingback: 分享21个转换 PSD 为 HTML 的教程 | 站长站