1

I was using the bootstrap directives for angular http://angular-ui.github.io/bootstrap/ and I basically had a modal for which the body content is given by

<div class="modal-body">
  <div ng-bind-html="render">
  </div>
<div class="modal-footer">

and in the controller I am specifying

$scope.render=$sce.trustAsHtml(data.html);

Here data.html has html content of a different website . The modal was working like I wanted and Html content was shown in the modal . The only problem was the html content of the website had some images width set inline like 600px or more and for this reason those images are not contained in the modal . It is crossing the border of the modal which makes it dirty . Is it possible to correct it ?? Please Help ...

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.