the_aggie10 0 Report post Posted October 19, 2006 ok well i have been recently into. to css and i have a ? say i want to select a paragraph....but i dont want it to affect all ot the paragraphs...how do i do that? Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 19, 2006 Give the paragraph a selector, either a class or an id. Then use the selector to 'select' that (those) paragraph(s). If there is only one like it on the page, use an 'named selector. If there are going to be more than one of them on a page, use a (.class) selector.use this to select a named element in your css: (only one allowed per page) #named p { font-weight:bold;} // for bold type face<p id="named"> ... stuff here ... </p> // a 'named' selector use this to select a class in your css: (allows several per page).class_name p { font-weight:bold;} // for bold type face for the class<p class="class_name"> ... stuff here ... </p> // a 'class' selector *not tested* Share this post Link to post Share on other sites