Solved

Formatting Div in a jQuery UI Accordian

Posted on 2016-07-22
2
67 Views
Last Modified: 2016-07-22
I have the following code meant for mobile devices: codepen

What's the best way to get the contents of the accordion drop-down to display like:
Open: 17Jul16
Type:  Critical
Responsible: M. Williamson
Description: ...

with right-aligning the first column (the headers), and left-aligning the second column (the values) so everything looks pretty?

Any help is appreciated! I'm relatively new to CSS.

Thanks,

Michael
0
Comment
Question by:Michael Vasilevsky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 41725536
add to your css
.header{
  float:left;
  margin-right:10px;
}
.header::after{
  content:":"
}

Open in new window

http://codepen.io/anon/pen/dXZoxo
0
 
LVL 10

Author Comment

by:Michael Vasilevsky
ID: 41725538
Very nice - thanks!
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can I use Javascript to insure proper entry of URL? 6 26
Jquery driving me nuts... 14 28
Jquery 7 32
arrays and buttons with user input 2 34
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question