Okay, so I am finally working on my portfolio (and I’m having issues, how ironic); in any case, I am using divs as tables (I have no idea how to word that properly), and everything was going smoothly until I added an image to one of the cells…
http://www.twilightmisfit.com/Problem.jpg
I had to insert the wooden spoon handle in the next col as an image to get it to appear how I want, which worked fine except now the col that it’s in became way too wide and I don’t know why or how to fix it…
Help please!
<body>
<div id="mainwrapper">
<div id="maincontentrow">
<div id="leftcol">
</div>
<div id="maincontentcell">
<img src="images/backgrounds/mixingbowl_handle.png" alt="" id="woodenspoon" />
<div id="maincontent">
<h1>Welcome</h1>
<p>Main content here</p>
</div>
</div>
<div class="nav">
<ul class="nav">
<li><a href="#">Home - block style</a></li>
</ul>
</div>
<div id="rightcol">
</div>
</div>
</div>
#mainwrapper
{
display: table;
background-image: url(../images/backgrounds/countertop.png);
background-repeat: repeat;
width: 100%;
height: 680px;
max-height: 680px;
}
#maincontentrow
{
display: table-row;
}
#leftcol
{
display: table-cell;
background-image: url(../images/backgrounds/mixingbowl.png);
background-repeat: no-repeat;
width: 250px;
}
#woodenspoon
{
padding-top: 30px;
}
#maincontentcell
{
width: 300px;
}
#maincontent
{
display: table-cell;
width: 248px;
max-width: 300px;
height: 296px;
padding-left: 19px;
padding-right: 22px;
padding-top: 21px;
padding-bottom: 55px;
background-image: url(../images/backgrounds/papersheet.png);
background-repeat: no-repeat;
overflow: auto;
}
/* NAVIGATION STUFF */
div.nav
{
display: table-cell;
width: /* fixed width to be determined - padding */;
padding: 5px;
background-image: url(recipiecard-image-here);
background-repeat: no repeat;
}
ul.nav
{
list-style-image: url(LInav-image-here);
}
ul.nav a
{
display: block;
width: /* fixed */
text-align: left;
}