WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1How to code PSD files to HTML Empty How to code PSD files to HTML Wed Jan 06, 2010 8:50 pm

Veljko

Veljko
Registered Member
Registered Member
I am creating my very first website layout. But how to code it?

2How to code PSD files to HTML Empty Re: How to code PSD files to HTML Wed Jan 06, 2010 10:59 pm

ankillien

ankillien
Administrator
Administrator
First of all, you need to create whole template in photoshop as PSD. Now you need to slice the images used in the template. You should cut them in a way that you can set them as background via CSS. Some images may require to be cut in 2 parts.

Once you have sliced images and saved them as PNG or JPG start writing the HTML page and them come onto CSS. Adjust the sliced images as background and apply proper margins and padding to different boxes.

3How to code PSD files to HTML Empty Re: How to code PSD files to HTML Wed Jan 06, 2010 11:04 pm

Veljko

Veljko
Registered Member
Registered Member
Ok. I'll code my very first template and post it. Smile

4How to code PSD files to HTML Empty Re: How to code PSD files to HTML Wed Jan 06, 2010 11:11 pm

ankillien

ankillien
Administrator
Administrator
Yay, I'd really like to see it.
Since you are very good at graphicS, I am sure the template will be cool looking.

5How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 7:32 pm

Veljko

Veljko
Registered Member
Registered Member
This is the template. I took some free template's css and changed it. I have some troubles with text and footer though... Take a look:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<style>
<!--
body {
    margin: 0;
    padding: 0;
    background: #000;
        background-repeat: repeat;
    font: 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
   
}

h1, h2, h3 {
    margin: 0;
}

h1, h2 {
    font-weight: normal;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 24px;
}

p, ol, ul, dl {
    margin-top: 0;
    text-align: justify;
    line-height: 2.2;
}

ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

strong {
    color: #4A3E29;
}

a {
    color: #506C00;
}

a:hover {
    text-decoration: none;
}

a img {
    border: 0;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    margin: 0 auto;
}

img.alignleft {
    margin: 0 27px 0 0;
}

img.alignright {
    margin: 0 0 0 27px;
}

img.border {
    padding: 4px;
    border: 1px solid #E9E4D8;
}

/* Wrapper */

#wrapper {
    background: url('http://www4.slikomat.com/09/0106/73y-mwa2.png');
        background-repeat: no-repeat;
        align: center
        width: 1004px;
        height: 1284px;
        background-position: center;
       
}

.container {
    width: 1004px;
            margin: 0 auto;
}

.clearfix {
    clear: both;
}

/* Header */

#header {
    float: center;
    width: 1004px;
    height: 271px;
    background: url('http://www4.slikomat.com/09/0106/zyq-header.png');
}


/* Menu */

#menu {
    height: 62px;
    background: url('http://www4.slikomat.com/09/0106/wpx-nav.png') no-repeat;
        align: center

       
}

#menu ul {
    height: 67px;
    margin: 0 25px;
    padding: 2px 0 0 14px;
    background: url('');
    list-style: none;
    line-height: 1
       
}

#menu li {
    float: left;
    height: 67px;
    padding: 15px 20px 0 20px;
}

#menu li.active {
    url('');
}

#menu a {
    text-transform: lowercase;
    text-decoration: none;
    letter-spacing: -1px;
    font-size: 24px;
    color: #FFFFFF;
}

#menu a:hover {
    text-decoration: underline;
}




/* Content */

#content {
    float: right;
    width: 524px;
    padding: 0 70px 0 25px;
   
}

/* Post */

.post {
}

.post .title, .post .date {
    padding: 0 25px;
}

.post .title {
    margin: 20;
    padding-top: 30px;
    line-height: normal;
    font-size: 20px;
    color: #31100f;
}

.post .title a {
    text-decoration: none;
    color: #31100f;
}

.post .title a:hover {
    text-decoration: underline;
}


.post .date {
    line-height: normal;
    color: #000;
        text-decoration: strong;
}

.post .entry {
    margin: 0 25px;
    padding: 20px 0;
    border-top: 1px solid #30100a;
}

.post .meta {
    height: 53px;
    background: #transp;
    border-bottom: 1px solid #transp;
}

.post .meta p {
    line-height:  normal;
}

.post .meta .tags {
    float: left;
    padding: 20px 0 0 25px;
}

.post .meta .links {
    float: right;
    padding: 20px 25px 0 0;
}

.post .meta .comments {
    margin-right: 30px;
    padding-left: 22px;
    background: url(images/img04.gif) no-repeat 0 50%;
}

.post .meta .more {
    padding-left: 17px;
    background: url(images/img05.gif) no-repeat 0 50%;
}


   

/* Sidebar */

#sidebar {
    float: right;
    width: 295px;
    padding: 0px 40px 0px;
    background: url(images/bg04.jpg) no-repeat 100% -335px;
     
}

#sidebar ul {
    margin: 45px;
    padding: 10px 0px 0px;
    list-style: none;
    line-height: normal;
    border-left: 1px solid #transp;
     
}

#sidebar li {
}

#sidebar li ul {
    padding: 0;
    line-height: 3.5;
    border: none;
}

#sidebar li li {
}

#sidebar h2 {
    margin: 0px;
    padding: 140px 0 5px 0px;
    border-bottom: 1px solid #transp;
}


/* Footer */

#footer {
    background: url('http://www4.slikomat.com/09/0106/wj2-footer.png') no-repeat;
    padding: -100px 0;
}

#footer p {
    text-align: center;
    color: #8F8B83;
        margin-top: -333px;
}

#footer a {
    color: #8F8B83;
}}-->
</style>

</head>
<body><div id="wrapper">
    <div id="header" class="container">
       
    </div>
    <div id="menu" class="container">
        <ul>

            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">Archives</a></li>
            <li><a href="#">Links</a></li>
            <li><a href="#">Resources</a></li>
            <li><a href="#">Contact</a></li>
        </ul>

    </div>
    <div id="top-bar" class="container">
       
    </div>
    <div id="page" class="container">
        <div id="content">
            <div class="post">
                <h2 class="title"><a href="#">TerraFirma2 by NodeThirtyThree + FCT</a></h2>

                <p class="date">Posted on October 1, 2009</p>
                <div class="entry">
                    <p><strong>This is a Lady Gaga Layout made by Veljko Designs. All images are self made and are copyrighted. Please do not abuse the images for your personal gain. The forum LadyGagaBalkan.com will use this template for it's homepage, info page  etc. </strong> </p>

                </div>
                <div class="meta">
                    <p class="tags">Tags: <a href="#">Internet</a>, <a href="#">Free Templates</a>, <a href="#">Web Design</a></p>
                    <p class="links"><a href="#" class="comments">Comments (64)</a> <a href="#" class="more">More</a></p>

                </div>
            </div>
           
                <div class="meta">
                   
                </div>
            </div>
        </div>
        <div id="sidebar">
            <ul>

                <li>

                    <p><font size="4">Link<br>Link<br>Link<br>Link</font></p>
                   
                </li>
                <li>

                    <h2>Nulla aliquam</h2>

                    <p><b>Zabranjeno kopiranje template-a... All rights reserved by VeljkoDesigns.</b>
                       
                                    </p>

        </div>
        <div class="clearfix">&nbsp;</div>

        <div id="footer-bar" class="two-cols">
           
            <div class="clearfix">&nbsp;</div>
        </div>

    </div>
</div><div id="footer" class="container">
    <p>(c) 2009 ladygagabalkan.com. Design by VeljkoDesigns </p>

</div>
</body>
</html>

6How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 8:46 pm

MrMega

MrMega
Registered Member
Registered Member
Wow that is awesome. I tested it out and it looks amazing Smile

I see no flaws in footer or the header

7How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 9:02 pm

ankillien

ankillien
Administrator
Administrator
It seems you haven't uploaded all background images so I can't view the full template. It would be better if you upload all images and link them in your CSS

Very Happy

8How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 9:10 pm

Veljko

Veljko
Registered Member
Registered Member
Those are all images. Just let them load. Wink

9How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 10:32 pm

JochiKhan

JochiKhan
Registered Member
Registered Member
Looks very good.
The text for your copyright is hard to see. Perhaps need bold text?

The images do take a long time to load.

I will be happy when I am able to create a webpage this way.
I am enjoying reading the tutorials and experimenting.

10How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 10:48 pm

ankillien

ankillien
Administrator
Administrator
JochiKhan wrote:Looks very good.
The text for your copyright is hard to see. Perhaps need bold text?

The images do take a long time to load.

I will be happy when I am able to create a webpage this way.
I am enjoying reading the tutorials and experimenting.

You will be able to make such pages when you 'll learn CSS. Right now you should learn more HTML tags and experiment with them. It will let you learn how different tags work and how browser display them Very Happy

@ Veljko,
I see, you haven't sliced the images Razz Making it as a whole background is not a actually a good idea. But I liked the template a lot because of superb graphics Wink

The footer has some bug and it leaves unused space below it. I'll check it and try to fix it.

I have to say, the template looks cool Very Happy

EDIT :

It needs another style sheet for IE fixes Rolling Eyes

11How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 11:11 pm

Veljko

Veljko
Registered Member
Registered Member
Here's a new one, I can send you PSD if you want.

How to code PSD files to HTML Hi3-asw

12How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 11:14 pm

ankillien

ankillien
Administrator
Administrator
The new one looks fantastic Very Happy Is it made from the same template?

Actually, I'll be offline from tomorrow for about 4 days so I won't able to work on PC. I'll look into the codes and PSD later though you can send me the PSD right now.

13How to code PSD files to HTML Empty Re: How to code PSD files to HTML Sat Jan 09, 2010 11:19 pm

Veljko

Veljko
Registered Member
Registered Member
No. It's just something new.

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum