PDA

View Full Version : Guestbook


Shark
Mar-29-2009, 07:50 PM
Originally Posted by Allen
Replace the guestbook description with this.

Code:
<html>
<div id="myPhoto">
<img src="/photos/489790872_avQjK-S.jpg" width="300" height="225" />
</div> <!-- closes myPhoto div -->


<div id="myGuestbook">
<p>Thanks for visiting Red Leash Photography! Feel free to contact me with any questions or comments. I do appreciate receiving comments and critiques, so please consider leaving me a message below.</p>
<center><i>Lauren Blackwell</i>
</center>
</div> <!-- closes myGuestbook div -->
<div class="spacer"></div>
</html>Use this CSS

Code:
/*=====html only page for Guestbook=====*/

.gallery_5630127 #albumDescription {
margin-top: 20px; /* gap from navbar at top */
background: none; /* background of description box */
padding: 20px 40px 40px 40px; /* top right bottom left */
} /* spacing inside box from edges */

.gallery_5630127 #myPhoto {
float: left; /* allows the text to flow to the right */
padding: 0 30px 10px 0; /* top right bottom left */
} /* spacing of text around photo */


.gallery_5630127 #myGuestbook {
font-family: Comic Sans MS, verdana;
font-size: 130%;
color: #E4CA9A;
font-weight: normal;
text-align: justify;
}

.gallery_5630127 #albumNav_top,
.gallery_5630127 #albumNav_bottom,
.notLoggedIn .gallery_5630127 .journal_entry, /* hides photos in gallery */
.notLoggedIn .gallery_5630127 #breadcrumb {display: none;}

/*===== END html only page for Guestbook=====*/



I took a look at Red Leash's guestbook, and I like that setup, so I am trying to follow along in a similar style. I added the codes to my customization, and changed the wording around a little, but I'm not sure how to get my photo in near the text like Red Leash did. I thought I removed her photo and replaced it with mine. When I checked it out, her photo was gone, but there was still a box there with an x in it, where her picture was. My photo is still in my gallery. I think I may have screwed up changing the code around to put my photo in. Does anybody have any idea what I'm supposed to do to get my picture in, and the Red Leash photo box deleted?
Many thanks.

Shark

Allen
Mar-29-2009, 08:50 PM
...
Just answered in other thread.