Erik Visser wrote: > Gunlaug Sørtun wrote: >> table.image_block td .smalltxt {width: 8em!important} >> >> ...will for example work fine on an unaltered markup (with those >> inline-styles in place). >> > > And i thought !important was a hack for some sort of IE correction..... > Obviously never looked into it very well. > >> On the other hand: it doesn't make all that much sense, to me, to use an >> em-sized layout on a site focused on image-presenting. You will end up >> having to resize the images in ems too - one way or another, which will >> lead to some degree of distortion in all browsers. >> > > Do you see this site as an image-presenting site? > It is a camping ground site. > To give a good impression of their campground we added a lot of photos > to the pages of the site. And we added a photobook. > But stil also a lot of textual information on rates, services, etc. > > Besides that. > > Ths is not an em-sized layout, or...? > > 1. The layout is mainly a percentage based layout. Using: > #col_middle { > float: left; > width: 72.5%; > margin-left: 20%; > } > * html #col_middle { display: inline; } > #col_left { > float: left; > width: 20%; > margin-left: -92.5%; > } > #col_right { > float: left; > width: 0%; > } > > See: http://beta.ottermeerhoeve.nl/css/style.css > > > 2. Image dimensions are set using em. See: > http://beta.ottermeerhoeve.nl/css/makeup.css > > > All together the site resizes quite good in most browsers. Doesn't it? > > Only the fotoboek which is generated with JAlbum brings in different > styling.. And that's what i'am try to alter/adapt so it fits in the site > without breaking it. > > I always thought that a percentage based layout. And em based image > styling were generally a good idea? > > Any remarks are welcome. > > Erik > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > 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 [cs...@lists.css-discuss.org] 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/