SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Internet Business Optimizer KCgame's Avatar
    Join Date
    Mar 2005
    Location
    Singapore
    Posts
    935
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Different tables position (horizontal) in Firefox

    Hi all,

    I have two table displaying side by side each other via floats. The problem is these two tables did not show up on the same line in FF (pls refer to the screenshot below).
    However, it works in IE.

    The 'Relic' and 'Summon' table is not on the same horizon...
    The CSS codes:
    Code:
    #summontb{
    		width:300px;
    		clear:both;
    		float:left;						
    		border-collapse:collapse;
    		border: 1px solid blue	
    	}
    	#relictb{
    		width:300px;		
    		margin-right:20px;								
    		border-collapse:collapse;		
    		border: 1px solid blue	
    	}
    Any help / comment will be appreciated. Thank you.

  2. #2
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    clear:both; float:left; in the same id ? , i think we need a bit more info
    with html, full page to help you

  3. #3
    Internet Business Optimizer KCgame's Avatar
    Join Date
    Mar 2005
    Location
    Singapore
    Posts
    935
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi all4nerds,

    I go through the codes once again and spotted the extra <p> tag that's causing the problem (solved now )

    Thanks for your help thou..by the way, is it not practical to have Clear:both and Float:left in the same id?? I used it because the above tables are floats so i clear them first then apply another set of floats for the 'relic' and 'summon' tables..Please correct me if my concept or method of doing are wrong

    Thank you.

  4. #4
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by KCgame
    Hi all4nerds,

    Thanks for your help thou..by the way, is it not practical to have Clear:both and Float:left in the same id?? I used it because the above tables are floats so i clear them first then apply another set of floats for the 'relic' and 'summon' tables..Please correct me if my concept or method of doing are wrong

    Thank you.
    Hello

    Sorry, to little to go on, is it working in one ID ?

  5. #5
    Internet Business Optimizer KCgame's Avatar
    Join Date
    Mar 2005
    Location
    Singapore
    Posts
    935
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by all4nerds
    Hello

    Sorry, to little to go on, is it working in one ID ?
    Yes, it is


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •