Saturday, March 21, 2009

How do I put a picture into the caption of a picture on Website

(With Caption)នៅ​ក្រោម​លំនៅ​ឋាន​មាន​កី​តម្បាញ​សំរាប់​ត្បាញ​ហូល​ (រូបថត​ ៖​ ធា)

នៅ ក្រោម លំនៅ ឋាន មាន កី តម្បាញ សំរាប់ ត្បាញ ហូល (រូបថត ៖ ធា)





(No Caption)នៅ​ក្រោម​លំនៅ​ឋាន​មាន​កី​តម្បាញ​សំរាប់​ត្បាញ​ហូល​ (រូបថត​ ៖​ ធា)


A caption to an image on Post is a short text message that appears below the image and clarifies its import. Most captions draw attention to something in the image that is not obvious, such as its relevance to the text. For complex images or images whose relationship to the text is unclear, the caption can be one or two short sentences, rarely three. Writing good captions is difficult, and the examples below may be helpful. Along with the title, the lead, and section headings, captions are the most commonly read words in an article, so they should be succinct and informative.



: search this line ]]></b:skin> and add this CSS code above that line.
.wp-caption {
border: 1px solid #DDDDDD;
text-align: center;
background-color: #EEEEEE;
padding: 4px 0px 5px 0px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0px 0px 5px 0px;
padding: 0px;
border: 0px;
}
.wp-caption p.wp-caption-text {
margin: 0px;
padding: 0px 0px 0px 0px;
font-size: 11px;
font-weight: normal;
line-height: 12px;
}

When you want to put Photo with Caption you should write like this:

<div class="wp-caption"><img src="http://women.open.org.kh/files/images/hol_phamoung.jpg" alt="" />
<p class="wp-caption-text">Khmer Dress(Photo by:sss)</p>
</div>

Related Posts by Categories



Widget by Hoctro | Jack Book

1 comments:

Phalla said...

Hello Mr. so cheat , How are you doing man?
you really smart ! you are the son of angle

Post a Comment

 

©2009 daily news | by TNB