/    Sign up×
Community /Pin to ProfileBookmark

Why is the footer acting like this ?

[URL=”http://oxtis.com/”]http://oxtis.com/[/URL]

at the bottom the footer is not extending to reach the sides of the browser.
i set the width to auto.
i dont know why it is acting this way.
please help me.

thanks ?

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@aj_nscApr 11.2012 — Because it's parent (#container) is only 1000px wide...A block-level child with width: auto (or no width declared at all) will expand to be the width of it's parent.
Copy linkTweet thisAlerts:
@OxtisauthorApr 11.2012 — but i didnt put it inside the container div tho.

i closed the container div then make another div called footer.

in this case the container is still the footer's parent ?

and how can i make it extend to fit the browser ?
Copy linkTweet thisAlerts:
@s5nelsonApr 12.2012 — You have an extra </

[code=html]
<div id="content"><h3>Welcome to my website.
website is currently under construction.</</div> <!--end content-->
[/code]
Copy linkTweet thisAlerts:
@OxtisauthorApr 12.2012 — thanks dude.

you are my hero.
×

Success!

Help @Oxtis 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.17,
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,
)...