Pat and all, I neglected to add that idea to my post. Duplicating your site's structure in your styles make finding them easier. Whatever method you use, organize it in a manner that will make finding and changing styles quick, accurate and easy. Lorrie On 03/20/11 13:46, Patricia Geary wrote: > At 11:06 AM 3/20/2011, lrlaskey wrote: >> This subject of understanding and using style sheets crops up repeatedly >> and not just on this list. I have been through this myself. The problem >> seems to be two fold, first, not understanding style sheets which is an >> ongoing and never ending process and second, lack of style sheet >> organization. I don't know why the second is never addressed in online >> tutorials. It is just as important as the organization of a web site. In >> fact, the two should mirror each other. > ============ > > I tend to organize my styles sheets in the same manner the web page > itself is laid out - in sections - so the styles for each of the > sections are together. > I start with the reset styles , body style rules and heading and > links that are central to all pages. > > Then I go down the sections of the page in the order they appear. > > The one thing I would encourage folks to do is comment your style > sheet so you know what your intention was and use sensible naming conventions. > A class of .red may be good for now but what if you want to change > the color to green later. > > Pat > > > > > > > > > ------------------------------- > To unsubscribe from the list, please send an email to FREEPAGES-HELP-request@rootsweb.com with the word 'unsubscribe' without the quotes in the subject and the body of the message >
Lorrie wrote:- >Whatever method you use, organize it in a manner that will make finding and >changing styles > quick, accurate and easy. ----------------- That is good advice/advise. Just remember, that a style added at the end of your stylesheet will take precedence over a style of the same name set earlier. That is the reason Lorrie set her "test" styles last. Also, an inline style has overall precedence, next are CSS styles in the head section of your page, followed by links to off page CSS. Remembering all the time that the last rendered style with the same "id" or "class" name will be the style that wins. Barry