[thelist] css layout missing link
pandion
pandion at gmx.net
Mon Oct 7 11:59:00 CDT 2002
At 13:56 2002.10.07, Andrew Maynes wrote:
>I have a css layout which needs to be changed to add an image! I have changed
>the css file and the layout just doesn't want to work with me!
>
>I tried putting a table in to give two seperation within a single row but alas
>nothing :( this is the problem page
>http://www.worldaudiodesign2.co.uk/amplifier_parts_index.html
>
>and this is the page I want it to look like but with an image next to the
>title
>class
>http://www.worldaudiodesign.co.uk/amplifiers.html
Try this for a start.
Put your image inside the div but before your h1:
<div class="title"><image src="" alt""><h1>.....</h1>
In your CSS:
.title img { float: left }
.title h1 { margin-left: 115px }
The heading needs a left margin that is at least as wide as the image or it
will go under the image.
pandy
More information about the thelist
mailing list