Forum Moderators: not2easy

Message Too Old, No Replies

CSS Monitor Resolution Problem?

         

davis

6:21 am on Jul 8, 2003 (gmt 0)

10+ Year Member



Okay, heres one for you CSS gurus..

I built a site today using 1024x768 (monitor res)... I had a table in the middle, and text inside of another table inside of it. To give a gap to the right of the table, i went padding-right: 10px,

Here's the interesting part.
When viewing the site at 1024x768, or smaller, the padding works.

BUT!

When I go higher then that, the padding is non-existant. Is this a bug in CSS? or maybe its just me?

Any insight would be great, thankyou :)

BlobFisk

9:01 am on Jul 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey davis,


I built a site today using 1024x768 (monitor res)...

Is this the resolution of your monitor, or the size of the working area of the page you were designing?


To give a gap to the right of the table, i went padding-right: 10px,

Which table did you add the padding-right to? The outer or the inner?

Why are you nesting the tables? Do you think that this is necessary? Why not use <div>'s instead?

davis

6:31 pm on Jul 8, 2003 (gmt 0)

10+ Year Member



1024 is the resolution of my monitor. its build for the measly 800x600 user ;)

I added the padding to the inner table, the outer table is relativly untouched.

I didnt use divs instead of tables, because they give me a headach :/ But in the future I will.

Thanks,
Dave