Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9061571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:31:09+00:00 2026-06-16T15:31:09+00:00

I have some requirement that needed to convert the given inline css element to

  • 0

I have some requirement that needed to convert the given inline css element to external css using just my-control class, jsfiddle,

    <div class="control my-control">
        <div style="float: left;">
            <div style="padding-left: 3px; padding-top: 3px;">
                <div style="float: left;">Title:</div>
                <div style="float: left; padding-left: 12px"></div>
                <div style="clear: both"></div>
            </div>
            <div style="padding-left: 3px; padding-top: 3px;">
                <div style="float: left;">Lyrics:    </div>
                <div style="float: left; padding-left: 3px">
                    <div style="overflow: hidden; width: 180px; white-space: nowrap;" class="lyric-content"></div>
                </div>
                <div style="clear: both"></div>
            </div>
        </div>
        <div style="float: right; border-left: 1px solid black;">
            <img src="Content/Images/play.png" style="height: 50px;"></div>
    </div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T15:31:10+00:00Added an answer on June 16, 2026 at 3:31 pm

    http://jsfiddle.net/pgfUT/4/

    .control.my-control {
        overflow: hidden;
        display: block;
        border: 1px solid black;
        margin: 15px;
        width: 300px;    
    }
    
    .control.my-control > div {
        float: left;    
    }
    
    .control.my-control > div + div {
        float: right;
        border-left: 1px solid black;    
    }
    
    .control.my-control > div + div > img {
        height: 50px;
    }
    
    .control.my-control > div > div {
        padding-left: 3px;
        padding-top: 3px;
    }
    
    .control.my-control > div > div > div {
        float: left;
    }
    
    .control.my-control > div > div > div:last-child {
        float: none;
        clear: both;
    }
    
    .control.my-control > div > div > div + div {
        padding-left: 12px;
    }
    
    .control.my-control > div > div + div > div + div {
        padding-left: 3px;
    }
    
    .control.my-control > div > div > div > div.lyric-content {
        overflow: hidden;
        width: 180px;
        white-space: nowrap;
    }
    

    ​

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a business requirement that some users be automatically logged out of our
i have one database, and it contains some columns. My requirement is that how
I'm setting up a Magento site and have some design requirements that we can't
I have some webserver resources protected with Form based Authentication. The requirement is to
I have requirement where some times I would like to load children as well
I have this problem containing some inequations and requirement to minimize a value. After
I have a requirement to do some imports from an Excel spread sheet and
I have the following requirement: Based on some user input, I need to generate
My requirement is to work on some interface .h files. Right now I have
I'm doing some custom printing using a PrintDocument in my application. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.