Inline styles

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
tony la
Posts: 2
Joined: Mon Dec 19, 2011 4:27 am

Inline styles

Post 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
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Inline styles

Post 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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
tony la
Posts: 2
Joined: Mon Dec 19, 2011 4:27 am

Re: Inline styles

Post 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.
Post Reply