css - Variable Div size. Position top right -


I have a layout where 50 percent of the screen (left top right not below top) is a map and another 50 percent by content is taken.

I have a text in the 10-digit variable with the text and I want to place some space on the upper right part of each div. Text is generated dynamically so there is no way I can tell How big a div becomes.

  & lt; P id = "content" & gt; & Lt; Div id = "contentDiv" & gt; Blah blah blah blah & lt; Div id = "static" & gt; Thing, I want to deploy & lt; / Div & gt; & Lt; / Div & gt; & Lt; Div id = "contentDiv" & gt; Blah blah balh blah & lt; Div id = "static" & gt; Thing, I want to deploy & lt; / Div & gt; & Lt; / Div & gt; & Lt; / P & gt;   

P # content is displayed: it has an effect when inline is in. I have tried Status: Completed; Correct: 0; Top: 0;

But this is not the relative position of the whole page and each individual divas.

I'm not sure what it is after you, I just Float to the right side, and display some CSS. But instead of using several elements, use the id for the class. Or it will break at some point.

  .positionedthing {float: right;}    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -