suzrawn wrote:How do I control font size, weight, and type in the description for the gallery I'm making at
http://www.pbase.com/suzrawn?
I've experimented with the CSS code, such as:
font
{
color: #990000; letter-spacing: 0px; font-size: 12pt;
And with inserting HTML in the description, such as:
<CENTER>
<p>
<font size>Welcome to Suz Rawn's Galleries
<br><br>For more information, visit her website at <br><a href="http://www.suzrawn.com"><b>Suz Rawn's Gourdians</b></a></font>
</CENTER>
I'm able to change font size somewhat, same with weight, but with less control than I want. The CSS and HTML seem to conflict at times.
Is there a good info source for this particular situation??
Hi Suz,
We just went through a similar situation in another thread here:
viewtopic.php?f=8&t=40417The problem is when you begin adding font size statements into the HTML, it can become a problem because various browsers read code differently. When dealing with font size, I find it best to work within the CSS style sheet instead. This can become confusing since you need to add control into each section of text instead of having a general size:
- Code: Select all
DIV,TH,TR,TABLE,FONT,LI,UL,FORM,
BLOCKQUOTE,P,B,I,H1,H2,H3,H4,H5,FONT, CENTER
{
font-family: verdana, arial, helvetica, sans-serif;
font-size: 10pt;
color: #993333;
Unless you're wanting to spend time sorting it out, it's easier to use a banner, and insert it into your gallery description html as such:
- Code: Select all
<center><img src="http://www.pbase.com/dang/image/89393555/original.jpg" border="0"</center>
If your description links need changing, you can add multiple links using a table, or use images for links (as you'll see in the referenced thread) depending on your specific needs.
For more tips, and installing Firefox with Web Developer Tool Bar, check the excellent tut Arjun supplied in the "Sticky Thread" at the top of this forum:
viewtopic.php?f=8&t=13408Also, for those wishing to add a slide show, reference the News Forum here:
viewtopic.php?f=5&t=32091