Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member fullmanator's Avatar
    Join Date
    Sep 2003
    Location
    Fort Lauderdale, FL
    Posts
    15
    Member #
    3091
    Ok, I have a problem with my CSS floating/wrapping.

    I have a main div container set with an absolute width in pixels.
    Inside this container are several other containers that also have absolute widths in pixels. They are set to float left.

    In Internet Explorer, they look perfect and do exactly what they need to do.

    However, in Firefox and other Mozilla based browsers, they are all whacked.

    My CSS and HTML code are 100% validated.

    Here is the link: http://199.239.239.240/stellar.php?a...showcategories

    TIA for any help you can give me, and feel free to give me input on the rest of the site as it goes up!

    Forgive me if this post seems a bit incoherent, I haven't slept since 5am Thursday. :disappointed:

  2.  

  3. #2
    Member
    Join Date
    Sep 2004
    Posts
    68
    Member #
    7417
    you have a table with id="gridFooter". it is inside a div that has no class, id or style. all of that is inside another table - <table width="515"> This last table needs to be '<table width="515" style="clear:both;">'

    that fixes your FireFox issue. i'd also suggest ALWAYS using 'cellpadding="0" cellspacing="0" border="0"' on TABLE tags. If you do it now u may get layout bugs so i don't know if i'd do it on this project but in the future do this (or do it in your style sheet) - all browsers have default spacing/padding they put around/inside tables.

    If this "clear:both" fix causes problems in IE you'll have to give the table an ID, move the fix to the style sheet and start the declaration as "html>body #idName" so it won't apply to IE. That's kinda backwords though because you should try to code for standards compliance first, then hack for IE. But in this case that requires more code than what I supplied above.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:40 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com