PDA

View Full Version : Gallery Titles


StudioVoxPop
Apr-24-2007, 04:38 PM
Hi there--

I'm having trouble getting my gallery description to look the way I want to on my gallery pages.

If you look at my Abstract gallery, I have put this HTML code in the gallery description:

<h1 align="center"> <font face="palatino, times, times new roman" size=6> Abstract </h1> </font>

<h1 align="center"> <font face="palatino, times, times new roman" size=3> The odd is wonderful and the wonderful is odd.</h1> </font>

Everything looks good to me except that huge space between "Abstract" and "The odd is wonderful and the wonderful is odd."

I need both lines of text centered on the page but closer together.

Any ideas?

Justin

www.studiovoxpop.com

apiercy
Apr-24-2007, 05:05 PM
I think it's probably best to wrap it in a div and use CSS to style it.

Change your HTML to this:
<div id="abstract"> Abstract </div>
<div id="abstracttext">The odd is wonderful and the wonderful is odd.</div>

Add this to your CSS and adjust the margin to your taste.
#abstract {text-align: center; font-family: palatino, times, times new roman; font-size: x-large; font-weight: bold;}
#abstracttext {text-align: center; font-family: palatino, times, times new roman; font-size: medium; font-weight: bold; margin-top: -2%;}

Hope this helps!

StudioVoxPop
Apr-24-2007, 07:17 PM
I think it's probably best to wrap it in a div and use CSS to style it.

Change your HTML to this:
<div id="abstract"> Abstract </div>
<div id="abstracttext">The odd is wonderful and the wonderful is odd.</div>

Add this to your CSS and adjust the margin to your taste.
#abstract {text-align: center; font-family: palatino, times, times new roman; font-size: x-large; font-weight: bold;}
#abstracttext {text-align: center; font-family: palatino, times, times new roman; font-size: medium; font-weight: bold; margin-top: -2%;}

Hope this helps!

This is great! THANKS!

apiercy
Apr-24-2007, 07:20 PM
No problem. :thumb