I’ve got an issue where an image and div are not floating side-by-side. Instead the div is loading below the image and falling outside of the main div that both elements are wrapped in.
Setting a fixed width or % to the div or p element resolves the issue but I don’t like that fix.
Is it because there is no width on the ‘notice-wrap’ div and therefore the inner div (notice-content) can’t calculate the end point and therefore forces full width?
you dont really need to float the div AND the image. Floated elements are best given explicit width, otherwise they will shrink wrap to the width of their content. Since your div has long text, this is 100% of the container. BTW, the AP’ing was not a good idea either.