|
ajdevies -> RE: FP Includes & CSS (6/20/2003 15:54:18)
|
In response to Wattle' s original questions and problems, based on my past week' s worth of aaaarrrrrgggggghhhhhhhssssss: 1. Includes have no " head" tags, so you cannot put styles in Includes in that sense. However........you can use ' inline' style tags within the body of the Include. That will get messy if you have a lot of Includes to edit in the future. 2. If you put your styles in the " head" tags of the page invoking (calling) the Includes, the Includes will inherit those styles, or whatever other styles are in effect (due to inline changes) at the location where the Include occurs. 3. You cannot put " style" tags in the body of a page, however you can use inline styles, e.g.: <p style=" font-family: Arial, sans-serif; font-size: bigger: font-color: NeonPurple;" >
This is bigger Arial text in Neon Purple</p> Tip: While I' m developing a page that will become an " Include" , I leave the " head" tags and any " style" tags or links to external style sheets in the " Include" page temporarily. This helps give a feel for how the " Include" will look once it' s embedded in the finished page. Once I have the desired results, I delete the " head" tags and anything between them. The above tip also lets you know if an " inline" style is interferring with the " include" . Saved my backside several times by doing it this way. <edit>Edited to prevent side scrolling.</edit>
|
|
|
|