Div with "width: auto;" not auto-expanding & "display: inline;" not working on its own. Why is this happening?

Hi everyone,

Can anyone tell me why my div is not auto expanding to fit its contents, even though I set "width: auto;" ?
Also, why does my "display: inline;" not work?

You can see what I mean here:  http://www.jasonwangart2.blogspot.ca/

Question 1: I set the div-with-thick-red-dashed-border to "width: auto;", but the inner divs are wrapping for some reason, and the div-with-thick-red-dashed-border is not expanding horizontally to contain more divs.

Horizontal alignment of few div's inside centered container

Hi, I need some help and I hope the solution is simple for professionals.
The task is distribution of some layers inside the container.
The trouble is that the border between first right .pic_text is bigger than between first left .pic_text. The container .center is centered, but its content doesn't have equal margins.
I tried to find the solution, but couldn't find it ( for my case.
The matter is that every .pic_text has to have picture and text and the design has to be adaptive.

Here is my code CSS3:

<style>
  .center {
	width: 95%; 
	height: auto;
	padding: 10px; 

Footer overlap

I am using Vantage theme for my wordpress site.

I see the content getting overlapped by footer. I tried to change the css file.
But the changes do not reflect .

Please Help!

Remove padding from main page?

Here is the link to my website, I have not customized the photos yet as I wanted to get the layout right before I screwed anything else up.

I am wanting the footer to be higher up, preferably where I do not have to scroll on the main page.

Helllpppppp.

www.rylansrichesphotography.com

Animated shrinking header image issue (codepen)

I have a codepen of an animated header here:

http://codepen.io/beelzebomb/pen/qELgdO"]http://codepen.io/beelzebomb/pen/qELgdO

The idea is that as you scroll content, the header shrinks out of the way - great for tablets.

But as you can see, the image shrinks to it's own centre, whereas the ideal situation would be for it to shrink to top left to keep the whole header in some sort of perspective - any ideas?

Syndicate content