/    Sign up×
Community /Pin to ProfileBookmark

Padding in my DIV pushes content out

Hi,

Im trying to get back into coding again been a while so bare with me.

My padding is not going in but pushing out can anyone help?
I need 20px inside the div.

#footer {
padding: 20px;
width: 950px;
height: 110px;
bottom: 0;
position: absolute;
background-color:#FFF;
}

Many thanks

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@skywalker2208Jan 27.2010 — Can you post your html code?
Copy linkTweet thisAlerts:
@joeAtCMDSJan 27.2010 — Do you have any divs inside your #footer? If they are set to a width wider than what is available content will break out.
Copy linkTweet thisAlerts:
@RaleyJan 27.2010 — Can you attach/link to the CSS? Other stuff might be relevant.
×

Success!

Help @mattbarb spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...