Coding a Complex Design into CSS and HTML
plus

Coding a Complex Design into CSS and HTML: New Premium Tutorial

Download Source Files

Today, we’re going to be taking the PSD website design, from Mahmoud’s Psdtuts+ Tutorial ,and coding it into valid, semantic HTML and CSS. Along the way, we’ll go over some essential CSS techniques, such as image replacement, sliding doors, and CSS sprites. This is a monster of a tutorial, as the design is a bit complex. Nevertheless, a relative beginner should be able to follow along, so put on a pot of coffee and let’s get started!

Help give back to Nettuts+ by becoming a Premium Member!

Final Product


Become a Premium Member

NETTUTS+ Screencasts and Bonus Tutorials

For those unfamiliar, the family of TUTS sites runs a premium membership service. For $19 per month, you gain access to exclusive premium tutorials, screencasts, and freebies from Nettuts+, Psdtuts+, Aetuts+, Audiotuts+, and Vectortuts+! For the price of a pizza, you’ll learn from some of the best minds in the business. Join today!

  • Subscribe to the Nettuts+ RSS Feed for more daily web development tuts and articles.

Add Comment

Discussion 64 Comments

  1. Aw come on, my Tuts-plus just ended!

  2. Skellie says:

    Really looking forward to going through this. Thanks Tessa!

  3. Moneyxl says:

    This is gonna be popular due to folks requesting it on psdtut

  4. This looks so awesome! Really looking forward to the weekend now!

  5. oconn96 says:

    It’s not too complex. Especially when you have the PSD from the original tutorial. The welcome images are the only things requiring anything special.

  6. Keith says:

    Hmm … I just might have to pay to become a plus member! I’ve been looking for a more complex tutorial such as this one.

  7. Paul says:

    woo.. come on… it’s not complex at all. I am surprised it’s premium…

  8. bopjo says:

    No screencast?

  9. Ciwan says:

    I would have loved a Screencast !

    It is so time consuming going through all that text ! Honesty I think all tuts should be in Screencast form, from today onwards :D

    By the way why is it that in so many tutorials I see them three guidelines repeated ? why is that ?

    Thanks

  10. Robert says:

    I hate listening to people talk. I begin to focus on their grammar and lose my concentration on what’s going on. No screencasts for me, thanks.

    • Tessa says:
      Author

      lol I know what you mean. Personally I don’t have the patience for screencasts, but I understand why some people find them useful. Next time I think I’ll try it, once I get a microphone. I promise my grammar is impeccable.

  11. Ef says:

    It’s not really complex HTML or CSS, only the big green box at the top can be a bit hard to do. Nevertheless it’s great for you Tessa that it’s a Plus! Good job!

  12. Looks like good tutorial..!

    thanks!

  13. Jo says:

    Hye is there the .js integration in this tuts plus
    Thanks
    ++

    • Tessa says:
      Author

      sorry, I didn’t get to that part, but look up the jquery cycle plugin. It shouldn’t be too hard.

      • Gareth says:

        I would really like to see the js integration, maybe in a seperate tutorial. Using the cycle plugin how would you get the images in the background to rotate and change and the nice reflection, how would that work?

      • Tessa says:
        Author

        I wasn’t thinking of anything that complex, I was just thinking about fading out the images into another set of images. That kind of animation is usually done with flash, it’s probably doable with javascript, but I’m no pro.

  14. yes, more premium content.

  15. p0ulpe says:

    Very lot of mistakes on the tuts !

  16. Chris says:

    Ugh I’m quite upset that I can’t view this. It sucks being 15 and not having money. :/

    • I’m a little late in replying, but could your parents spot you $9? If so, you can download every premium tutorial from the Tuts+ range in that one month. $22 for 3 months and you can space the downloads out if you have a limit.
      Good luck!

  17. Ryan says:

    complex?

  18. Jacob says:

    Only thing I have a issue with is your case of divitis. :p
    Apart from that, this is a very useful tutorial for those who are looking at coding a PSD.

  19. Anthony says:

    Thanks for taking the time to put this together! Not that another person needs to say it, buuuut I would like to have seen this in a screencast! Great tutorial though!

    • oconn96 says:

      I think the advantages to having tutorials outlined rather than in video is that you don’t have to wait for the video to load to scan the part you want to do. There have been many times where I accidentally refreshed or went back on the video page by mistake and had to watch all over again. I read code better than I do listening to someone talk about it. I think the balance right now is perfect for video:written tutorials.

  20. Ryan Turki says:

    How can we use the jquery cycle plugin to create te header slide effect ???

  21. iamnotblack says:

    could someone torrent this :) please

  22. Mahmoud says:

    Awesome work, Tessa! I’m really happy to see the coding part.
    Though I just noticed it now. Hehe.

  23. Jen says:

    Thanks Tessa, this is nicely done, is always nice to see how different folk tackle a layout.
    Nice and clearly explained too, thanks!

  24. Amy says:

    Ok, I’m still getting used to this latest redesign and changes. I am logged into my Plus account and this particular tutorial, doesn’t have a link to view the tutorial nor can I download any of the files. When I click on the tutorial, it takes me right back to this page that’s asking me to sign up for a “Premium” membership. Is that different than my old Plus membership? Or am I just stupid and missing something simple.

    • simaem says:

      Just log into the premium account and then search ( How to create a Professional 2.0 layout ) under PSDtuts+ …
      ANd u,ll find it :)

  25. carol Genetti says:

    I can’t seem to view this tutorial and I am a member. Go figure….

  26. c0sie says:

    All you “complex, how?” haters, give Tessa a break. This might be easy for some to code but it isnt easy for all and tuts like this are great for people like me.

    Tessa, I joined up to “Plus” just for this tut so huge thanks :)

    Now…can I get a reply to my post on your homepage Chrome Tabs tut please :D

    • jleajones says:

      word…i joined for this tut too, but i was hoping it would include how to code the new work part, but this is great tut none the less!

  27. Crif says:

    I just became a member for this tutorial but I’m see any content for it. You can click the link for the PSD tutorial but I don’t see any thing for the CSS+HTML side of it. Anyone know why?

  28. Danny says:

    Can I just subscribe for 1 month to download this? You should have an option to simply buy the tutorial.

  29. Deoxys says:

    Can somebody explain me what “float: rightright” does? Is that semantically correct and accepted by the rules? What’s the difference to “float: right”??

  30. Ajinkya says:

    you guys teach the jCarousel also !

  31. simaem says:

    Really Nice Theme..
    I just Became a Premium Member to get this Theme and Try coding it..
    But there is a Problem..
    cant i get the .Psd file of it in Source files ???

    • simaem says:

      OMG :| i am so lame :P
      ok guys all of u Premium members u need to go to the Mahmoods PSDtuts+ link to get the .psd files :)
      i got them..
      And BTW awesome work Tessa…
      U just missed the HOME button Effect a lil bit…
      But overall Brilliant work,,,

  32. Uzdan says:

    For some reason my nav-right.jpg won’t show up on the li.active a{ but it will on the li.active { any help?

    • Uzdan says:

      Had to set the list-style-position to outside. That fixed the problem for firefox, although it still doesn’t show in my dreamweaver preview window.

  33. bydj says:

    what is the format, is this screencast?
    screencasts are best format at least for my opinion!
    one more question, are premium memebers allowed to download video tut.?

    • This isn’t in screencast format – it’s text. Also, what do you mean “video tut” – Anything in the Plus Members area is available for download – you should see the different sites on the right side of the screen to search their different tuts.

  34. Hey Tessa,

    Just wanted to stop by and thank you for this tutorial. Amending the layout a little, I’ve used this tutorial with Jeffrey’s PSD to HTML to WordPress tutorial screencasts to make up my blog site: http://sffarlenn.net – thanks so much for this!

  35. Link to the original PSD tutorial would have been nice :/

  36. W.B. says:

    Love this tutorial, thanks! I noticed that you are using floats to make the navigation links align horizontally. CSS actually has an attribute that can do this without using floats, like so:

    #header ul li {
    display: inline;
    }

  37. San says:

    This is really nice..

  38. mono says:

    Hi.

    I have to say is a nice tutorial but it has some problems, the index.html source file doesn´t work in ie 9 and ie7simply doesn´t show a thing!, I´ve followed step by step the tutorial and my index.html working file has this issues too. What can be wrong? Also I´ve putted the jquery code to show a nice header pics, it works nice in modern browsers but it crashed on ie5 and ie6, the same old ancient problem of ie, is there any kind of hack to make this jquery and jquery-cycle scripts work fine on those browsers?

    I just need this to work in all browsers, it has to be a cross-browser page!

    Please help

    Thanks

  39. Matt says:

    Is this tutorial no longer available?
    I just got a premium subscription to do this tutorial but the source link is broken………….

    • Matt says:

      Is there any other tuts like this?
      I went through Marko Prljic’s tut but I need more explanations to go with the code.

      I went through Tessa’s ‘First Website’ tut, I like her style of explaining things.

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.