anagoge
08-04-2007, 08:15 PM
I'm in the process of redesigning my site, but I'm very bad when it comes to HTML/CSS. I know the basics, but building websites is something I hate. I need your help.
Firstly, see this example (http://www.putfile.com/pic.php?img=6197777) for how I want the page to look. Sorry, Putfile resizes the image but you'll get the idea. Secondly, see the actual website (http://www.theworkof.co.uk/new/index.html) for how it currently looks.
My problem is that I don't know how to make those four vertical grey lines expand as the content in the "Who am I?" and "Featured" (section to the right of "Who am I?") sections contain more information.
Currently, I've got it set up so that those four lines are actually all one gif as a background in a div and I've told the div to tile the background. But, the only way I know how to make the div bigger when the "Who am I?" and "Featured" sections get bigger is to make the gif div bigger manually. That's not very usable in the long run.
CSS for the gif div and associated divs:
#Layout1 {
position:relative;
margin:auto;
left:0px;
top:67px;
width:800px;
z-index:3;
background-image: url(layout1.gif);
background-repeat:repeat-y;
background-position: center;
}
#Links {
position:relative;
text-align:left;
left:10px;
top:0px;
width:110px;
z-index:3;
}
#Introduction {
position:relative;
text-align:left;
left:138px;
top:-90px;
width:330px;
z-index:3;
}
#Featured {
position:relative;
left:490px;
top:-396px;
width:300px;
z-index:3;
height: 400px;
}
HTML:
<div id="Container">
<div id="Logo"><img src="logo.gif" alt="Logo" width="69" height="100" /></div>
<div id="Gradient"></div>
<div id="Layout1">
<div id="Links">
<p><a href="comissions.html">+ Comissions</a><br />
<a href="projects.html">+ Projects</a><br />
<a href="artwork.html">+ Artwork</a></p>
<p> </p>
<p><a href="contactme.html">+ Contact Me</a></p>
</div>
<div id="Introduction">
<h1>Who am I?</h1>
<p>Hi, I知 Neil. I知 a 23 year old graphic designer from Liverpool, UK. I致e been designing since 2001.</p>
<p> </p>
<p>After achieving good results from a one year course in graphic design at Liverpool Arts Centre in 2003, I then went on to complete a two year course in multimedia at the same place and passed with a triple distinction. </p>
<p> </p>
<p>I知 currently studying graphic design at the University of Chester until 2009 at which point I would like to become part of a design company and further my experience and skills.</p>
<p> </p>
<p>I知 fluent in using all standard design software including Photoshop, Illustrator and InDesign. I知 also available for commissions, just get in touch.</p>
</div>
<div id="Featured">
<p><a href="projects/10x10/10x10.html"><img src="featured1.jpg" alt="Featured Artwork" width="300" height="80" border="0" /></a></p>
<p> </p>
<h1>10x10 - A Visual Book</h1>
<p> </p>
<p>A visually rich book that opens out to a huge 10 metres wide! <a href="projects/10x10/10x10.html">More»</a></p>
<p> </p>
<p><a href="artwork/2007/cat.jpg" rel="lightbox"><img src="featured2.jpg" alt="Featured Artwork" width="300" height="80" border="0" /></a></p>
<p> </p>
<h1>A Birthday Gift</h1>
<p> </p>
<p>An illustration of a friend for her birthday. <a href="artwork/2007/cat.jpg" rel="lightbox">View full image» </a></p>
</div>
</div>
</div>
You'll notice that even though links/introduction/featured are all level on the page, they all have different top heights (0, -90, -396 respectively). This really messes the page up when you increase the size of the text using the browser. I'm assuming/hope there has to be a better way.
Also, as in the example that I linked to, there's two other sections below the three mentioned already; the blog and photography section and a horizontal grey line that seperates them from the top three sections. I need to know how/where I should create this part of the layout.
Like I said, I'm terrible with building websites and I really need someone to just explain to me how to go about doing what I want to do. Maybe if I understand how to do this, the main page the other pages (which have slightly different layouts) will be easier to complete.
Thank you for your help. :)
Firstly, see this example (http://www.putfile.com/pic.php?img=6197777) for how I want the page to look. Sorry, Putfile resizes the image but you'll get the idea. Secondly, see the actual website (http://www.theworkof.co.uk/new/index.html) for how it currently looks.
My problem is that I don't know how to make those four vertical grey lines expand as the content in the "Who am I?" and "Featured" (section to the right of "Who am I?") sections contain more information.
Currently, I've got it set up so that those four lines are actually all one gif as a background in a div and I've told the div to tile the background. But, the only way I know how to make the div bigger when the "Who am I?" and "Featured" sections get bigger is to make the gif div bigger manually. That's not very usable in the long run.
CSS for the gif div and associated divs:
#Layout1 {
position:relative;
margin:auto;
left:0px;
top:67px;
width:800px;
z-index:3;
background-image: url(layout1.gif);
background-repeat:repeat-y;
background-position: center;
}
#Links {
position:relative;
text-align:left;
left:10px;
top:0px;
width:110px;
z-index:3;
}
#Introduction {
position:relative;
text-align:left;
left:138px;
top:-90px;
width:330px;
z-index:3;
}
#Featured {
position:relative;
left:490px;
top:-396px;
width:300px;
z-index:3;
height: 400px;
}
HTML:
<div id="Container">
<div id="Logo"><img src="logo.gif" alt="Logo" width="69" height="100" /></div>
<div id="Gradient"></div>
<div id="Layout1">
<div id="Links">
<p><a href="comissions.html">+ Comissions</a><br />
<a href="projects.html">+ Projects</a><br />
<a href="artwork.html">+ Artwork</a></p>
<p> </p>
<p><a href="contactme.html">+ Contact Me</a></p>
</div>
<div id="Introduction">
<h1>Who am I?</h1>
<p>Hi, I知 Neil. I知 a 23 year old graphic designer from Liverpool, UK. I致e been designing since 2001.</p>
<p> </p>
<p>After achieving good results from a one year course in graphic design at Liverpool Arts Centre in 2003, I then went on to complete a two year course in multimedia at the same place and passed with a triple distinction. </p>
<p> </p>
<p>I知 currently studying graphic design at the University of Chester until 2009 at which point I would like to become part of a design company and further my experience and skills.</p>
<p> </p>
<p>I知 fluent in using all standard design software including Photoshop, Illustrator and InDesign. I知 also available for commissions, just get in touch.</p>
</div>
<div id="Featured">
<p><a href="projects/10x10/10x10.html"><img src="featured1.jpg" alt="Featured Artwork" width="300" height="80" border="0" /></a></p>
<p> </p>
<h1>10x10 - A Visual Book</h1>
<p> </p>
<p>A visually rich book that opens out to a huge 10 metres wide! <a href="projects/10x10/10x10.html">More»</a></p>
<p> </p>
<p><a href="artwork/2007/cat.jpg" rel="lightbox"><img src="featured2.jpg" alt="Featured Artwork" width="300" height="80" border="0" /></a></p>
<p> </p>
<h1>A Birthday Gift</h1>
<p> </p>
<p>An illustration of a friend for her birthday. <a href="artwork/2007/cat.jpg" rel="lightbox">View full image» </a></p>
</div>
</div>
</div>
You'll notice that even though links/introduction/featured are all level on the page, they all have different top heights (0, -90, -396 respectively). This really messes the page up when you increase the size of the text using the browser. I'm assuming/hope there has to be a better way.
Also, as in the example that I linked to, there's two other sections below the three mentioned already; the blog and photography section and a horizontal grey line that seperates them from the top three sections. I need to know how/where I should create this part of the layout.
Like I said, I'm terrible with building websites and I really need someone to just explain to me how to go about doing what I want to do. Maybe if I understand how to do this, the main page the other pages (which have slightly different layouts) will be easier to complete.
Thank you for your help. :)