...

View Full Version : Aligning Problem



CSSisthebest
05-19-2008, 12:36 AM
Hi Guys n Gals,

Just wondering if someone could help me with my website, im having trouble with getting the big picture of the skateboarding in the air on the same level as the text, it keeps dropping down and i cannot for the life of me work out why ?

its most proberly something really simple that i cant work out because im a bit slow most of the time haha.

thanks people heres the link http://technolane2.freehostia.com/craigcoombs.html

cheers

James :thumbsup:

logictrap
05-19-2008, 05:05 AM
The css is a little confusing - I would try something like this:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.container {
font-family: Arial, Helvetica, sans-serif;
color: #FFFFFF;
background-color: #000000;
width: 950px;
margin-right: auto;
margin-left: auto;
border-right-width: 2px;
border-left-width: 2px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #CCCCCC;
border-left-color: #CCCCCC;
}
.left-box {
float: left;
width: 321px;
color: #FFFFFF;
display: inline;
background-color: #333333;
font-size: 12px;
margin-right: 10px;
}
.videos {
}
.right-box {
color: #FFFFFF;
width: 400px;
display: inline;
font-size: 12px;
}
-->
</style>
</head>

<body>
<div class="container">
<div class="left-box"><span class="craigbiopic"><img src="images/craigcoombsbiopic.jpg" alt="Craig Coombs BS 180 Melon." width="321" height="472" style="border: medium none ;" /></span></div>
<div class="right-box"><span class="newstext" style="padding-bottom: 15px;">Name: Craig Coombs<br />
<br />
D.O.B: 03.04.94<br />
<br />
Been Skating Since: 2004<br />
<br />
Resides: Basildon, Essex, UK.
Current Setup: Switch Deck, Tensor Trucks, Darkstar Wheels.<br />
<br />
Last spot you skated: Basildon Skatepark.<br />
<br />
Started Skating and Why: started skating on my 10th birthday and was influenced by Tony Hawks games.<br />
<br />
Whats on your Ipod: Dragon Force, Nickelback, Scooter, Foo Fighters, Wheatus.<br />
</span> <img src="images/craigmelon.jpg" alt="Video Clip 1." style="border: medium none ;"> <img src="images/craigmelon.jpg" alt="Video Clip 1." style="border: medium none ;"> <img src="images/craigmelon.jpg" alt="Video Clip 1." style="border: medium none ;"></div>
<p>&nbsp;</p>
</div>
</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum