[Wolves] CSS qustion - help - it should be easy!
Wayne Morris
waynelists at machx.co.uk
Wed Dec 15 14:46:34 UTC 2010
Help - it should be easy but I'm tearing my hair out trying to figure
css out - 7 hours of google last night and i still can't make this stupid
easy bit work.
want page to look like:
Image 1 Image 2 ---> Image 5 --------------- preferably
scale to fit webwindow but thats another thing
Menu bar
No matter what I do - use <p>, use image block instead of inline, use
all sorts of fancy snippets of code with div in them...
the menu bar or any text I try instead just slaps itself on the top line
next to the images.
I can fix it with lots of br's after the images so the text drops down
to the right place, but I understand that isnt a clever way.
This is it working with br's:
http://www.exceldiving.co.uk/test/zzz.html
please help!
code below
cheers
Wayne
<html>
<head>
<link rel="stylesheet"type="text/css"href="http://www.exceldiving.co.uk/test/tswtabs.css <view-source:http://www.exceldiving.co.uk/test/tswtabs.css>"/>
</head>
<style type="text/css">
div.img
{
margin: 2px;
border: 0px solid #0000ff;
height: auto;
width: auto;
float: left;
text-align: center;
}
div.img img
{
display: block;
margin: 3px;
border: 1px solid #ffffff;
}
div.img a:hover img {border: 1px solid #0000ff;}
</style>
</head>
<body>
<div class="img">
<a target="_blank"href="klematis_big.htm <view-source:http://www.exceldiving.co.uk/test/klematis_big.htm>"><img src="/pics/PADILogo-L1.jpg <view-source:http://www.exceldiving.co.uk/pics/PADILogo-L1.jpg>"alt="Klematis"width="auto"height="90"/></a>
</div>
<div class="img">
<a target="_blank"href="klematis2_big.htm <view-source:http://www.exceldiving.co.uk/test/klematis2_big.htm>"><img src="/pics/lionfishsmall.jpg <view-source:http://www.exceldiving.co.uk/pics/lionfishsmall.jpg>"alt="Klematis"width="auto"height="90"/></a>
</div>
<div class="img">
<a target="_blank"href="klematis3_big.htm <view-source:http://www.exceldiving.co.uk/test/klematis3_big.htm>"><img src="/pics/companylogo.jpg <view-source:http://www.exceldiving.co.uk/pics/companylogo.jpg>"alt="Picture"width="auto"height="90"/></a>
</div>
<div class="img">
<a target="_blank"href="Picture3_big.htm <view-source:http://www.exceldiving.co.uk/test/Picture3_big.htm>"><img src="/pics/pike.jpg <view-source:http://www.exceldiving.co.uk/pics/pike.jpg>"alt="Picture"width="auto"height="90"/></a>
</div>
<div class="img">
<a target="_blank"href="Picture4_big.htm <view-source:http://www.exceldiving.co.uk/test/Picture4_big.htm>"><img src="/pics/PADILogo-L1.jpg <view-source:http://www.exceldiving.co.uk/pics/PADILogo-L1.jpg>"alt="Picture"width="auto"height="90"/></a>
</div>
<div class="img">
<a target="_blank"href="Picture4_big.htm <view-source:http://www.exceldiving.co.uk/test/Picture4_big.htm>"><img src="/pics/PADILogo-L1.jpg <view-source:http://www.exceldiving.co.uk/pics/PADILogo-L1.jpg>"alt="Picture"width="auto"height="90"/></a>
</div>
<p><p><br></br>
<br></br>
<br></br>
<h1>
Why isn't this working!!!!<br>
Why isn't this working!!!!<br>
Why isn't this working!!!!<br>
Why isn't this working!!!!<br>
Why isn't this working!!!!<br>
Why isn't this working!!!!<br>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wolves/attachments/20101215/16b927df/attachment.htm>
More information about the Wolves
mailing list