How to completely change the css position of an element on the page to appear in another part of the document flow?


Tags: forms,nested,css-position

Problem :

I have a long form with text inputs, and in the middle of it, I'd like to insert a jquery upload (blueimp) file plugin which uses a form element. I know that nested forms are not valid markup. How can I use CSS to visually position a form element inside another form element without doing some messy absolute positioning?



Solution :

It seems like using an iframe to generate the content, and then inserting the iframe into the middle of the original form works quite well. I'm unfamiliar with the caveats of iframes but everything seems to work fine.


    CSS Howto..

    How to make links work, regardless of location in directory structure?

    How to load a small css background image before lots of other images (html element in .css file)?

    How to change border of div containing radio button when checked

    How can I group DIVs in my document so I can apply CSS to them?

    How to make separating lines/borders in a table disappear with CSS?

    How can you hide the arrow that is displayed by default on the HTML5
    element in Chrome?

    How to animate transitions triggered by links

    Markup/Style best practices: How to efficiently distribute style rules over CSS classes?

    How do I get the codes of creating the sidebar from this website? [closed]

    How to make a 3 column layout fill 100% width using pixel metric on 2 columns?

    How to create rolldown content with css?

    How are new lines made with text as background?

    How to put a
  • over an
    • Bootstrap css, how to make always visible navbar-toggle?

      css only. Click on li, show nested ul and li. Release mouse button, must continue show nested ul and li

      How can i return a navmenu button to previous style after clicking another button

      how can i center the text inside my css div circle

      How to define changing css property based on incrementing class names?

      How can you remove the table-tags in CreateUserWizard control

      How can I align a button at the bottom of a div?

      How to show Div after a Specific time of page load?

      How to exclude the container from this javascript code?

      “How to Ask” box when typing a question in SO. How do get that scrolling effect? Pure CSS or JS?

      How can I show a element on my site when hovered with only JS?

      How to set div to display in only one line?

      How to share CSS StyleSheet amongst projects?

      how to align an image, bottom right of table cell by using css?

      How to make a number of breaks in CSS? [closed]

      Show/Hide Div in jQuery, issue with “skipping” divs

      How to identify unused css definitions [closed]