dzash2000 wrote:
Quote:
Hi - I KNOW this can't be right but when I bring a library item into
a page or template, it is no longer styled...like it never even heard
of my style sheet. What's the sense of it?
Here's the thing. I'm new to Macromedia products. Formerly used
GoLive which has a feature called Components. You build a nav bar or
something and save it as a Component. Then you reuse it...insert it
anywhere but you can't change it anywhere and it's alway linked to
the stylesheet...it If you change the original Component - the
changes ripple thru. What feature of DW is similar? |
A library item must consist only of markup - what occurs normally
between the opening and closing body tags. When that library item is
inserted in a page it picks up the appropriate styles based upon where
it is in the page. If your style sheet is properly set up and written
then there is no problem. If you are a CSS beginner your style sheet may
not be logically written and hence the library item may be unstyled.
In your style sheet:
body {
background-color: #fff;
font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
}
p {color: red;}
If your library item is in a paragraph then it s text will be red.
Get the idea?
--
Al Sparber - PVII
http://www.projectseven.com
DW Extensions - Menu Systems - Tutorials - CSS FastPacks
---------------------------------------------------------
Webdev Newsgroup: news://forums.projectseven.com/pviiwebdev/
CSS Newsgroup: news://forums.projectseven.com/css/
RSS/XML Feeds: http://www.projectseven.com/xml/