HTML doesn't have an element that allows to insert a figure with a caption. It was once proposed (see HTML3), but never made it into HTML4. Here is one way to simulate such a figure element: Scale model of the
Eiffel tower in
Parc Mini-France
Then in the style sheet you use the class "figure" to format the figure the way you want. For example, to float the figure to the right, in a space equal to 30% of the width of the surrounding paragraphs, these rules will do the trick:
div.figure {
float: right;
width: 30%;
border: thin silver solid;
margin: 0.5em;
padding: 0.5em;
}
div.figure p {
text-align: center;
font-style: italic;
font-size: smaller;
text-indent: 0;
}
In fact, only the first two declarations (float and width) are essential, the rest is just for decoration.
Labels:
art,
hobby,
Tutorials
Figures & captions
Rama
Thursday, May 26, 2011
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Cost-Benefit Analysis of Cloud Computing versus Desktop Grids Derrick Kondo1, Bahman Javadi1, Paul Malecot1, Franck Cappello1, David P. Ander...
-
For the recent music video for hip dubstep-rock act Nero’s first chart hit, Me & You, James May – aka Smudgethis – created a fictional ...
-
The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. They include h...
-
Technology has added incredible value to businesses all over the globe. With the massive usage of the World Wide Web and other modern day t...
-
Every computer connected to the Internet is assigned at least one IP address to differentiate it from other computers on the network. Knowin...
-
Music, dance, drama, and story are the oldest ways human beings learned to pass on information, traditions, customs, and beliefs…. In the v...
-
The Movie Home is the internet's latest unlimited movie downloading membership site. We allow our members to access thousands of movies,...
-
Video Traffic Genius Coupon Discount and Review. You can get the Video Traffic Genius Discount and Coupon with blow link, and the Coupon is ...
-
6 years ago I was exactly like you: I was reading a lot about technical analysis and was utterly fascinated about it. The idea of making mon...
-
Windows 7 blue screen errors, also called "the blue screen of death" are fatal errors that signal when your computer is not able t...
0 comments:
Post a Comment