Re: [css-d] td widths change with img ???
Maybe a dumb question, but is the text in column (2) defined to be left aligned? Other than that, I cannot think of a reason - if all table rows are in one table and not in separate ones - why that should happen. Could you provide a link to an exemplary page showing your problem? Does it happen only in certain browsers? Regards, Christian *Directmedia Publishing GmbH* · Möckernstraße 68 · 10965 Berlin www.digitale-bibliothek.de AG Berlin-Charlottenburg · HR B 58002 · USt.Id. DE173211737 Geschäftsführer: Ralf Szymanski · Erwin Jurschitza Mike Schleif schrieb: I have dynamically generated tabular data. The leftmost cell in each row will be either an image, or blank. The images can vary in width. Height is not an issue. The displayed images are to be maximum width 150px. I would prefer that smaller images remain smaller; but, can live with stretch. Most irritating problem is that text in column (2) does NOT left justify in a straight vertical line ; Table cell border is ONLY for testing: td class=MenuPicture style=border: solid black 1px; width=180 px div class=Image img src=/modules/displaythumb.aspx?id=%= modID % / /div /td Current CSS: .Image { margin-bottom: 0px; margin-top: 0px; padding: 0px; text-align: center; width: 100%; } .MenuPicture { /* align: absmiddle; border-style: none; padding: 0px; text-align: center; */ } What am I missing? __ 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] td widths change with img ???
* Christian Kirchhoff [EMAIL PROTECTED] [2008:03:07:10:51:12+0100] scribed: Maybe a dumb question, but is the text in column (2) defined to be left aligned? Other than that, I cannot think of a reason - if all table rows are in one table and not in separate ones - why that should happen. Could you provide a link to an exemplary page showing your problem? Does it happen only in certain browsers? Go here: http://hb.platinumaire.net/form_4.aspx Enter this string: {A8D5CDDA-972F-4D33-A7E8-B5342AAE1350} and submit. So far, ff 2.0.0.12 and ie 7 both exhibit bad column alignment ... What do you think? -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- signature.asc Description: Digital signature __ 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] td widths change with img ???
Mike Schleif wrote: Go here: http://hb.platinumaire.net/form_4.aspx Enter this string: {A8D5CDDA-972F-4D33-A7E8-B5342AAE1350} and submit. The server is throwing errors when I try this. Do you have a spot to post just a static copy of the page in question? -- Scott __ 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] td widths change with img ???
* Scott Sauyet [EMAIL PROTECTED] [2008:03:07:08:59:00-0500] scribed: Mike Schleif wrote: Go here: http://hb.platinumaire.net/form_4.aspx Enter this string: {A8D5CDDA-972F-4D33-A7E8-B5342AAE1350} and submit. The server is throwing errors when I try this. Do you have a spot to post just a static copy of the page in question? -- Scott http://hb.platinumaire.net/test.html -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- signature.asc Description: Digital signature __ 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] td widths change with img ???
Hello, A look at your html code shows me that the rows are in separate tables. For a start try to combine evrything in one single table by dropping the extra: /table table cellpadding=5 cellspacing=5 width=100% in between the four rows. Otherwise: Try setting width: 180px; for .Image, and set the cellpadding attribute of the table tags to 0. Best regards, Christian Kirchhoff *Directmedia Publishing GmbH* · Möckernstraße 68 · 10965 Berlin www.digitale-bibliothek.de AG Berlin-Charlottenburg · HR B 58002 · USt.Id. DE173211737 Geschäftsführer: Ralf Szymanski · Erwin Jurschitza Christian Kirchhoff schrieb: Maybe a dumb question, but is the text in column (2) defined to be left aligned? Other than that, I cannot think of a reason - if all table rows are in one table and not in separate ones - why that should happen. Could you provide a link to an exemplary page showing your problem? Does it happen only in certain browsers? Regards, Christian *Directmedia Publishing GmbH* · Möckernstraße 68 · 10965 Berlin www.digitale-bibliothek.de AG Berlin-Charlottenburg · HR B 58002 · USt.Id. DE173211737 Geschäftsführer: Ralf Szymanski · Erwin Jurschitza / __ 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] td widths change with img ???
* Christian Kirchhoff [EMAIL PROTECTED] [2008:03:07:18:11:45+0100] scribed: Hello, A look at your html code shows me that the rows are in separate tables. For a start try to combine evrything in one single table by dropping the extra: /table table cellpadding=5 cellspacing=5 width=100% in between the four rows. snip / When I read this, I thought, No way! I didn't do something that bad ; However, when I checked the code; sure enough, my bad, I had done the dork ; Thank you, thank you, thank you ... -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- signature.asc Description: Digital signature __ 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-d] td widths change with img ???
I have dynamically generated tabular data. The leftmost cell in each row will be either an image, or blank. The images can vary in width. Height is not an issue. The displayed images are to be maximum width 150px. I would prefer that smaller images remain smaller; but, can live with stretch. Most irritating problem is that text in column (2) does NOT left justify in a straight vertical line ; Table cell border is ONLY for testing: td class=MenuPicture style=border: solid black 1px; width=180 px div class=Image img src=/modules/displaythumb.aspx?id=%= modID % / /div /td Current CSS: .Image { margin-bottom: 0px; margin-top: 0px; padding: 0px; text-align: center; width: 100%; } .MenuPicture { /* align: absmiddle; border-style: none; padding: 0px; text-align: center; */ } What am I missing? -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- signature.asc Description: Digital signature __ 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/