Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Thread Type: Sticky Thread
Total posts in this thread: 39
Posts: 39   Pages: 4   [ 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 37500 times and has 38 replies Next Thread
Male admin
Advanced Member
Member's Avatar


Joined: Jun 14, 2003
Post Count: 2940
Status: Offline
Reply to this Post  Reply with Quote 
Standard Website Layouts

All of us experienced web designers/developers know that the vast majority of websites actually have just a few basic layouts.

Take a look at this diagram and then the next post:
----------------------------------------
Attachment website_layouts.gif (8651 bytes) (Download count: 11398) (Standard website layouts)

----------------------------------------
Stefan Mischook

Video Tutorial Store | Web Templates
----------------------------------------
[Edit 2 times, last edit by admin at Mar 7, 2006 11:46:25 PM]
[Mar 7, 2006 11:44:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male admin
Advanced Member
Member's Avatar


Joined: Jun 14, 2003
Post Count: 2940
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

There are plenty of places on the web that provide these layouts in CSS for web designers to use. The problem is that they are all made using CSS hacks.

I would like to get our killer-crue together to put together each of these layouts without using hacks - use IE conditional comments instead when we need to.

Anyone interested?
----------------------------------------
Stefan Mischook

Video Tutorial Store | Web Templates
[Mar 7, 2006 11:49:21 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male tpattison
Advanced Member
Member's Avatar

UK
Joined: Dec 29, 2004
Post Count: 1662
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

What a great idea!

Perhaps we should have a thread dedicated to each type of layout. I would imagine that we all have our own ways of achieving each layout, and putting together our ideas for the ultimate layout could create lengthy discussions. wink

Start with something simple - 2 column fixed say?

Lets see what we can come up with...


Tim
----------------------------------------
Pavonis Mons | Listen of the week: "Residue of Desire" by Acumen
[Mar 8, 2006 7:56:38 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male LSW
Advanced Member
Member's Avatar

USA
Joined: Nov 27, 2003
Post Count: 6285
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

No reason why we can not allow different versions of the layouts as everyone has their own style.

If I were bored I would have a go for it... but have three possible projects I have to nail down. So have to pass on this one.
[Mar 8, 2006 8:20:40 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Female lm
Advanced Member
Member's Avatar


Joined: Oct 27, 2004
Post Count: 2550
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

hi,
i hope to reboot one of my webs in 2 days (min) and coincidently it is a 2 column fix css layout without hacks.
I only not sure how we will post it? link or code?
----------------------------------------

My blog

[Mar 8, 2006 8:32:55 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male newseed
Advanced Member
Member's Avatar


Joined: Apr 2, 2005
Post Count: 2141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

May I suggest that the templates being submitted is to be stripped down to just the codes needed to create the layout only (i.e. remove all <p>, <img>, etc. from HTML and the styles associated with it from the CSS)?
----------------------------------------
Success is based on how much you spend. If it's not money, then the alternative is your time.
The Kasper Group

[Mar 8, 2006 10:07:55 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male shelfimage
Advanced Member
Member's Avatar

USA
Joined: Mar 24, 2005
Post Count: 3000
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

First Template Submission - Fixed Centered 2 Column Layout

CSS hacks? IE conditional statements?

You don't need them for this layout. Ok, some IE Cond Statements will be needed to adjust padding and margin errors in IE when adding background images in the top, left and footer divs (to be pixel perfect).

Let me know if you see any bugs, etc., b/c this is what I use for a lot of my sites now. This is like the fifth edition and seems to hold up really well. It will accomodate a browser of 765px or wider.
Enjoy! smile


CODE: All css is included. Add your own personality to dress this up.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Template</title>
<meta name="Keywords" content="key, words">
<meta name="Description" content="Description">
<meta name="Author" content="MaineWebworks http://mainewebworks.com">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style type="text/css">
/* Global Style */
body{
margin:0;
padding:0;
font:100% Arial,sans-serif;
background:#f2f2f2;
color:#333;
}
p {
margin:0;
padding:5px;
font-size:95%;
line-height:1.3em;
text-align:left;
}
blockquote p {
margin:0;
padding:0;
font-size:85%;
font-style:italic;
color:#808080;
}
ul {
margin-top:0;
color:#000;
}
li {
line-height:1.4em;
}

/* Structure and minor style */
#wrap{
position:relative;
margin:0 auto;
padding:0;
width:765px;
border:0;
background:#fff;
color:#333;
}
#top {
margin:0;
padding:0;
width:100%;
height:120px;
background:#fff;
border:1px dotted #808080;
color:#000;
}
#logo {
margin:0;
padding:0;
background:transparent url(your_logo.jpg) no-repeat top left;
width:270px;
height:100px;
color:inherit;
}
#top h1 {
margin:-50px 0 0 290px;
padding:0;
font-size:120%;
}
#main {
margin:0;
padding:0 15px;
width:500px;
float:right;
border:1px solid #333;
background:#fff;
color:#333;
}
#main h1{
margin:5px 0 0 0;
padding:0;
text-align:center;
font-size:105%;
}
#main h2{
margin:10px 0 0 5px;
padding:0;
font-size:95%;
}
#left {
margin:0;
padding:0 15px;
width:200px;
float:left;
background-color:#DADADA;
color:inherit;
}
#left ul {
margin-left:10px;
padding:0;
}
#left li {
list-style-type:none;
}
#bot {
margin:0;
padding:20px 0 0 0;
clear:both;
height:50px;
font-size: 70%;
background:#808080;
}
#bot p{
text-align:center;
}
.divider {
padding:10px;
text-align:center;
}
</style>

<!--[if lte IE 6]>
use for an alternate style sheet geared for IE fixes
<![endif]-->

</head>

<body>
<div id="wrap">
<!-- sof Head -->
<div id="top">
<div id="logo">&nbsp;[add your logo here]</div>
<h1>Company Name or Tag Line</h1>
</div>
<!-- eof Head -->

<!-- sof Main **right side** -->
<div id="main">
<h1>HEADER 1 TEXT - TOPIC 1 INTRO</h1>
<p>The beautiful thing about this 2 column layout is the left navigation. It is the last container block before the footer, yet it floats to the top left of the page. THe css is plain jane. Normally, it would contain background images, and pretty mark-up for the text. Also, it should be linked from an external file. For example: link < rel="stylesheet" type="text/css" href="style.css" ></p>
<h2>Header 2 Text - Sub Topic</h2>
<p>This is an important technique because it creates a more search engine friendly page. SE's will index the test content in the main div before crawling the left side links.</p>
<p><strong>The Benefits</strong> &mdash;</p>
<ul>
<li>No css hacks</li>
<li>no IE conditional statements</li>
<li>validates 4.01 strict</li>
</ul>
<p><strong><em>Look Ma! No tag soup!</em></strong></p>
<!-- a bit of deco -->
<div class="divider">? ? ?</div>

<h1>HEADER 1 TEXT - TOPIC 2 INTRO</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis sagittis, leo a adipiscing tincidunt, massa erat ultrices lorem, non nonummy lorem risus ac orci.</p>
<blockquote><p>Here is a blockquote. Here is a blockquote. Filler text for the purpose of filing a blockquote container.</p></blockquote>
<p>Filler text Filler text Filler text</p>
</div>
<!-- eof Main -->

<!-- sof Left Side-->
<div id="left">
<p><b>plain ul vanilla menu</b></p>
<ul>
<li><a href="#nogo" title="">Link</a></li>
<li><a href="#nogo" title="">Link</a>
<ul>
<li>&ndash;> <a href="#nogo" title="">nested links</a></li>
<li>&ndash;> <a href="#nogo" title="">nested links</a></li>
</ul>
</li>
<li><a href="#nogo" title="">Link</a></li>
<li><a href="#nogo" title="">Link</a></li>
</ul>
</div>
<!-- eof Left Side-->

<!-- sof Footer -->
<div id="bot">
<p>Copyright &copy; 2006 Your Name. All rights reserved.</p>
<p><a href="http://mainewebworks.com" title="maine web development">Design & Development by MaineWebworks</a></p>
</div>
<!-- eof Footer -->

</div>
<!-- eof wrap-->
</body>
</html>

*some of the html characters did not post well here. You can go to http://maine-webworks.com/forum-posts/2_column_css/index.html to get the source code.

Compatible for IE6+, NS6+, and Firefox. (it degrades ok in IE 5.0, 5.2, 5.5, NS 4.78 and others) To see this in various browsers/OS, go to http://www.browsercam.com/public.aspx?proj_id=234474

-John
----------------------------------------
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
Save the developers<!>
Maine Webworks
----------------------------------------
[Edit 2 times, last edit by shelfimage at Mar 8, 2006 2:13:56 PM]
[Mar 8, 2006 2:04:29 PM] Show Printable Version of Post    View Member Profile    Send Private Message    mainewebworks    mainewebworks [Link] Report threatening or abusive post: please login first  Go to top 
Female Susie
Advanced Member
Member's Avatar

Ohio, USA
Joined: May 30, 2004
Post Count: 2677
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

What a very cool idea! This will be VERY useful. smile
[Mar 8, 2006 2:19:16 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male doug
Newbie
Member's Avatar

Canada
Joined: Apr 19, 2006
Post Count: 37
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

Is this thread still going (ie: should I be replying to a 3-week old post)? Anywa, your layout looks good.

One thing I've always encountered though is regarding height. Here it's set to 120px:

#top {
margin:0;
padding:0;
width:100%;
height:120px;
background:#fff;
border:1px dotted #808080;
color:#000;
}

This works IE, but if there is no content within the #top div (ie: if it has a background image from another div, etc), the div will collapse in Firefox. So everytime I do a layout I also include the 'min-height' as well as a precaution:
#top {
height: 120px;
min-height: 120px;
}

Do you find the same thing?

Cheers -D
[Apr 24, 2006 12:42:50 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male admin
Advanced Member
Member's Avatar


Joined: Jun 14, 2003
Post Count: 2940
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

You may want to take a look at this:

http://www.killersites.com/blog/2006/matching-div-heigths/
----------------------------------------
Stefan Mischook

Video Tutorial Store | Web Templates
[Apr 24, 2006 1:48:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 39   Pages: 4   [ 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread