Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Inline CSS working but not style.css

Featured Replies

Hi all,

 

Bit of a pickle on this one. When trying to style a class I have inserted I can only get the styles to show if I use inline CSS, but when I put them in style.css they do not show up and I can't work out why. I have used Firebug to try and resolve this, but have been unsuccessful. Any advice would be much appreciated.

 

style.css

.chapter-box {
  background: #f8f8f8 !important;
  background-repeat: no-repeat;
  background-position: 90% 89%;
  box-shadow: 0 0 3px 1px #d8d8d8 inset;
  padding: 90px 24px 90px;
  position: relative;
}
			<div id="content" class="clearfix row col-md-8 col-md-offset-3">
			
				<div id="main" class="col-sm-8 clearfix" role="main">

										
					<article id="post-524" class="clearfix post-524 post type-post status-draft format-standard hentry category-uncategorized" role="article" itemscope itemtype="http://schema.org/BlogPosting">
						
						<header>
						
														
							<div class="page-header"><h1 class="single-title" itemprop="headline">Wound Care: The Definitive Guide</h1></div>
							
							<!-- <p class="meta">Posted <time datetime="2016-07-20" pubdate>July 20th, 2016</time> by <a href="http://londonwoundclinic.co.uk/author/yossi/" title="Posts by Yossi" rel="author">Yossi</a> <span class="amp">&</span> filed under <a href="http://londonwoundclinic.co.uk/category/uncategorized/" rel="category tag">Uncategorized</a>.</p> -->
						
						</header> <!-- end article header -->
					
						<section class="post_content clearfix" itemprop="articleBody">
							<p class="lead">When the skin or other body tissue is damaged as a result of trauma such as a cut or a blow, or as a result of disease, a wound can occur. In healthy and undamaged skin, the surface layer (epidermis) and the deeper layer (dermis) work together to form a barrier that protects the body from the outside world. However when an individual gets hurt and a wound occurs, the protective barrier is disrupted. As a result, things from the outside world, such as dirt, dust and germs can get into the skin, and deeper tissues and this can cause an infection.</p>
<p>Wounds can be painful, debilitating and can lead to more serious health issues especially if the wound gets infected or reoccurs. Therefore it is important to try and prevent wounds from occurring, but if they do happen, it is essential that wounds are cared for properly to allow the body’s natural healing process to kick in. So, if you want to stay healthy, then learning more is vital.</p>
<div class="chapter-box">
<h2>Chapter 1: Understand What a Wound Is</h2>
<p>Understanding what a wound is won’t prevent them from occurring. But understanding wounds can be indispensible because knowing what to do and how to properly manage wounds can prevent them from becoming complex or chronic.</p>
<ul>
	<li><a href="http://londonwoundclinic.co.uk/wounds-an-overview/" target="_blank">Wounds: An Overview</a></li>
	<li><a href="http://www.merckmanuals.com/home/injuries-and-poisoning/first-aid/wounds" target="_blank">More on Wound Overview</a></li>
	<li><a href="http://www.dekalbmedical.org/our-services/wound-care/chronic-wounds/types" target="_blank">Common Types of Chronic Wounds</a></li>
	<li><a href="http://www.healthline.com/health/open-wound#Types2" target="_blank">Open Wound</a></li>
	<li><a href="http://www.woundsresearch.com/content/wounds-and-ulcers-back-old-nomenclature" target="_blank">Wounds and Ulcers</a></li>
	<li><a href="http://www.livestrong.com/article/101274-five-types-wounds/" target="_blank">Five Types of Wounds</a></li>
	<li><a href="http://www.goodshepherdrehab.org/services/complex-medical/complex-wound-care/what-complex-wound" target="_blank">What is a Complex Wound?</a></li>
	<li><a href="http://stjosephhospital.chsli.org/what-chronic-wound" target="_blank">What is a Chronic Wound?</a></li>
</ul>
</div>

  • 2 weeks later...

Could you please check file path for a style.css or if you use dcn please turn off dcn. And check it's again.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.