[WSG] Image placement

2008-04-16 Thread Michael Horowitz
I need to modify a page to add two images next to image button. In the original css the image button is in a div that is centered on the page. I don't see a semantic need to add any new divs so I increased the width of the div to make it the entire size of my page and then need to decide how

[WSG] image placement

2004-08-12 Thread Lea de Groot
On Fri, 13 Aug 2004 10:37:43 +1000, russ - maxdesign wrote: You probably should start by separating out images into two categories; (1) decorative images (2) content-based images I had the interesting moment the other day where I was putting a purely decorative image into a page, but couldn't

Re: [WSG] image placement

2004-08-12 Thread Patrick H. Lauke
How's this: p { background: url(someimage.png) no-repeat left top; } p:first-letter { padding-left: 15px; } Works in IE5.5 onwards. 5 and below don't quite get it, I'm afraid. If 5 is your target, you may have to resort to using a sacrificial span pspan/spanblah blah.../p and the convoluted p {

Re: [WSG] image placement

2004-08-12 Thread Lea de Groot
On Fri, 13 Aug 2004 03:33:02 +0100, Patrick H. Lauke wrote: p { background: url(someimage.png) no-repeat left top; } p:first-letter { padding-left: 15px; } Would that work? I was thinking of text-indent, but it only does the one line. Works in IE5.5 onwards. 5 and below don't quite get it,

Re: [WSG] image placement

2004-08-12 Thread Philippe Wittenbergh
On Aug 13, 2004, at 10:26 am, Lea de Groot wrote: On Fri, 13 Aug 2004 10:37:43 +1000, russ - maxdesign wrote: You probably should start by separating out images into two categories; (1) decorative images (2) content-based images I had the interesting moment the other day where I was putting a

Re: [WSG] image placement

2004-08-12 Thread Patrick H. Lauke
Lea de Groot wrote: [...] Would that work? I was thinking of text-indent, but it only does the one line. [...] Ooh, neat! How does it figure out the height to leave for the image? ah, when you said small graphic, i thought you meant something *really* small. If it spans more than one line, this

Re: [WSG] image placement

2004-08-12 Thread Lea de Groot
On Fri, 13 Aug 2004 04:49:04 +0100, Patrick H. Lauke wrote: ah, when you said small graphic, i thought you meant something *really* small. If it spans more than one line, this won't work, obviously, and you should stick with another sacrificial element instead. Ah, no, sorry - not that