[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

css style doubt

Posted on 2013-11-26
1
Medium Priority
?
458 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 45

Accepted Solution

by:
Chris Stanyon earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Suggested Courses

830 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