Solved

css style doubt

Posted on 2013-11-26
1
404 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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
allow link tag to be submit like form 15 60
Need advice on an App idea......but who do I ask? 2 69
Can't find an open element in HTML 5 53
SSL unsecure page mystery 17 46
This article discusses four methods for overlaying images in a container on a web page
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

734 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