#499333 - 03/13/1009:32 AMFloating images need buffer space
Phosphor
An unreasonable man
Registered: 10/08/07
Posts: 1959
Loc: Lancaster PA USA
Just a little aesthetic & readability tweak...
I'm thinking it might be good to add 6 - 10px of buffer space ("hspace" & vspace" attributes in the "img" tag in the image float CSS lass) around floating images so that the adjacent text added won't butt right up against the images we place.
EXAMPLES:
As coded... Left floating image: Magna nonummy tation aliquip et nibh minim te sciurus nulla suscipit ex laoreet suscipit iusto dignissim autem tation veniam; dolore feugait dolore vel duis in duis. Dolor consequat sciurus lobortis volutpat, nulla qui nisl. Ullamcorper ut eu dolor nostrud; iusto hendrerit ut nulla in tation. Ex, autem nibh, delenit... ullamcorper ad blandit accumsan et, esse nisl. In consequat... nulla dolor nulla. Qui minim; hendrerit in ex accumsan consequat augue feugait ut vel blandit qui consequat dignissim vero consectetuer at lobortis duis exerci dignissim in erat, vel ut. Vel in autem nibh, delenit... adipiscing, eu dignissim praesent iusto, veniam facilisi ut odio magna molestie sit dolore ad ullamcorper tation te iriure. Magna qui iriure dolore crisare... elit eros vel veniam dignissim blandit augue eu nulla.
Right-floating image: Magna nonummy tation aliquip et nibh minim te sciurus nulla suscipit ex laoreet suscipit iusto dignissim autem tation veniam; dolore feugait dolore vel duis in duis. Dolor consequat sciurus lobortis volutpat, nulla qui nisl. Ullamcorper ut eu dolor nostrud; iusto hendrerit ut nulla in tation. Ex, autem nibh, delenit... ullamcorper ad blandit accumsan et, esse nisl. In consequat... nulla dolor nulla. Qui minim; hendrerit in ex accumsan consequat augue feugait ut vel blandit qui consequat dignissim vero consectetuer at lobortis duis exerci dignissim in erat, vel ut. Vel in autem nibh, delenit... adipiscing, eu dignissim praesent iusto, veniam facilisi ut odio magna molestie sit dolore ad ullamcorper tation te iriure. Magna qui iriure dolore crisare... elit eros vel veniam dignissim blandit augue eu nulla.
_________________________ "We writhe with the best of them."
#499340 - 03/13/1009:43 AMRe: Floating images need buffer space
[Re: neil]
Phosphor
An unreasonable man
Registered: 10/08/07
Posts: 1959
Loc: Lancaster PA USA
If you can get at the UBB code, it should be a VERY simple tweak.
So simple, in fact that even ***I*** could do it, and be confident about not mucking up the whole shebang.
I'm surprised the UBB code is like that, considering how mature it is. It's pretty much the norm everywhere on the web to include buffer space around images, as a matter of course.
_________________________ "We writhe with the best of them."
#499344 - 03/13/1009:55 AMRe: Floating images need buffer space
[Re: neil]
Phosphor
An unreasonable man
Registered: 10/08/07
Posts: 1959
Loc: Lancaster PA USA
Shoot, Neil, that part could be scripted, lickety split! It could even be managed with a simple "Find & Replace"—the code should only exist in one or two places in the CSS, that Class which defines image display attributes.
_________________________ "We writhe with the best of them."
#499347 - 03/13/1010:01 AMRe: Floating images need buffer space
[Re: Phosphor]
neil
Neil Ticktin
Registered: 06/05/08
Posts: 1077
Loc: Westlake Village, CA
Guys,
Let's look at this stuff all down the road after we've finished chewing what we bit off. This is in the minor category and needs to wait to get attention.