1. wrap your code in [code][/code] tags.
2. no computer has the width you defined, the average width is around 1200px;
3. the code needs a doctype, I used the most recent one, html5 doctype
4. an image's size should not be distorted, should maintain is width to height ratio
6. a span cannot be centered (inline-element), only a block element can
7. margin: 0 auto; or margin-left: auto; margin-right: auto; are used to center an "object" like a div
essentially (span + "display: block" = div)
updated code:
Code:
<!DOCTYPE HTML>
<html>
<head>
<title>Oh yeah</title>
<style type="text/css">
.granddaddy {
width: 100%;
margin: 0 auto;
}
.ohyeah {
background-color: red;
}
.picture2 {
float: right;
}
.picture3 {
float: left;
}
.picture4 {
float: left;
}
.excellent {
display: block;
text-align: center;
}
.ohyeah img {
width: 300px;
height: 448px;
}
</style>
</head>
<body>
<div class="granddaddy">
<div class="ohyeah">
<p>
Oh yeah that is what I was talking about<br/>
<img src="http://files.sharenator.com/oh_yeah_Print_Screen_your_Desktop_9262010-s600x896-94422.jpg" alt="Kool-Aid Oh Yeah Image"/>
</p>
</div>
<p>
<img class="picture2" src="http://jspivey.wikispaces.com/file/view/warrenton-baptist-church-1-credit-peyton-knight-728499-1.jpg/99234159/warrenton-baptist-church-1-credit-peyton-knight-728499-1.jpg" width="300px"/>
<img class="picture3" src="http://www.kollewin.com/EX/09-16-01/Christ%2520Church%2520fall%252005%2520500.jpg" width="200px"/>
<img class="picture4" src="http://www.kollewin.com/EX/09-16-01/Christ%2520Church%2520fall%252005%2520500.jpg" width="300px"/>
<span class="excellent">And I suppose this text will be centralised then.</span>
</p>
</div>
</body>
</html>
take a look at your code with "inspect element". Chrome has the best inspect element, firefox has firebug which is similar. Inspect Element is the most useful tool for a web developer. right click on the screen then select "inspect element"