http://en.wikipedia...._Lounge_Lizards
Anyone know how to do this? Keeping in mind, if you know how you might have to explain in some detail as I am not overly knowledgeable with all this stuff, thanks.
Edited by DJM, 12 December 2010 - 10:41 AM.
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Posted 12 December 2010 - 10:40 AM
Edited by DJM, 12 December 2010 - 10:41 AM.
Posted 12 December 2010 - 11:46 AM
<html>
<head>
<style type="text/css">
div.img
{
margin:2px;
border:2px solid #0000ff;
height:auto;
width:auto;
float:left;
}
div.img img
{
display:inline;
margin:3px;
border:1px solid #ffffff;
}
div.img a:hover img
{
border:1px solid #0000ff;
}
div.desc
{
text-align:center;
font-weight:normal;
width:120px;
margin:2px;
}
</style>
</head>
<body>
<div class="img">
<a target="_blank" href="address of the page which opens when someone clicks on your image">
<img src="url of the image" alt="some description" width="width of your image in pixels" height="height of your image in pixels" />
</a>
<div class="desc">here you can add the captions you want under your image</div>
</div>
</body>
</html>
Posted 13 December 2010 - 12:03 AM
Iniyila, on 12 December 2010 - 11:46 AM, said:
text-align:justify; font-weight:normal; width:190px; margin:1px; }I tried changing the font-weight from normal to "light" or "lighter", also I added a number amount like 100. All of those did nothing. I then tried adding the line:
font-family: Arial, Helvetica, sans-serif;Which is in my normal css stylesheet but it also made no change. Any ideas besides those on how to change the font in the box? Other than that it is perfect!
Edited by DJM, 13 December 2010 - 12:38 AM.
Posted 13 December 2010 - 12:11 AM
style="border-right:10px solid #2F2C2C;"with an image to create a border, is there a way to do this with the box that can be customizable to every one on the page? I tried doing it but it made the particular side of the box disappear altogether.
Edited by DJM, 13 December 2010 - 12:38 AM.
Posted 13 December 2010 - 09:55 AM
<div class="desc" style="font-family: arial;">here you can add the captions you want under your image</div>
<div class="img" style="float: left;"> <a target="_blank" href="address of the page which opens when someone clicks on your image"> <img src="url of the image" alt="some description" width="width of your image in pixels" height="height of your image in pixels" /> </a> <div class="desc">here you can add the captions you want under your image</div> </div>for second picture :
<div class="img" style="float: right;"> <a target="_blank" href="address of the page which opens when someone clicks on your image"> <img src="url of the image" alt="some description" width="width of your image in pixels" height="height of your image in pixels" /> </a> <div class="desc">here you can add the captions you want under your image</div> </div>
div.desc
{
text-align:center;
font-weight:normal;
width:120px;
margin:2px;
padding:2px 5px;
}
Posted 13 December 2010 - 10:22 AM
Iniyila, on 13 December 2010 - 09:55 AM, said:
div.desc
{
text-align:center;
font-weight:normal;
width:120px;
margin:2px;
padding:2px 5px;
}
Posted 13 December 2010 - 03:19 PM
DJM, on 13 December 2010 - 10:22 AM, said:
Posted 13 December 2010 - 11:36 PM
Iniyila, on 13 December 2010 - 03:19 PM, said:
<div class="img" style="float: left;" style="margin-right:10px;"> <img src="images/screenshots_dos/larry1.jpg" alt="Lefty's Bar" width="200" height="130" /> <div class="desc">Outside of Lefty's Bar, where it all begins. </div></div>EDIT: Ah crap lol. It works in IE but not Mozzila, damn it! Oh well, I give up. Thank you so much for ALL your help, I appreciate it very much. If it doesn't work in Mozilla though, then I'll just leave it I guess.
Posted 14 December 2010 - 09:43 AM
DJM, on 13 December 2010 - 11:36 PM, said:
<div class="img" style="float: left;" style="margin-right:10px;"> <img src="images/screenshots_dos/larry1.jpg" alt="Lefty's Bar" width="200" height="130" /> <div class="desc">Outside of Lefty's Bar, where it all begins. </div></div>EDIT: Ah crap lol. It works in IE but not Mozzila, damn it! Oh well, I give up. Thank you so much for ALL your help, I appreciate it very much. If it doesn't work in Mozilla though, then I'll just leave it I guess.

0 members, 1 guests, 0 anonymous users