Re: [css-d] Negative margins for image overflow

2008-09-10 Thread Alan Gresley
Tim Dawson wrote: Perhaps this is a good opportunity to ask a question that's puzzled me for a while. Can you have both a 'float' and a 'clear' in the same style ? Georg seems to be saying you can. Is the order of the rules is going to make a difference ? (I'd have thought so). e.g.

Re: [css-d] Negative margins for image overflow

2008-09-10 Thread Mike Breiding
Thanks to everyone for their help on this. None of my replies went to the list and I had to set up a new account for get mail to the list. -Mike __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d

Re: [css-d] Negative margins for image overflow

2008-09-09 Thread Gunlaug Sørtun
Mike Breiding wrote: img class=leftImg src=states_cov_cr.jpg width=620 height=30 alt=/ img class=leftImg src=states_cov_cr.jpg width=120 height=130 alt=/ If the long image is wrapped in a paragraph or an empty paragraph inserted between the two images they then both float left. Yes,

Re: [css-d] Negative margins for image overflow

2008-09-09 Thread Tim Dawson
Gunlaug Sørtun wrote: Mike Breiding wrote: img class=leftImg src=states_cov_cr.jpg width=620 height=30 alt=/ img class=leftImg src=states_cov_cr.jpg width=120 height=130 alt=/ If the long image is wrapped in a paragraph or an empty paragraph inserted between the two images they then

Re: [css-d] Negative margins for image overflow

2008-09-09 Thread Philippe Wittenbergh
On Sep 9, 2008, at 8:49 PM, Tim Dawson wrote: Perhaps this is a good opportunity to ask a question that's puzzled me for a while. Can you have both a 'float' and a 'clear' in the same style ? Georg seems to be saying you can. Is the order of the rules is going to make a difference ?

Re: [css-d] Negative margins for image overflow

2008-09-09 Thread Gunlaug Sørtun
Mike Breiding wrote: I added 'clear: left' to the rules for the '.leftImg' class. This does the job in FF, but in IE 6 it forces the first paragraph to the far right into a very narrow column. That's because you have a 'width' on paragraphs, which to IE/win means 'hasLayout'[1] and

[css-d] Negative margins for image overflow

2008-09-08 Thread Mike Breiding
Greetings, I am using a two column, header/footer layout. I want to use images wider than the right column will allow without breaking the right border. So, I used a negative margin to pull the image into the left column. It appears as I would like it in Fire Fox, but in IE 6.0 the image is

Re: [css-d] Negative margins for image overflow

2008-09-08 Thread Gunlaug Sørtun
Mike Breiding wrote: http://epicroadtrips.us/dad/journals/travel/usa/central_states_north_trip_june_2-15_1977/001.html So, I used a negative margin to pull the image into the left column. It appears as I would like it in Fire Fox, but in IE 6.0 the image is clipped. Question: Is there a