Re: [css-d] float help in IE6/7
Worked perfectly. Thanks for your help! On Tue, Oct 7, 2008 at 9:55 AM, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote: > Dan Katz wrote: >> >> Please take a look at the header of this site: >> >> http://ecosphere-services.com > > IE can't "shrink width to content" on floats when the content is floats. > Thus, IE needs a declared width on #locations. > > That width must be in 'em' to accommodate font-resizing, but because you > have mixed pixels and em in there you'll never get it right. > Something like... > > #locations {*width: 15.5em;} > > ...(hacked for IE-only - this way or whichever way you like) will be > close though. > > regards >Georg > -- > http://www.gunlaug.no > -- Dan Katz http://www.linkedin.com/in/mtndan __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] float help in IE6/7
Dan Katz wrote: > Please take a look at the header of this site: > > http://ecosphere-services.com IE can't "shrink width to content" on floats when the content is floats. Thus, IE needs a declared width on #locations. That width must be in 'em' to accommodate font-resizing, but because you have mixed pixels and em in there you'll never get it right. Something like... #locations {*width: 15.5em;} ...(hacked for IE-only - this way or whichever way you like) will be close though. regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] float help in IE6/7
Hi, I would try to set a width on div#locations (218px or so). Serge Krul > __ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] float help
On 7/29/05, Ben Alpert <[EMAIL PROTECTED]> wrote: > I am trying to make a series of floated boxes with different heights that > look something like this: http://onetwoseven.zapto.org/floattestgood.htm. I > would like my HTML to look like this: > http://onetwoseven.zapto.org/floattest.htm. Am I not understanding floats > correctly? Unfortunately, you are not understanding floats correctly. :-) A float that is later in the source cannot appear further up the page than one created earlier in the source, according to rule #5 in the spec.[1] Sorry to be the bearer of bad news Michael [1] http://www.w3.org/TR/CSS21/visuren.html#float-rules __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] float help
Ben, I'm not sure what your are trying to achieve, but take a look at this Al Sparber demo: http://www.projectseven.com/csslab/testing/lists/grid.htm Jim On 7/29/05, Ben Alpert <[EMAIL PROTECTED]> wrote: > I am trying to make a series of floated boxes with different heights that > look something like this: http://onetwoseven.zapto.org/floattestgood.htm. I > would like my HTML to look like this: > http://onetwoseven.zapto.org/floattest.htm. Am I not understanding floats > correctly? > > Thank you for your time. > > -Ben > __ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
RE: [css-d] float help
Am I not understanding floats correctly? Ben, I am not the greatest at this either, as I am learning, but Jim Davis passed this url (http://www.projectseven.com/csslab/testing/lists/grid.htm) along to me and it help out with a project I am currently working on. I hope it helps, Scot __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Float help
On Tue, 28 Jun 2005 18:05:12 -0400, Holly Bergevin <[EMAIL PROTECTED]> wrote: Assuming the problem is in IE/Win (my Mozilla looks fine, as does Opera) please see - http://www.positioniseverything.net/explorer/doubled-margin.html hope that helps, ~holly __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ Words of wisdom from the master... ;-) Sounds like it exactly. Thanks Holly! -- Tom Livingston Senior Multimedia Artist Media Logic www.mlinc.com Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Float help
From: "Tom Livingston" <[EMAIL PROTECTED]> >> http://www.petticoatjewels.com/test/designs.htm >how to get rid of the extra space to the left of the >images. They should line up, on the left, with the paragraph above them. Assuming the problem is in IE/Win (my Mozilla looks fine, as does Opera) please see - http://www.positioniseverything.net/explorer/doubled-margin.html hope that helps, ~holly __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Float help
On Mon, 27 Jun 2005 16:19:51 -0400, Tom Livingston <[EMAIL PROTECTED]> wrote: Hello list, I am having trouble with a layout. If you use FF and have Web Dev toolbar you will see my dilemma. I can't find where the text under the thumbnails is getting the huge width from. I'm sure it is something stupid. http://www.petticoatjewels.com/test/designs.htm TIA I solved my initial problem, but am not sure if my fix will make anyone clasp a hand over their mouth to keep the last thing they ate from getting on their shoes. Please take a peek if you have the time and also let me know, if possible, how to get rid of the extra space to the left of the images. They should line up, on the left, with the paragraph above them. TIA -- Tom Livingston Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/