Click to See Complete Forum and Search --> : bottom half of image is missing... and TD backgrounds aren't appearing!


moistrous
01-21-2010, 05:11 PM
Hi, how's everyone doing?

I'm new here. I'm building a website and so far I've come across 2 problems i can't solve on my own...

I'm using tables for the design, which is bad but I don't know how to do it a better way... if someone could shed some light that would be great, but that's not the purpose of this thread.

My first problem happens only in Internet Explorer... The bottom half of the ballon/new years image on the right of the screen is cut off for some reason.

And the second problem is, beneath this image i have a nested table and the CSS background properties for each td are not appearing at all... I can't figure out what I'm doing wrong :(

The page is viewable at http://www.madhits.net/dev/

Please help me if you can!

claytonseo
01-22-2010, 05:35 AM
learn how to use divs, then you wont sit with these problems

criterion9
01-22-2010, 10:21 AM
You have some interesting markup going on there....looks like some css, some html attributes. I'd try to stick to one method or the other because you have some parts that are not valid that might cause problems that will be hard to track down later.
Example:

cellspacing="0px" cellpadding="0px"


In the same row as your "cut-off" image you are manually setting a height using css (which behaves differently than html attributes btw):

<td style="height: 173px" width="202px">

Try either removing the "height:173px" part or changing the tag to use html attributes instead.


learn how to use divs, then you wont sit with these problems

While I agree that divs/css are better for layout you should pick one and stick with it instead of using some tables and html attributes and some div/css stuff. I think you'd have better luck and more reliable results that way. :)

moistrous
01-22-2010, 11:27 AM
Awesome, thanks for your help guys. I didn't notice i had set the height in there. :embarassed: I'll try using CSS and DIV tags.

By the way, what is wrong with this bit below? I've always done it this way:
cellspacing="0px" cellpadding="0px"

criterion9
01-22-2010, 02:16 PM
It shouldn't have the "px" part:

cellspacing="0" cellpadding="0"