Solved

CSS specific image property

Posted on 2013-05-21
6
275 Views
Last Modified: 2013-05-22
Hi there,

In the image attached, you see (above) the dreamweaver design screen and (below) the way the image, in the browser, (unfortunately) goes over the inferior limit provided "for her".

Question:  which CSS image property should I remove/alter/include in the code below, so that the image will always appear "inside" its proper place?  (In other words, the proper place limit will be - say - 10 pixels below the end of the image?)

Thanks,
fskilnik

----- code (CSS properties) ---

#outside_question img {
      padding-top: 15px;
      padding-right: 5px;
      padding-bottom: 10px;
      padding-left: 25px;
      display: block;
      float: right;
      margin-bottom: 10px;
}
21Mai13-1.jpg
0
Comment
Question by:fskilnik
[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
  • 3
  • 3
6 Comments
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39187629
You really should just post your code.  I have highlighted the vertical items you would want to play with.

   padding-top: 15px;
      padding-right: 5px;
      padding-bottom: 10px;
      padding-left: 25px;
      display: block;
      float: right;
      margin-bottom: 10px;
0
 

Author Comment

by:fskilnik
ID: 39187807
Dear padas,

Thank you for your reply, but changing these items does not help (otherwise the problem would be really easy)...

I believe it´s something related to the overflow (or clear) property (ies) but, even trying some inclusions of them, I could not change the situation presented at the image provided!

Perhaps now you have another suggestion... I hope you do!

Regards,
fskilnik.
0
 

Author Comment

by:fskilnik
ID: 39188120
Ops... I´ve tried the "padding-bottom" of the CSS property of the "previous node" (in terms of "hierarchy") and it worked as expected.

(Sorry for not being able to use the proper vocabulary, but I am not a professional programmer, as you certainly realized from the question itself.)

Thank you,
fskilnik.
0
Industry Leaders: 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!

 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39188252
Like I said, post your code.  Even better make it easy for us, just upload your page to your site and give us the link to look at. Too hard to tell from your image.
0
 

Author Comment

by:fskilnik
ID: 39188311
I see. You are right, and I will remember that next time. Thanks!
0
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39188333
Great
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Suggested Courses

622 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