I have an interesting challenge in dealing with two inline text elements in a particular way. Here are my parameters:
- There will be variation in the main text width on the left, approximately 30-60% of the original width
- The supplementary text on the right will vary widely by 20-120%.
- The guardian's width is responsive - and its full width can be as little as 75% full position will not be
- Whenever both items do not fit, I hide the overflow To make it appear fully, main text and supplementary text want to turn up
- overflow the text: ellipisis
Both CSS and HTML are fully available for modification, though I would like to have H TML HTML is meaningful. If there is a good way to do this, feel free to use JS / JQ.
.ter {width: 200px; Background color: sky; Border: 3px solid sky; Exhibit: Flex; Appropriate Material: Space-Between; }. Left {background-color: salmon; White-space: Abrop; Hidden flurry; Text-overflow: oval; } .right {background color: Blankdalmond; White-space: Abrop; Hidden flurry; Text-overflow: oval; } & lt; Div class = "outer" & gt; & Lt; Div class = "left" & gt; Main text & lt; / Div & gt; & Lt; Div class = "right" & gt; Additional Information sdjkfhsdf & lt; / Div & gt; & Lt; / Div & gt;
I have changed your CSS slightly Here is one for
I have added float and max-width (as you put it in containers up to 60%) and I have removed the overflow: the hidden reason you always want it completely. .left {background-color: salmon; White-space: Abrop; Max-width: 60%; Swim left; } And I delete the display from Flex I think this is what you want to do.
Popular posts from this blog
Please help me about this question: Look for functions ($ userpno) } {Echo $ userpno; $ This-> query = "SELECT task.employee_id, task.user_id, task.service_id, service.name AS servicename, service.description AS servicedescription, employee.name as employineame, employee.pic_path employment, employee.pic_path from work Work.user_id = '$ userpno' Join the INNER employee. Pno = task.employee_id Join INNER user user.pno = task.user_id service.service_id = task.service_id "INNER service; } query works perfectly without: WHERE task.user_id = '$ userpno' my Also try this method: WHERE task.user_id = $ userpno but it does not work. Error: Warning: mysqli_fetch_array () parameter 1 is expected to be mysqli_result, given in Boolean C: \ wamp \ www \ admin \ classes \ Task Php on line 22 Please tell me where I say where is it. Try: $ this-> query = "SELECT Task.employee_id, task.user_id, task.service_id, service.name AS s...
For a specific set of tasks, I need to log in to the incoming request inputstream as well as outgoing response. is. I am using an ActionFilterAttribute for this and overriding the OnActionExecuted and OnResultExecuted methods. So I'm starting with this idea ... Public category ActionLoggerAttribute: ActionFilterArrbit {Public Override Zero On-Offed Execution (ActionActioned Contact Filter Filter) {base.OnActionAxecuted (FilterContext); HttpRequestBase request = filterContext.HttpContext.Request; // TODO: Log the request. InputStream} Public Override Zero OnResultExecuted (ResultExecutedContext FilterContext) {base.OnResultExecuted (filterContext); HTTPRPSPointBase Response = FilterContacts Hpptex response; // TODO: Log on Response.OutputStream}} Ideally I'll hook it up with enterprise library logging because I'm already using it for error logging. Am I reaching the input and output stream at the right time? Can I easily use the Enterprise Library to log i...
I am trying to create Java web framework (and learning), and on the basis of 'Code Generator In the process of making the material view of the database in the process of development, I stumbled into a difficulty, which I do not know how to solve it. First of all, I want the following index.jsp : & lt; Body & gt; Use all pages to be created. & Lt;% @ include file = "header.jsp"% & gt; & Lt; Hours / & gt; & Lt;% @ included file = "body.jsp"%> & Lt; Hours / & gt; & Lt;% @ include file = "footer.jsp"% & gt; & Lt; / Body & gt; And, in body.jsp , I should have it like this: & lt; Jsp: include page = "$ {Application_modul}"%> Where application_modul is an attribute defined in its controller: request.setAttribute ("application_modul", "USER_ACCOUNT \\ ' View_user_account.jsp "); This file can be found properly, but the processed JSP does ...
Comments
Post a Comment