Page 1 of 1

Inline styles

Posted: Mon Dec 19, 2011 4:38 am
by tony la
Thanks to the folks at serendipity for a great piece of software. Also, i appreciate the editor recoginizing html and inline styles, great !.

My question is, i prefere to use inline styles to change the appearence of the text.
Since every post i make will have a consistent layout, I will be using these style rules throughout my blog. Should i just continuen with the inline styles or should i try to define these rules in an external file.
for some reason i am having trouble locating css style page.
Any thoughts. The inline styles are fine with me just clutters up the code a bit.
http://website.tipsfromtonyla.com/s9y/i ... ction.html

thanks in advance tony la

Re: Inline styles

Posted: Mon Dec 19, 2011 5:56 pm
by Timbalu
tony la wrote:Since every post i make will have a consistent layout, I will be using these style rules throughout my blog. Should i just continuen with the inline styles or should i try to define these rules in an external file.
Definitely Yes! Much less to write and will produce much less overhead!
tony la wrote:for some reason i am having trouble locating css style page.
The fist part of the linked stylesheet

Code: Select all

<link rel="stylesheet" type="text/css" href="http://website.tipsfromtonyla.com/s9y/index.php?/serendipity.css" />
is dynamically produced by the serendipity.css.php file, which will include the default fallback styles and additional styles via installed plugins.
The main css styles can be found in your templates style.css, which in your case is in:
templates/newspaper/style.css.

Re: Inline styles

Posted: Mon Dec 19, 2011 6:14 pm
by tony la
Thanks,
A little new to server side programming.
I was able to access those files and write the style rules for the tags i am using so i can chuck the inline styles.