Solved

css style doubt

Posted on 2013-11-26
1
399 Views
Last Modified: 2013-11-26
I thank to inform me the following. I have an element called "big thumb-img" in css code. In html code only appears in "big-thumb" to call the style. If not is my mistake, i like to understand why so.

CSS
-----
}
.thumb-big img {
      border-radius: 3px;
}

HTML
--------
<a href="blog.html" class="thumb-big"><img src="images/asset/post32.jpg" alt="#"></a>
0
Comment
Question by:rflorencio
1 Comment
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 39677269
This CSS rule:

.thumb-big img

will style an IMG tag inside of an element with a class of .thumb-big (which matches your HTML).

Take note of the space between big and img - they're 2 separate elements.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

856 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