Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13
  1. #1
    Regular Coder
    Join Date
    Mar 2007
    Posts
    357
    Thanks
    46
    Thanked 22 Times in 21 Posts

    Html hangs over in IE but not Firefox

    If you look here:

    http://www.neetlife.co.uk/index.php?id=forums
    http://www.neetlife.co.uk/index.php?id=register

    The page looks fine in firefox, but not in IE. Whats causing it?

  • #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    first problem with the top articles, here try this

    Code:
    .newsArticle
    	{
    		background-color: #333;
    		border: 1px solid #000;
    		padding: 0px;/*changed*/
    		margin-top: 1px;
    		font-size: 11px;
    		position: relative;
    		text-align: left;
    	}
    second, do you know the name of the tables that are under the div article?

    edit: ok they are hard coded in nevermind!!
    Last edited by jcdevelopment; 02-13-2008 at 08:11 PM.

  • Users who have thanked jcdevelopment for this post:

    flynch01 (02-13-2008)

  • #3
    Regular Coder
    Join Date
    Mar 2007
    Posts
    357
    Thanks
    46
    Thanked 22 Times in 21 Posts
    Which ones? The ones the forum are made from?

  • #4
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    yeah, but they have no classes assigned to them so, i cant figure out why. I have messed with the main container and nothing seems to be working, i will keep looking though!!

  • #5
    Regular Coder
    Join Date
    Mar 2007
    Posts
    357
    Thanks
    46
    Thanked 22 Times in 21 Posts
    I didn't assign any classes to the tables, I didn't think I needed to really. The only things I did for tables is cellpadding 0 and cellspacing 0, and maybe added a border. but thats it. Thanks for helping though =D
    Last edited by flynch01; 02-13-2008 at 08:27 PM.

  • #6
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    ok, this looks to fix it but look to see if it does the same, because it causes another problem maybe!!

    Code:
    .tableContent  table   {
    width:auto;
    }

  • Users who have thanked jcdevelopment for this post:

    flynch01 (02-13-2008)

  • #7
    Regular Coder
    Join Date
    Mar 2007
    Posts
    357
    Thanks
    46
    Thanked 22 Times in 21 Posts
    Oh it fixed it. Wow thanks. Whats the prob it can cause?

    Also, i've never seen that css syntax before. What is it? =/ I thought it was like table.tableContent

  • #8
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    well, your way is probably better to use instead of my syntax.

    The problem was that when i did it the tablecontainer become a tad bit smaller, but thats fine if it works on yours, i was using cssvista, and sometimes it lies!!

  • #9
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Ah, no, you see...
    table.tableContent refers to any <table> element with a class of tableContent.
    .tableContent refers to ANYTHING with a class of tableContent. It's basically *.tablecontent.

  • #10
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    ahhh, basics of CSS. Over my years of developing i always like to learn new things. I dont claim to know everything and i like to learn where i can improve. I did not even know that. Thank you Cyan!!

  • #11
    Regular Coder
    Join Date
    Mar 2007
    Posts
    357
    Thanks
    46
    Thanked 22 Times in 21 Posts
    So:

    .tableContent table

    just refers to any table within an element with .tableContent as the class. Right?

  • #12
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by flynch01 View Post
    So:

    .tableContent table

    just refers to any table within an element with .tableContent as the class. Right?
    Right!
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #13
    Regular Coder
    Join Date
    Mar 2007
    Posts
    357
    Thanks
    46
    Thanked 22 Times in 21 Posts
    Ah nice one thanks, learn something new every day I wonder why that wasn't in the tutorials. Ah well.

    Thanks for help everyone.


  •  

    Posting Permissions

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