Jump to content
  • 0

Проблема с наследованием


vyaceslav.kr
 Share

Question

Привет ВСЕМ!

Делаю генератор форм ...

Столкнулся с проблемой верстки:

При добавлении полей в форму - блоку bg_image передается длина.Он должен быть аналогичен форме, он-же вылезает за пределы... В чем может быть проблема ?

вот код:


<div class="scene-editor">
<form class="sr-box" method="post" action="https://smartresponder.ru/subscribe.html" target="_blank" name="SR_form" style="z-index: 1;width: 354px; border: 2px solid rgb(188, 188, 188); margin: 0 auto; margin-top: 60px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; ">
<div style="position: absolute; display: block; ">
<div id="resize" style="cursor: pointer; position: absolute; width: 400px; height: 300px; z-index: 30; border: 1px dashed rgb(153, 153, 153); display: none; " class="ui-draggable ui-resizable">
<div style="float: right; margin: -7px; background: url(https://smartresponder.ru/imgs/views/std/static/modal_close.gif) no-repeat; width: 24px; height:24px;" id="remove_bg_image_329186"></div>
</div>
</div>
<div id="bg_image" style="overflow: hidden; position: absolute; display: block; width: 354px; height: 476px; background-color: rgb(255, 255, 255); z-index: 0; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; "><img style=" position: relative; z-index: -1;" id="bg_image_target" src="http://localhost/Test/wp-content/plugins/smartresponder/fileUploader/server/php/files/example (20).jpg"></div><ul class="sr-box-list ui-sortable">

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy