Re: CSS Pagination Indicator
On Feb 3, 2011, at 11:22, cricket wrote: > On Thu, Feb 3, 2011 at 11:31 AM, hill180 wrote: >> In the CSS is have: >> th a.asc:after { >>content: ' ⇣'; >> } > > You have to escape the character in CSS's content value. You do not *have* to escape the character in the CSS file. That is one solution, but I don't like it; I prefer mine: The problem is that you have a UTF-8 character in your CSS file, but your web server is serving your CSS file without a charset in its Content-Type header, so the web browser is assuming it is ISO-8859-1. I solved this by putting the following lines in my project's .htaccess file: AddDefaultCharset utf-8 AddCharset utf-8 .css .js -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: CSS Pagination Indicator
On Thu, Feb 3, 2011 at 1:50 PM, hill180 wrote: > Ok another question .. just a gee wiz > > If all CSS content values are required to be escaped, why not escape it in > the core Cakephp 1.3.7 package? This has nothing to do with Cake, nor anything server-side in any way. Search online for "css generated content unicode" or similar. Sorry, I'd find a decent explanation but I'm just running out the door. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: CSS Pagination Indicator
Ok another question .. just a gee wiz If all CSS content values are required to be escaped, why not escape it in the core Cakephp 1.3.7 package? Thanks! On Feb 3, 2011, at 10:22 AM, cricket wrote: > On Thu, Feb 3, 2011 at 11:31 AM, hill180 wrote: >> In the CSS is have: >> th a.asc:after { >>content: ' ⇣'; >> } > > You have to escape the character in CSS's content value. Use backslash > followed by the unicode position. So, \2193 for this down arrow. See > here: > > http://www.blooberry.com/indexdot/html/tagpages/entities/arrow.htm > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: CSS Pagination Indicator
The escaping worked, thanks! th a.asc:after { content: '\21a5'; } th a.desc:after { content: '\21a7'; } On Feb 3, 2011, at 10:22 AM, cricket wrote: > On Thu, Feb 3, 2011 at 11:31 AM, hill180 wrote: >> In the CSS is have: >> th a.asc:after { >>content: ' ⇣'; >> } > > You have to escape the character in CSS's content value. Use backslash > followed by the unicode position. So, \2193 for this down arrow. See > here: > > http://www.blooberry.com/indexdot/html/tagpages/entities/arrow.htm > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: CSS Pagination Indicator
On Thu, Feb 3, 2011 at 11:31 AM, hill180 wrote: > In the CSS is have: > th a.asc:after { > content: ' ⇣'; > } You have to escape the character in CSS's content value. Use backslash followed by the unicode position. So, \2193 for this down arrow. See here: http://www.blooberry.com/indexdot/html/tagpages/entities/arrow.htm -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: CSS Pagination Indicator
Hi hill, which encoding do you use? I suggest utf8 and you are done! have a look in your default ctp: Do you use header("Content-Type: text/html; charset=utf-8"); Anja Am Donnerstag, 3. Februar 2011, um 17:31:59 schrieb hill180: > In the CSS is have: > th a.asc:after { > content: ' ⇣'; > } > When a pagination link is clicked: it should look like this: > > Before > > NAME > > AFTER > > NAME ⇣ > > But what I am getting is > > NAME ⇣ > > I know it has something to do with the encoding, just don't know where. > > Thanks! > PS > > (mac/MAMP/chrome&safari) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
CSS Pagination Indicator
In the CSS is have: th a.asc:after { content: ' ⇣'; } When a pagination link is clicked: it should look like this: Before NAME AFTER NAME ⇣ But what I am getting is NAME ⇣ I know it has something to do with the encoding, just don't know where. Thanks! PS (mac/MAMP/chrome&safari) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php