I just discovered that the problem doesn't exist in Opera (at least in the latest beta).
Georg, in your example the letter is opened for styling, but I want to place the image within a block level element in order to be xhtml strict valid. A <div> should be ok, but a <p> is more semantically correct :) On 5/1/06, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote: > Martin Petrov wrote: > > I want to style the first letter of a paragraph with p:first-letter, > > however a have an <img> at the beginning of that paragraph and it > > prevents me from selecting that first letter. > > > <p><img src="cool.jpg" />lorem ipsum blah blah yada yada</p> > > > > If I remove the image then the first letter is styled. It seems the > > image acts as a first letter. > > > > Do you know something about this? Could you suggest a way to style > > the first letter of a paragraph preceded by an image? > > Something like... > > <img src="cool.jpg" style="float: left;" /><p>lorem ipsum blah blah yada > yada</p> > > ...should open first letter for styling. The image will still > precede the paragraph. > > regards > Georg > -- > http://www.gunlaug.no > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/