Board index PBase HTML and Style Sheets Can you use mixed font sets in one stylesheet?

HTML and Style Sheets

Can you use mixed font sets in one stylesheet?

Customize your galleries.
warno
 
Posts: 65

Can you use mixed font sets in one stylesheet?

Post Tue Dec 16, 2003 3:22 pm


Eg H1 = font family serif, but everything else is sans.

Q2: Can the H1 size be altered from default? It only appears as the gallery name, right?

Sorry but I'm not that clued up in HTML. Any help appreciated.

alangrant
 
Posts: 861


Post Tue Dec 16, 2003 10:18 pm


I'm not sure if H1 is used at all in the PBase user galleries - the gallery name that appears near the top of gallery pages is H2.

You can use different font families within a style sheet. For example adding

h2
{
font-family : sans-serif
}

to your stylesheet will results in sans-serif being used for anything enclosed in H2 tags, and will have no effect on any other fonts.


Board index PBase HTML and Style Sheets Can you use mixed font sets in one stylesheet?

Who is online

Users browsing this forum: ClaudeBot and 0 guests