Louu
04-16-2011, 03:01 PM
I can't seem to see why my 2nd content appears below my first?
How can I make it so they float side by side?
Coding:
<style>
html {height:100%;}
body {
margin:0;
padding:0;
height:100%;
background-color:#ffffff;
}
#wrap {
background:url(http://i54.tinypic.com/309j1tw.png) repeat-y;
min-height:100%;
width:700px;
margin:auto;
position:relative;
}
* html #wrap {height:100%}
#left {
float:left;
width:200px;
text-align:center;
}
#main {
position:relative;
margin-left:200px;
}
p, td
{font-family: Century Gothic;
font-size: 11px;
font-weight: 500;
color: #FFFFCC;
text-decoration: none;}
b
{font-size: 12px;
text-decoration: bold;
margin: 0px;
font-weight: 650;
color: #999966;
text-align: left;}
i
{color: #333333;
font-style: italic;}
u
{text-decoration: underlined;
color: #000000;
font-size: 11px;
}
s
{text-decoration: strikethrough;
colour: #333333;
font-size: 12px;
}
h1
{
font-size:19px;
line-height:18px;
text-align:right;
background-color: 999966;
border-bottom: 1px dotted #330000;
color:#333333;
font-family:Century Gothic;
text-decoration: none;}
h2
{
font-size:12px;
line-height:13px;
text-align:right;
background-color: CCCC99;
border-bottom: 1px dashed #333333;
border-top: 1px dashed #333333;
color:#000000;
font-family:Century Gothic;
text-decoration: none;}
h3
{
font-size:10px;
line-height:11px;
text-align:left;
background-color: ;
border-bottom: 1px dashed #999966;
color:#000000;
font-family:Arial;
text-decoration: none;}
a:link,
{font-family: Century Gothic;
font-size: 10px;
color:#000000;
text-decoration:none;
letter-spacing: 1px;}
a:hover,
{font-family: Century Gothic;
font-size: 10px;
color: #333333;
letter-spacing: 1px;}
</style>
<div id="wrap">
<div style="position: relative; top:100px; left:0px; width:145px; height:600px; overflow:auto;">
<h2>Home</h2>
<a href=""><h3>Home Page</h3></a>
<br>
<h2>Club Layouts</h2>
<h3>Example 1</h3>
<h3>Example 2</h3>
<h3>Information</h3><br>
<h2>Site Layouts</h2>
<h3>Example 1</h3>
<h3>Example 2</h3>
<h3>Information</h3><br>
<h2>Siggys</h2>
<h3>Example 1</h3>
<h3>Example 2</h3>
<h3>Information</h3>
</div>
</div>
<div id="inner-wrap">
<div id="wrap">
<div style="position: relative; top:100px; left:165px; width:465px; height:600px; overflow:auto;">
<center>
<img src=http://i56.tinypic.com/258wfic.png
>
</center>
<h1> Home </h1>
<b>Hello<br>
</b>
</div>
</div>
</div>
How can I make it so they float side by side?
Coding:
<style>
html {height:100%;}
body {
margin:0;
padding:0;
height:100%;
background-color:#ffffff;
}
#wrap {
background:url(http://i54.tinypic.com/309j1tw.png) repeat-y;
min-height:100%;
width:700px;
margin:auto;
position:relative;
}
* html #wrap {height:100%}
#left {
float:left;
width:200px;
text-align:center;
}
#main {
position:relative;
margin-left:200px;
}
p, td
{font-family: Century Gothic;
font-size: 11px;
font-weight: 500;
color: #FFFFCC;
text-decoration: none;}
b
{font-size: 12px;
text-decoration: bold;
margin: 0px;
font-weight: 650;
color: #999966;
text-align: left;}
i
{color: #333333;
font-style: italic;}
u
{text-decoration: underlined;
color: #000000;
font-size: 11px;
}
s
{text-decoration: strikethrough;
colour: #333333;
font-size: 12px;
}
h1
{
font-size:19px;
line-height:18px;
text-align:right;
background-color: 999966;
border-bottom: 1px dotted #330000;
color:#333333;
font-family:Century Gothic;
text-decoration: none;}
h2
{
font-size:12px;
line-height:13px;
text-align:right;
background-color: CCCC99;
border-bottom: 1px dashed #333333;
border-top: 1px dashed #333333;
color:#000000;
font-family:Century Gothic;
text-decoration: none;}
h3
{
font-size:10px;
line-height:11px;
text-align:left;
background-color: ;
border-bottom: 1px dashed #999966;
color:#000000;
font-family:Arial;
text-decoration: none;}
a:link,
{font-family: Century Gothic;
font-size: 10px;
color:#000000;
text-decoration:none;
letter-spacing: 1px;}
a:hover,
{font-family: Century Gothic;
font-size: 10px;
color: #333333;
letter-spacing: 1px;}
</style>
<div id="wrap">
<div style="position: relative; top:100px; left:0px; width:145px; height:600px; overflow:auto;">
<h2>Home</h2>
<a href=""><h3>Home Page</h3></a>
<br>
<h2>Club Layouts</h2>
<h3>Example 1</h3>
<h3>Example 2</h3>
<h3>Information</h3><br>
<h2>Site Layouts</h2>
<h3>Example 1</h3>
<h3>Example 2</h3>
<h3>Information</h3><br>
<h2>Siggys</h2>
<h3>Example 1</h3>
<h3>Example 2</h3>
<h3>Information</h3>
</div>
</div>
<div id="inner-wrap">
<div id="wrap">
<div style="position: relative; top:100px; left:165px; width:465px; height:600px; overflow:auto;">
<center>
<img src=http://i56.tinypic.com/258wfic.png
>
</center>
<h1> Home </h1>
<b>Hello<br>
</b>
</div>
</div>
</div>