Board index PBase HTML and Style Sheets Adding bold letters to a style sheet

HTML and Style Sheets

Adding bold letters to a style sheet

Customize your galleries.
doowopper
 
Posts: 21

Adding bold letters to a style sheet

Post Sat Oct 21, 2006 3:11 pm


I am using the style sheet shown below but I am not well versed in editing style sheets - have had trouble following the instructions for editing them.
How would I change my stye sheet to add bold letters to one or more of the following:
1) Title of gallery
2) Title of a photo
3) Caption of a photo
Thanks.
Richard

Here is my style sheet:
DIV,BODY,TD,TH,TR,TABLE,FONT,INPUT,LI,UL,FORM,
BLOCKQUOTE,P,B,I,H1,H2,H3,H4,H5 {
font-family: arial,helvetica,sans-serif;
color : #888888;
background : black;
}

A:link { color : #5865e1}
A:active { color : #d5ae83}
A:visited { color : #5068e3}
A:hover { color : #5b80b7}

.caption {
font-size : 12pt;
color : #dddddd;
font-style : italic;
}

dang
 
Posts: 3780


Post Sat Oct 21, 2006 4:42 pm


In whatever section you want them bold, just add this:

font-weight: bold;

Example to your caption:

.caption {
font-size : 12pt;
color : #dddddd;
font-style : italic;
font-weight: bold;
}


Check the Pbase Wiki (link below) for tips & tricks.
:wink:


Board index PBase HTML and Style Sheets Adding bold letters to a style sheet

Who is online

Users browsing this forum: ClaudeBot and 0 guests