xhtml - Paragraph Styles in a CSS Style Sheet -


i trying make 2 different styles 2 paragraphs in xhtml document using css style sheet. ive tried , searched everywhere nothing has given me straightforward answer.

style.css:

p.style1 {     ... }  p.style2 {     ... } 

page.html:

<p class="style1">paragraph style1</p> <p class="style2">paragraph style2</p> 

straightforward enough? :)


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -