Good morning,
When I add pictures to an article I can use css code like this >>>
style="width: 400px; height: 266px; float: right; margin: 1px 3px;"
inside the image tag to make the image float. This works just fine, but on the front page this code is stripped out and only the the 'alt' and 'src' are kept. So the image is just put into the teaser text as an inline image which looks ugly. Any ideas howand where I could change the code to take care of this problem?
Thanks
Marc
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | After-alignment.png | 223.91 KB | bhumikavarshney |
| #5 | error-after-patch-3.png | 12.02 KB | bhumikavarshney |
| #3 | Screenshot 1942-07-03 at 1.04.53 PM.png | 175.76 KB | gauravvvv |
| #3 | issue-fixed-2844830-3.patch | 228 bytes | gauravvvv |
Comments
Comment #2
marchey commentedComment #3
gauravvvv commentedHello @marchey This works on front page also, Please clear your cache after that changes will reflect. Here i am adding a patch and after patch screenshot for reference.
Comment #4
gauravvvv commentedComment #5
bhumikavarshney commentedHi @Gauravmahlawat ,
Please review your patch once again it is not working for me.
Please check the error SS.
@marchey While adding image Drupal provide alignment option please opt any one b/w right or left so text will wrap as per your choice.
The issue you faced is because the NONE is default alignment.
I have added SS after choosing Image Alignment to Right.
Thanks!!.
Comment #6
kunal_kapoor commented