Increasing the margin around left and right aligned images.
}
switch ( $align ) {
case 'left':
- $image->setAttribute( 'style', 'float: left; margin: 5px;' );
+ $image->setAttribute( 'style', 'float: left; margin: 10px;' );
break;
case 'right':
- $image->setAttribute( 'style', 'float: right; margin: 5px;' );
+ $image->setAttribute( 'style', 'float: right; margin: 10px;' );
break;
case 'center':
$image->setAttribute( 'style', 'display: block; text-align: center; margin: 0 auto;' );
}
switch ( $align ) {
case 'left':
- $image->setAttribute( 'style', 'float: left; margin: 5px;' );
+ $image->setAttribute( 'style', 'float: left; margin: 10px;' );
break;
case 'right':
- $image->setAttribute( 'style', 'float: right; margin: 5px;' );
+ $image->setAttribute( 'style', 'float: right; margin: 10px;' );
break;
case 'center':
$image->setAttribute( 'style', 'display: block; text-align: center; margin: 0 auto;' );