Online Portfolio and Resource Blog Online Portfolio and Resource Blog


Posts Tagged ‘Tutorials’

CSS: Make a Div Height 100% of the Screen

02Dec 2011

Many designers have come across this issue several times in their career. How do you make your div fill up the entire height of your browser window? The answer is very simple, but not so obvious.

HTML

<div id="main">
     <div class="content">
                A div thats height is %100 of the screen!
     </div>
</div>

CSS

html {
	height: 100%;
}
body {
	margin: 0;
	padding: 0;
	height: 100%;
	background: url("bg.gif");
	font-family: Arial, Verdana, sans-serif;
}
#main {
	background: #f1f1f1;
	width: 960px;
	margin: auto;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	padding: 0 10px 0 10px;
	min-height: 100%;
}
.content {
	padding-top: 10px;
}

Click here for the result

Web Development: Creating 404 Error Pages

28Sep 2011
404 Error Tutorial

404 Error Tutorial

A 404 page is a necessity for any professional website. As files are updated and shuffled around, there is no guarantee that search engines will be up to date with your most latest changes. By creating a 404 page, you are keeping the user experience constant throughout the entire website, even if they happen to run across a file or page that is missing.  (more…)

Photoshop: Diagonal Lines Pattern

21Sep 2011
Photoshop - Diagonal Lines Pattern

Photoshop - Diagonal Lines Pattern

Download a set of diagonal line patterns for Photoshop: diagonallines.pat

Photoshop: Carbon Fibre Texture

21Sep 2011
Carbon Fibre Texture

Carbon Fibre Texture

Download the carbon fibre texture for Adobe Photoshop - carbon-fiber-pattern.pat

CSS: When in Fear Use .clear

15Sep 2011
HTML/CSS Tutorial and Resource

HTML/CSS Tutorial and Resource

HTML and CSS can be very simple, but there are a some things that are not self explanatory and can cause major frustration for novice designers. I am hoping this article will .clear some things up for those who are having trouble with floating block level elements (div,p,h1,h2).
(more…)