Thu Feb 23, 2012 12:58 am
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
<head>
<title>max-height of paragraph </title>
<style type='text/css'>
p {
max-height: 10px;
background: #B2B3F2;
padding: 4px;
font: 12px sans-serif;
border: 1px solid red;
}
</style>
</head>
<body>
<p>
This paragraph we use CSS attributes to <br/>
set the maximum height of the paragraph, <br/>
also the size of the font is changed, <br/>
the background color, and the border color.
</p>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.