RE: [WSG] Re: inline styles theoretical question
Very sorry...this was a critique message I meant to forward to a friend I am working on a project with. I must have been a bit tired at the time as I sent the message to the group instead of the friend. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kevin mcmonagle Sent: Wednesday, 2 January 2008 5:01 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Re: inline styles theoretical question Theresa Weber Wrote: >>I should have said we can still create templates for the pages that are the same as long as all styles are created using the CSS (so that download time is faster). huh...that doesnt make sense?... i dont know *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: inline styles theoretical question
Theresa Weber Wrote: >>I should have said we can still create templates for the pages that are the same as long as all styles are created using the CSS (so that download time is faster). huh...that doesnt make sense?... i dont know *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] Re: inline styles theoretical question
>> only CSS in an external stylesheet gets cached... > ok john that settles it. no more inline styles in my forms. thanks. If this is to style one single document, IMHO it'd make sense to keep these rules within the head of the document rather than in an external styles sheet. -- Regards, Thierry | http://www.TJKDesign.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] Re: inline styles theoretical question
I should have said we can still create templates for the pages that are the same as long as all styles are created using the CSS (so that download time is faster). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Faulds Sent: Wednesday, 2 January 2008 9:27 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Re: inline styles theoretical question > A textpattern "form" with inline styles, only gets loaded once and > when a change is made to it every page on the site is globally updated. You may only have one file to edit, but what gets sent to the browser is still a different page for each entry with the inline styles needing to be downloaded for each individual page. What you're describing isn't unique to Textpattern, that's how all CMSs work - they use template files but the HTML doesn't get 'loaded once' and it doesn't get cached; only CSS in an external stylesheet gets cached. -- Tyssen Design www.tyssendesign.com.au Ph: (07) 3300 3303 Mb: 0405 678 590 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: inline styles theoretical question
A CMS system bases itself on templates. A template file will get re-used over and over as many times as it needs so if you add the following to the index.php page (which is the base for every page within the CMS): That will give the div a border, because its a template file any page that uses it will also have the same because each page is a clone/copy of the template. Thats why it works the way it does. On Jan 1, 2008 11:27 PM, John Faulds <[EMAIL PROTECTED]> wrote: > > A textpattern "form" with inline styles, only gets loaded once and when > > a change is made to it every page on the site is globally updated. > > You may only have one file to edit, but what gets sent to the browser is > still a different page for each entry with the inline styles needing to be > downloaded for each individual page. What you're describing isn't unique > to Textpattern, that's how all CMSs work - they use template files but the > HTML doesn't get 'loaded once' and it doesn't get cached; only CSS in an > external stylesheet gets cached. > > > -- > Tyssen Design > www.tyssendesign.com.au > Ph: (07) 3300 3303 > Mb: 0405 678 590 > > > *** > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > *** > > *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: inline styles theoretical question
John Faulds wrote: >> only CSS in an external stylesheet gets cached... ok john that settles it. no more inline styles in my forms. thanks. -kevin *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: inline styles theoretical question
A textpattern "form" with inline styles, only gets loaded once and when a change is made to it every page on the site is globally updated. You may only have one file to edit, but what gets sent to the browser is still a different page for each entry with the inline styles needing to be downloaded for each individual page. What you're describing isn't unique to Textpattern, that's how all CMSs work - they use template files but the HTML doesn't get 'loaded once' and it doesn't get cached; only CSS in an external stylesheet gets cached. -- Tyssen Design www.tyssendesign.com.au Ph: (07) 3300 3303 Mb: 0405 678 590 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: inline styles theoretical question
HTML is the structure and content, CSS is the presentation, Javascript is the behaviour. Its perfectly valid to include in-line styles if you like making life hard for yourself and enjoy updating messy mark-up thats difficult to read. There may be extreme cases when you need to use inline styles, but other than that why would you want to? James On Jan 1, 2008 10:47 PM, kevin mcmonagle <[EMAIL PROTECTED]> wrote: > sorry my mistake - i forgot inline styles are valid but not best > practices. > > you guys are right in all you say but i dont know if you understand > exactly what im saying. > A textpattern "form" with inline styles, only gets loaded once and when > a change is made to it every page on the site is globally updated. The > reason why I like using inline styles in it these global forms for minor > tweaks is that no css file has to be changed saved and uploaded. Anyway > i guess its a grey area, im going to keep doing it for now. > -best > kevin > > > > heres and example of a form: > > > > > > > alt="John F. Loughrey and Associates" style="border:0px" > /> > > > > > loads more stuff. > > > > > > > > > *** > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > *** > > *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: inline styles theoretical question
sorry my mistake - i forgot inline styles are valid but not best practices. you guys are right in all you say but i dont know if you understand exactly what im saying. A textpattern "form" with inline styles, only gets loaded once and when a change is made to it every page on the site is globally updated. The reason why I like using inline styles in it these global forms for minor tweaks is that no css file has to be changed saved and uploaded. Anyway i guess its a grey area, im going to keep doing it for now. -best kevin heres and example of a form: alt="John F. Loughrey and Associates" style="border:0px" /> loads more stuff. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] Re: inline styles theoretical question
Kevin I'm sure others will chime in much more richly than I, but there is a simple answer, and it's this - using inline styles breaks the concept of separation of content and presentation. Your markup, whether a form, a page or whatever, could notionally be stored in any acceptable form and rendered as XHTML or some other publication form (print, screen, audio, etc.) through a transformation process. You want this to be the case for many reasons, not least of which is the ability to potentially "write once, publish many". By including visual rendering information in your form, you pollute the *content* with material not related purely to the content. CSS gives you the ability, as you well know, to completely isolate visual rendering from meaningful content. This of course, provides you with content that is more likely to be able to be machine read, or read by a non-visual rendering engine. The CSS is (largely) a visual rendering instruction set that provides you the ability (if you have your rendering isolated in the CSS) to completely change as and when you see fit. A simplistic answer, but I think a largely correct one. Steve Collins *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***