Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    Well, What i really want is a Quick loading website. I have the template, and when i click a link i want it to appear in the content box.

    I have dreamweaver 8 ( Trial ) and i really want to figure out how to code the god damn layout! --> Me :eusa_wall

  2. #12
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:

    Default

    if your using a iframe give the iframe a name tag

    HTML Code:
    name='nameofiframe'
    then the link would be

    HTML Code:
    <a href='yourpage.html'  target='nameofiframe'>Link Name</a>
    Or to reload it in the same browser

    HTML Code:
    <a href='yourpage.html'  target='_self'>Link Name</a>
    or in a new window

    HTML Code:
    <a href='yourpage.html'  target='_blank'>Link Name</a>

  3. #13
    Join Date
    Mar 2006
    Location
    Manchester UK
    Posts
    195
    Tokens
    0

    Default

    Hello.

    If you are wishing to 'slice' a layout then I suggest slicing it with the slice tool then saving it for web and then opening a blank notepad and writing the basic standard XHTML strict layout out.

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    <head>
      <title></title>
      <link href="main.css" rel="stylesheet" type="text/css" />
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <body>
    </body>
    </html>
    Then save that as index.html and now we just have to work around the CSS and actually coding your layout. Say you have your banner which is a nice 700px X 100px you could write out in another blank notepad.

    HTML Code:
    .container{
        width: 700px;
        background-color: #hex code;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
    }
    
    .banner{
        width: 700px;
        background-image: url(images/banner.gif);
    }
    Now basically what that does is create two CSS classes which you can sort of link with a DIV so open up index.html and type in your body.

    HTML Code:
    <div class="container">
     </div class="banner"></div>
    </div>
    The container does as it says and it 'holds' the layout by containing it so if you had a 800px banner yet set the .container{ to 700px; it would look weird. Now all you have to do is use the basic class or ID settings to make out your other basic boxes and other things to do with your layout. You can learn more advanted things with CSS like float and padding at www.W3schools.com www.cssbasics.com

    Thanks
    Encryptions!
    Last edited by Encryptions!; 22-04-2006 at 06:20 AM.

  4. #14
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    Thanks!

  5. #15
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Encryptions!
    Hello.

    If you are wishing to 'slice' a layout then I suggest slicing it with the slice tool then saving it for web and then opening a blank notepad and writing the basic standard XHTML strict layout out.

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    <head>
      <title></title>
      <link href="main.css" rel="stylesheet" type="text/css" />
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <body>
    </body>
    </html>
    Then save that as index.html and now we just have to work around the CSS and actually coding your layout. Say you have your banner which is a nice 700px X 100px you could write out in another blank notepad.

    HTML Code:
    .container{
        width: 700px;
        background-color: #hex code;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
    }
    
    .banner{
        width: 700px;
        background-image: url(images/banner.gif);
    }
    Now basically what that does is create two CSS classes which you can sort of link with a DIV so open up index.html and type in your body.

    HTML Code:
    <div class="container">
     </div class="banner"></div>
    </div>
    The container does as it says and it 'holds' the layout by containing it so if you had a 800px banner yet set the .container{ to 700px; it would look weird. Now all you have to do is use the basic class or ID settings to make out your other basic boxes and other things to do with your layout. You can learn more advanted things with CSS like float and padding at www.W3schools.com www.cssbasics.com

    Thanks
    Encryptions!
    That would be hard to do for someone without css knowledge or how to slice.

  6. #16
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    I am kinda not understanding it anymore!

    I have sliced my layout in fireworks 8 now how do i put my nav.htm and home.htm into the content boxes

    I would like to do it all in Dreamweaver 8 - All the coding

  7. #17
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:

    Default

    See dan its all confusing for a new guy to slicing,

    ok youve sliced it, now open it up in dreamweaver,
    im ont going to explain this very well as its ard to explan,
    ok for example you have your boxes and then you want to write on it dont you?, so click the part where u want to write on and it selects an image, go into code view and you should be selecting a code which is the image code of the one you have just selected in design view, should be something like this

    HTML Code:
    <tr>
    <img src='thesrc' width='width' height='height' alt='alt' border='0' />
    </tr>
    give the <tr> tag a background attribute

    HTML Code:
    <tr background='thesrc'>
    <img src='thesrc' width='width' height='height' alt='alt' border='0' />
    </tr>
    now delete the image code

    HTML Code:
    <tr background='thesrc'>
     </tr>
    now it should have the image as the background in the table (design view) and you an write in the content box alsogive it a valgin tag which makes the text startat the top and end at the bottom

    HTML Code:
    valign='top'
    Note*** 'thesrc' would be the path to the image.

    hjope that helps

    - sygon

  8. #18
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    easier in fireworks
    EDTALKING


  9. #19
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    Hey!

    Thanks for all the help!

    Just one final question about the slicing!

    Do i slice round the edges of the boxes or the inside where the content will be :s

    DJ-Zero - Do you mean it is easyer to code in fireworks? If so how!
    Last edited by Johno; 22-04-2006 at 11:20 AM.

  10. #20
    Join Date
    Mar 2006
    Location
    Manchester UK
    Posts
    195
    Tokens
    0

    Default

    It wouldn't really be hard if he had some knowledge in anything.. I told him to use the slice too to save to web and use the images generated... Wouldn't be difficult.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •