I apologize for the length of the code stubs, but having searched this forum, hopefully it will help someone else. Adrants code is perfect, it just doesn't work for my layout because of my requirement for the .content class.
The syntax used by AdRants is as follows:
CODE
<DIV class=imageleft>
<IMG src="accliamscreen23.jpg">
<DIV>Here's the Caption</DIV>
</DIV>
<IMG src="accliamscreen23.jpg">
<DIV>Here's the Caption</DIV>
</DIV>
This yields a left aligned image with the caption underneath the image.
Here are the relevant CSS definitions:
.content - has all of the 'blog stuff' associated with MT in a center column in a three column layout. I have to use .content and not #content, but that's a different story... So, this is my code.
CODE
.content {
/* this is the blog itself */
top:138px;
POSITION: relative;
MARGIN: 0px 190px 20px 190px;
PADDING-RIGHT: 10px;
PADDING-BOTTOM: 10px;
PADDING-TOP: 10px;
PADDING-LEFT: 10px;
BORDER-RIGHT: black 1px solid;
BORDER-TOP: black 1px solid;
BORDER-LEFT: black 1px solid;
BORDER-BOTTOM: black 1px solid;
Z-INDEX: 2;
WIDTH: auto;
min-width: 120px;
left: 11px;
}
/* this is the blog itself */
top:138px;
POSITION: relative;
MARGIN: 0px 190px 20px 190px;
PADDING-RIGHT: 10px;
PADDING-BOTTOM: 10px;
PADDING-TOP: 10px;
PADDING-LEFT: 10px;
BORDER-RIGHT: black 1px solid;
BORDER-TOP: black 1px solid;
BORDER-LEFT: black 1px solid;
BORDER-BOTTOM: black 1px solid;
Z-INDEX: 2;
WIDTH: auto;
min-width: 120px;
left: 11px;
}
This is the code 'as is' from adRants. For brevity, I've just included the 'lefts', not the rights:
CODE
DIV.imageleft {
CLEAR: both
}
DIV.imageleft {
FLOAT: left;
MARGIN: 7px 15px 10px 0px
}
DIV.imageleft A {
BORDER-BOTTOM-STYLE: none! important
}
DIV.imageleft DIV {
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 5px;
FONT: 10px/12px verdana;
COLOR: #666; PADDING-TOP: 5px;
BORDER-BOTTOM: #666 1px solid;
text-align: left
}
P.imageleft {
CLEAR: both
}
P.imageleft IMG {
PADDING-RIGHT: 15px;
PADDING-LEFT: 0px;
FLOAT: left;
PADDING-BOTTOM: 10px;
PADDING-TOP: 7px;
POSITION: relative
}
IMG {
BORDER-TOP-WIDTH: 0px;
BORDER-LEFT-WIDTH: 0px;
BORDER-BOTTOM: 0px;
BORDER-RIGHT-WIDTH: 0px
}
CLEAR: both
}
DIV.imageleft {
FLOAT: left;
MARGIN: 7px 15px 10px 0px
}
DIV.imageleft A {
BORDER-BOTTOM-STYLE: none! important
}
DIV.imageleft DIV {
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 5px;
FONT: 10px/12px verdana;
COLOR: #666; PADDING-TOP: 5px;
BORDER-BOTTOM: #666 1px solid;
text-align: left
}
P.imageleft {
CLEAR: both
}
P.imageleft IMG {
PADDING-RIGHT: 15px;
PADDING-LEFT: 0px;
FLOAT: left;
PADDING-BOTTOM: 10px;
PADDING-TOP: 7px;
POSITION: relative
}
IMG {
BORDER-TOP-WIDTH: 0px;
BORDER-LEFT-WIDTH: 0px;
BORDER-BOTTOM: 0px;
BORDER-RIGHT-WIDTH: 0px
}