Re: [WebDNA] WebDNA is not parsing CSS file

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104840
interpreted = N
texte = I have a colors.inc file that sets all of the sites colors to text variables and use them like so: [include inc/colors.inc] body { margin: 0px; margin-bottom: 0px; padding: 0px; background: [strTint] url(images/pattern.png) repeat top left; text-align: center; } That way, I can change the colors of the page on the fly. I have other settings that I can pull from a db to set widths, fonts, etc. Donovan Brooke wrote: > Matthew Bohne wrote: >> I have the following in my "Allowed Template Extensions": >> .tpl .tmpl .dna .css .html .htm >> >> But for some reason WebDNA will not parse my css. All of the other >> file extensions work. Is there a header that I should be setting in >> the css before it will parse? Do I need to turn on the to get it to work? > > > The way I parse CSS is to not use the > link html element but rather: > > > > I have never tried mapping CSS to WebDNA but any > suffix that you want to map to WebDNA also has to > be mapped in the webdna.conf file.. well, depending > on what OS you are using. > > Donovan > > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] WebDNA is not parsing CSS file (Matthew Bohne 2010)
  2. Re: [WebDNA] WebDNA is not parsing CSS file (Donovan Brooke 2010)
  3. Re: [WebDNA] WebDNA is not parsing CSS file (Kenneth Grome 2010)
  4. Re: [WebDNA] WebDNA is not parsing CSS file ("Terry Wilson" 2010)
  5. Re: [WebDNA] WebDNA is not parsing CSS file (Matthew Bohne 2010)
  6. Re: [WebDNA] WebDNA is not parsing CSS file (Matthew Bohne 2010)
  7. Re: [WebDNA] WebDNA is not parsing CSS file (Donovan Brooke 2010)
  8. Re: [WebDNA] WebDNA is not parsing CSS file (Matthew Bohne 2010)
  9. Re: [WebDNA] WebDNA is not parsing CSS file (Toby Cox 2010)
  10. Re: [WebDNA] WebDNA is not parsing CSS file (Donovan Brooke 2010)
  11. [WebDNA] WebDNA is not parsing CSS file (Matthew Bohne 2010)
I have a colors.inc file that sets all of the sites colors to text variables and use them like so: [include inc/colors.inc] body { margin: 0px; margin-bottom: 0px; padding: 0px; background: [strTint] url(images/pattern.png) repeat top left; text-align: center; } That way, I can change the colors of the page on the fly. I have other settings that I can pull from a db to set widths, fonts, etc. Donovan Brooke wrote: > Matthew Bohne wrote: >> I have the following in my "Allowed Template Extensions": >> .tpl .tmpl .dna .css .html .htm >> >> But for some reason WebDNA will not parse my css. All of the other >> file extensions work. Is there a header that I should be setting in >> the css before it will parse? Do I need to turn on the to get it to work? > > > The way I parse CSS is to not use the > link html element but rather: > > > > I have never tried mapping CSS to WebDNA but any > suffix that you want to map to WebDNA also has to > be mapped in the webdna.conf file.. well, depending > on what OS you are using. > > Donovan > > Matthew Bohne

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Help formatting search results w/ table (1997) Possible Bug in 2.0b15.acgi (1997) [taxrate] question (1997) Table code broken? (2004) [WebDNA] What does PHP(5) has, that Webdna hasn't (2009) SearchTitle Question (1998) Date Calulation (1997) Nesting format tags (1997) Unexpected comparison behavior change in 4.5.1 (2003) OK, here goes... (1997) Problems getting parameters passed into email. (1997) Possible Bug in 2.0b15.acgi (1997) WebCat2b13MacPlugIn - [include] (1997) Problems getting parameters passed into email. (1997) form population (1998) Math, Multiple Equasions and Show/Hide (1998) Country & Ship-to address & other fields ? (1997) Error:Too many nested [xxx] contexts (1997) Multiple Replaces? (1997) ShipCosts database (1997)