Solved

override  class property

Posted on 2014-02-19
1
228 Views
Last Modified: 2014-02-19
Dear all,
I have this :
.n_splitter {
	width         : 100%;
	border-top    : 1px solid #E6E6E6;
	margin-bottom : 19px;
}
.n_splitter span {
	width      : 50px;
	height     : 3px;
	float      : right;
	margin-top : -2px;
}
<div class="n_splitter"><span class="n_bgcolor"></span></div>

Open in new window


What the class AR should be to override  .n_splitter span {float:right}?
<div class="n_splitter AR"><span class="n_bgcolor"></span></div>

thanks
0
Comment
Question by:ethar1
1 Comment
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39872205
.n_splitter.AR span{float:none}
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
convert Systemjs to Webpack 3 72
Can't get cursor to change 3 15
White space in figure / img 4 18
Text color in a select 11 21
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

685 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