Cynthia Page wrote: > I am experimenting with layout for divs containing images and text. The outer > div will go inside a three column layout. > > My question concerns floating and clearing images in divs, nested within a > floating div. > > Should I float an image left and clear right to make the text stay to the > right of the image, and if I declare a pixel width for the image with padding > will I have problems with IE displaying the whole image? > > I have an example posted. > > Also is it appropriate to ask such a basic question on this list? > > Thanks, > Cynthia > > http://hoengerlab.colorado.edu/testfloat/float.html > > All questions dealing with CSS are appropriate. And your question is anything but basic.
The simple answer is what you have works cross browser (don't forget to validate). The practical problems arise in putting that inside a 3 col layout and keeping the float from dropping at narrow window widths (800 or less) and user discretion with font-scaling and side bar use at all window sizes -- /particularly in iE/. It is some what dependent on your base 3col layout-- a fixed width 750px layout may easier to cope with. This [1]is a crude sample of your stuff insie a 3c layout. See source for changes made. Others on the list may have more pertinent advice. [1] <http://www.chelseacreekstudio.com/ca/cssd/5col.html> Best, ~dL -- http://chelseacreekstudio.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
