Sent by Hassan Schroeder on 30 September 2002 00:12
Adam Wodon wrote:
>>I believe that it can handle some inline styles and not others...
I've never seen this, and I still do a lot of work for a client
with an all-NS4 intranet, but ...
> So, if I float an image in a news article, I must set a width. Problem
> is, these are PHP templates. One template fits all. There's no way the
> style sheet will know what the width of the image is before it's called.
>
> I've been setting everything but the width in the CSS, then setting the
> width inline.
>
> Any alternatives?
Use PHP's image-resizing function to make all the images the same
width? Might be the easiest ...
FWIW!
--
H*
Hassan Schroeder ----------------------------- [EMAIL-REMOVED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
-- creating dynamic Web sites and applications since 1994 --