www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > CSS

    CSS Discussion and technical support relating to Cascading Style Sheets.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 07-27-2006, 05:21 PM
    mcfrosty mcfrosty is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    resolved [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?
    Reply With Quote
      #2  
    Old 07-27-2006, 11:11 PM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    Is the footer div clear:both?
    __________________
    Help Save Ana

    Why use Web Standards: Zeldman
    How (new): Castro
    How (experienced): Cederholm
    If you can only get one book and you're already HTML savvy then this is it:
    stylin' with CSS: A Designer's Guide
    Charles Wyke-Smith
    New Riders


    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
    Reply With Quote
      #3  
    Old 07-28-2006, 12:13 PM
    mcfrosty mcfrosty is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    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!
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 04:01 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.