/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] firefox ditching div tag boundaries

If I ever learned a lesson from webdesign…it would be to always use firefox before you use IE. I had a personal website built up very well on my own computer, until I saw it totally butchered in my friend’s firefox browser. So downloading firefox and setting to work at something I knew next to nothing, I was able to pull almost the entire design off identically in both browsers in a few days (although I sadly admit I use free geocities for my site, so IE gets butchered now because the extra ad coding somehow cancels the doctype that allows the page to read correctly otherwise). But here’s the problem.

I have a central section of my webpage that is defined as a single, large div, and inside are three separate divs in a traditional layout. Each side (col-A and col-C) are set to transparent because the background from the large div carries over to the space where they do not extend, and it makes for a good effect. However, even once I have closed the large div and all seems well, Firefox want to put the footer content -that is supposed to be beneath it all- shoved up beneath column c, and things get ugly from there on out. Obviously the whole “height: 100%” bit isn’t going to work since I would need a specified amount around the parent, by why the…why in the world would it not automatically adjust because the content of my to-be many pages relies upon flexibility? Not only that, but only by setting all the elements below to “float: left” gets them to even appear underneath, and even then I can’t get a margin at the bottom of the page, and it’s all very messy (and shaved-looking).

The code is quite messy as yet, in the sense that I’ve whittled out all the junk and simplified it, but it still loses its sense. The question is – how do I set the height of the large div (or smaller ones? you guys know better than I do) so that the div will encompose all the material inside and allow my footer material to display with ease beneath and outside the div tag where it belongs?

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@ray326Jul 28.2006 — Is the footer div clear:both?
Copy linkTweet thisAlerts:
@mcfrostyauthorJul 28.2006 — oh, wow, yeah that would make sense. I just placed an extra div with that setting before the footer and it all works now. thanks!
×

Success!

Help @mcfrosty 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 5.20,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...