Solved

css style doubt

Posted on 2013-11-26
1
375 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 42

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now