Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul id="PropertyList">
- <% control Children %>
- <li>
- <div class="propertyname"><a href="$Link">$Title</a></div>
- <div class="propertydescription"><p>$Content.FirstSentence</p></div>
- <div class="propertyphoto">$Photo.SetWidth(150)</div>
- </li>
- <% end_control %>
- </ul>
- ***************
- #PropertyList li {
- border: 3px solid #000;
- clear: left;
- }
- #PropertyList .propertyname {
- clear: both;
- padding-left: 160px;
- height: 1.2em;
- }
- #PropertyList .propertyphoto {
- margin-left: 3px;
- margin-top: -1em;
- }
- #PropertyList .propertyphoto img {
- border:1px solid #AAA;
- }
- #PropertyList .propertydescription {
- margin-left: 160px;
- margin-bottom:10px;
- float: left;
- }
Add Comment
Please, Sign In to add comment