{"issue":{"created_at":"2011-11-24T15:39:46Z","state":"open","updated_at":"2011-11-24T15:39:51Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":4,"body":"Dear devs!\n\nAt first I would like to thank you for this wonderful cms!\n\nI noticed that the BE setting for floating images in text leads to an inline style like style=\"float: left\". My suggestion is to use classes (e.g. \"left\"/\"right\") for the surrounding image_container instead, so the developer can style the image (esp. general margins) in the stylesheet by using .image_container.left or image_container.right. The aim is to save the user from having to set the same margins for each image over and over again and on the other hand it seperates layout from content.\n\nThis change would require to also add the img width to the image_container, but only if set. It also would require two new classes in typolight.css: .left and .right.\n\nThank you so much & keep on the good work,\njuju\n\n--- _Originally created by anonymous on March 19th, 2009, at 10:32am (ID 601)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2342563,"number":601,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/issues/labels/backend"},{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/issues/labels/Feature"}],"title":"class instead of inline style for floating images in text","closed_at":null,"html_url":"https://github.com/contao/issues/issues/601","milestone":{"created_at":"2011-11-24T11:46:48Z","state":"open","due_on":null,"closed_issues":72,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":1,"description":"TYPOlight 2.7.0 (minor release)","title":"2.7.0","url":"https://api.github.com/repos/contao/issues/milestones/1","open_issues":1},"url":"https://api.github.com/repos/contao/issues/issues/601"},"action":"created","comment":{"created_at":"2011-11-24T15:39:51Z","updated_at":"2011-11-24T15:39:51Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"But do you think it is possible to at least add a class \"left\" or \"right\" to the image_container and leave the rest untouched? Otherwise checking the float and setting the corresponding class requires so \"much\" code to manually add to each image/text template and news template.\n\nThanks for your time,\njuju\n\nPS: Would you mind to also have a [/ticket/602 look at another ticket] I opened, which I subsequently changed from \"bug report\" to \"feature request\" and therefore doesn't show up in \"New Tickets\" anymore? Thanks again.\n\n--- _Originally created by anonymous on March 19th, 2009, at 11:43am_","id":2865836,"url":"https://api.github.com/repos/contao/issues/issues/comments/2865836"}}