Solved

CSS specific image property

Posted on 2013-05-21
6
273 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

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!

Question has a verified solution.

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

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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 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…

751 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