Please reduce the height of the background image for apDiv6 from 722px to 712px and I believe that will be good.
Normally, it does not matter if the background image is a little larger than its box. The excess image will be cut off.
In this case, apDiv6 is surrounded by a double border, so the size of the background image must fit properly or it will be visible between the lines of the border. That is a small disadvantage of using a double border.
Please post a screen shot after you have trimmed 10px from the height of the background image for #apDiv6
We fixed the alignment of the images at the bottom of the apDivs today.
BUT, we did a lot of unnecessary work today because your request was badly worded.
This is the code you need add to your stylesheet to move your text down inside #apDiv1:
#apDiv1 p:first-child {
margin-top:60px; /* set the margin-top as desired */
}
This code expects the first line inside of #apDiv1 to be a paragraph and applies a margin-top of your choice to that first paragraph.
Very easy.
In the future, I recommend that you tell us what you want to do and not how to do it. Saying that you wanted to add height to the apDivs was wrong and wasted all day. Saying that you wanted to move the text down but not center it was very good and very easy to do.
Please add the above code anywhere on your stylesheet below your paragraph styles.
Set the margin-top to suit yourself.
Please post a screen shot showing us how it looks.
The reason for this change is to âclearâ the floating divs on the page. This add is necessary for the page to behave properly. It is not optional. It should have been part of the original code.
hello!
first of all Sorry for the inconvenience on my explanations that was not accurate i did not yet do what you want me to do but i want to ask if i want to do more long divs on the expense of the div that up of the three divs is the same like you explain to me on a box model is it correct ?
later i will send what you told me
thanks galia
[quote=ânono29, post:69, topic:99957â]
if i want to do more long divs on the expense of the div that up of the three divs is the same like you explain to me on a box model is it correct ?
[/quote]@ronpat is not online at the moment.
Please show that you are at least trying to make the effort to learn something here. Instead of asking and waiting for an exact answer, make a backup copy of your file and then try it for yourself, to see if youâve understood what he said. If it works, thatâs great - youâve learned something. If it doesnât work, then undo your changes, re-read the instructions and try again until it does work. You will only learn by doing. While we are happy to offer help, there is little point in us continually providing you with the required code if you have no understanding of how it works.
i ask you i think to do the upperdiv more short and the three divs more long is it like you explaine to me about the box model
and i forgot to send you the code here it is
and i did overflow hidden in the container
(1) I am not sure what you asking about the box model. The box model applies to almost all HTML boxes. The box model describes how the content portion (the declared width and/or height), padding, border, and margins relate to one another. Those two articles that I linked to should help. If you want more information, try searching for âCSS box modelâ or âHTML box modelâ and read more.
By default, the width (or height) occupied by a block is the sum of the declared width (or height), padding, and border. The box-sizing property can change that behavior.
(2) I do not have any HTML code showing a div with an id of âupperâ. It looks like I need a new copy of your code. Please post all of the code for your page here. Please include a copy of the background image âcanstockphoto1781675600_comp.jpgâ.
the upper div is up of the three (apdiv6,7,1)also the name of the div is âupperâ
2.I asked you about the box model because I wanted to know if this is the same way of doing what I want to do now with the upper div and what you explain to me with the three divs after.
Please post all of code for your page between âcodeâ tags in your next message. The jsfiddle has errors and I do not wish to reassemble your code from jsfiddle and guess where the errors might be.
Please post the contents of âstyle3.cssâ in a message; that CSS file is missing.
And include a copy of âcanstockphoto178167560_comp.jpgâ which goes in #header.
You are welcome for the help with the text. But it is most important that you understand how it works so you can do it for yourself the next time. Please ask questions.