[css-d] Smarty templates and CSS

2006-09-22 Thread Graham Anderson
Is anyone designing CSS only sites with Smarty, a php templating system ? Considering CSS uses an external style sheet , I am not sure if there is a point to combining Smarty and CSS Anyone been down this road ? many thanks _

Re: [css-d] Smarty templates and CSS

2006-09-22 Thread Graham Anderson
Oh, I'm sorry...I was not very clear I already design CSS-only sites using a combination XHTML, PHP, Javascript DOM and CSS. The question is: Does adding Smarty to the mix add anything to the party for the graphic designer. Personally, I like seeing PHP methods and XHTML with div id/classe h

[css-d] CSS and png-24 for IE 5.5+

2006-11-04 Thread Graham Anderson
is there a 'broadly' accepted method for dealing with CSS and PNG-24 files in IE 5.5+ ? I googled for the information and a whole slew of possible solutions emerged. Rather than going through all of them, is there an accepted cross- browser way to handle PNGs? Basically, what method do you gu

[css-d] IE 6 ignores background-position with a PNG image

2006-11-06 Thread Graham Anderson
In IE6, background-position for my PNG image is being ignored :( I have a large png image that contains all of the button states of my nav menu. I am repositioning the png image, with overflow hidden, for each button graphic This works great in Firefox, but IE 6 is ignoring the background- p

[css-d] IE 6 and background-position problem

2006-11-07 Thread Graham Anderson
For some reason, IE6 is ignoring my background-position in my 'a:link' below Strangely, the a:hover is working. When I mouse-exit, the button returns to the incorrect 0,0 position. Does anyone know what this could be? Of course, all is well in Firefox and Safari. Here is the relevant CSS: div#

Re: [css-d] IE 6 and background-position problem

2006-11-07 Thread Graham Anderson
fantastic :) that worked and saved another trip to the medicine cabinet g On Nov 7, 2006, at 9:38 AM, Bradley Wright wrote: > On 07/11/2006 16:28, Graham Anderson wrote: >> For some reason, IE6 is ignoring my background-position in my >> 'a:link' below >> St

[css-d] IE6 Image Crop Error...Containing a div within a div

2006-11-09 Thread Graham Anderson
I am trying to absolutely position a div with a background image within another relatively positioned div For some reason, in IE6, this causes cropping errors. In IE6, the pop_out_of_footer.png is cropped to the dimensions of the footer.jpg Firefox and Safari display no such error. To get

[css-d] IE 6 Bug: Fixed Anchor tags on a scrollable div ?

2006-11-13 Thread Graham Anderson
For some bizarre reason, I have a scrollable div where the anchor links do not scroll with the rest of the content. here is an example: http://bravosantamonica.com/bravo/bravo_contact.php In the right-center 'scrollable' content area, the link, [EMAIL PROTECTED], remains fixed while the rest o

[css-d] Compressed CSS only loads in Safari?

2006-11-14 Thread Graham Anderson
I am trying to compress my css files with .htaccess and php. For some bizarre reason, Firefox and IE6 refuse to recognize/display the css In Safari, everything works fine An example: http://bravosantamonica.com/dev/bravo/ Has anyone ran into this problem? And, is there a workaround? many thank

Re: [css-d] Compressed CSS only loads in Safari?

2006-11-15 Thread Graham Anderson
gt; comments stripped out and (lots of other optimizations) > > If you can't work with the filename extension, you could use a rule > for going from > something like name_raw.js -> name.js > > Also is your approach compatible with HTTP compression (mod_deflate, > etc) ? I a

Re: [css-d] Compressed CSS only loads in Safari?

2006-11-15 Thread Graham Anderson
.css php_value auto_prepend_file /path/to/compress-css.php compress-css.php: On Nov 14, 2006, at 1:46 PM, Ingo Chao wrote: > Graham Anderson wrote: >> I am trying to compress my css files with .htaccess and php. >> For some bizarre reason, Firefox and IE6 refuse to recogni

[css-d] Consistent Cross platform font size

2006-11-15 Thread Graham Anderson
How do folks on this list get font sizes to be the same between macs and pcs ? I could use php/javascript to increase the font size by x% when on a pc. Is there a simpler way that uses plain old css ? many thanks g __ css-d

Re: [css-d] Consistent Cross platform font size

2006-11-15 Thread Graham Anderson
Well, I probably made this way too complicated, but here the solution I came up with by googling a bit. The solution below allows for some variable substitution WITHOUT altering the CSS file. The body's font-size attribute is dynamically written according to the OS as defined in the user ag

[css-d] Fixing images in place when using image substitution and text-indent

2006-11-22 Thread Graham Anderson
Hi I have a menu where all the menu button text is being replaced with images. For some reason, when the browser text is resized, the "menu bar text" images begin to move tooshifting to the right with each resize As I am still very new to CSS, can someone tell me what I am doing wrong?

[css-d] Image Replacement in a span tag: Fails in FF works in IE6

2006-11-28 Thread Graham Anderson
I am trying to replace text in a span tag with a custom bullet graphic... while keeping the text and span image on the same line An example would be: View Map [bullet img] Email The below works in IE6 but fails in Firefox and Safari. For some reason, I can not hide the text in the span tag w

[css-d] IE7 problem: list item bg image positioning upon a text resize

2006-12-06 Thread Graham Anderson
Hi Upon a text resize in IE7, I am having trouble positioning a background image in an unordered list. The 'star' background image in the tag line,Rustic Italian Cuisine * Focused on Organics, does not stay centered upon a text resize. I am only seeing this bug in IE7 as the star appears to re

[css-d] IE7 and unordered list strangeness

2006-12-07 Thread Graham Anderson
Hi Upon a text resize in IE7, I am having trouble positioning a background image in an unordered list. The 'star' background image in the tag line,Rustic Italian Cuisine * Focused on Organics, does not stay centered upon a text resize. I am only seeing this bug in IE7 as the star appears to

[css-d] IE7-only: background positioning bug?

2006-12-09 Thread Graham Anderson
Upon a text resize [not zoom] in IE7, I am having trouble positioning a background image in an unordered list. Specifically, The 'star' background image in the tag line,Rustic Italian Cuisine * Focused on Organics, does not stay centered upon a text resize. I am only seeing this bug in IE7 a

Re: [css-d] IE7-only: background positioning bug?

2006-12-11 Thread Graham Anderson
many thanks for the tip g On Dec 9, 2006, at 12:24 PM, Ingo Chao wrote: > Graham Anderson wrote: >> Upon a text resize [not zoom] in IE7, I am having trouble positioning >> a background image in an unordered list. >> >> Specifically, The 'star' ba