View Full Version : Html hangs over in IE but not Firefox

02-13-2008, 08:44 PM
If you look here:


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

02-13-2008, 09:07 PM
first problem with the top articles, here try this

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!!

02-13-2008, 09:10 PM
Which ones? The ones the forum are made from?

02-13-2008, 09:12 PM
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!!

02-13-2008, 09:20 PM
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

02-13-2008, 09:26 PM
ok, this looks to fix it but look to see if it does the same, because it causes another problem maybe!!

.tableContent table {

02-13-2008, 09:29 PM
Oh it fixed it. Wow thanks. Whats the prob it can cause? :D

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

02-13-2008, 09:34 PM
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!!

02-13-2008, 10:55 PM
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.

02-13-2008, 11:09 PM
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!!

02-14-2008, 04:50 PM

.tableContent table

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

02-14-2008, 04:55 PM

.tableContent table

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

02-14-2008, 08:58 PM
Ah nice one thanks, learn something new every day :D I wonder why that wasn't in the tutorials. Ah well.

Thanks for help everyone.