View Full Version : Text alignment
BlueSoul
Mar-18-2007, 08:53 PM
On Andy's site, in the guestbook, he has the text justified. I like the way that looks - very tidy and neat. :D (http://www.moonriverphotography.com/gallery/729385 (http://www.moonriverphotography.com/gallery/729385))
How is that done?
Allen
Mar-18-2007, 08:56 PM
On Andy's site, in the guestbook, he has the text justified. I like the way that looks - very tidy and neat. :D (http://www.moonriverphotography.com/gallery/729385 (http://www.moonriverphotography.com/gallery/729385))
How is that done?
He added the justified to his CSS. The rest depends were you want to apply it.
#gbWelcome {font-size: 14px;
text-align: justify;
font-weight: bold;
}
BlueSoul
Mar-18-2007, 09:07 PM
He added the justified to his CSS. The rest depends were you want to apply it.
#gbWelcome {font-size: 14px;
text-align: justify;
font-weight: bold;
} Thank you Allen!
I would like the header, footer, photo captions and nav bar to be centered. I would like the photo/gallery comments and guestbook text to be justified. Is this possible?
Allen
Mar-18-2007, 09:32 PM
Thank you Allen!
I would like the header, footer, photo captions and nav bar to be centered. I would like the photo/gallery comments and guestbook text to be justified. Is this possible? Try this for the caption to align to the right of photo.
.gallery_1383275 #journal .caption {
margin-left: 430px;
margin-top: -300px;
width: 300px;
text-align: justify;
}
Everything else looks :scratchcentered.
How about a little frame on the photo?
.gallery_1383275 #journal .photo {
border: 4px ridge #444444;}
7Iron
Apr-20-2009, 06:58 PM
Hi Allen, I have a fairly simple (simple for you, I'm sure) request. In my Guestbook and Information galleries I would ideally like to align the text with the top of each respective photo. I've tinkered, but, to no avail. Other than that, I'm always open to suggestions from the pros...
Here's my site. Thanking you in advance... :D
http://www.johnstorckphoto.com/
jfriend
Apr-20-2009, 09:28 PM
Hi Allen, I have a fairly simple (simple for you, I'm sure) request. In my Guestbook and Information galleries I would ideally like to align the text with the top of each respective photo. I've tinkered, but, to no avail. Other than that, I'm always open to suggestions from the pros...
Here's my site. Thanking you in advance... :D
http://www.johnstorckphoto.com/
The CSS you need for the guestbook page is this and you'd do the same for the information page with a different gallery number:
.gallery_7930424 .caption {padding-top:0 !important;}
But, you have a couple of errors near the end of your CSS that are keeping lots of things from working. You have to clean those up.
Remove this at the end of your CSS which is not part of any CSS rule:
margin-top: -600px;
Add a missing close brace:
.gallery_7930424 .caption {
font-family: Courier New, verdana;
font-size: 110%;}
#gbWelcome {font-size: 14px;
text-align: justify;
font-weight: bold;
}
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.