Pixels vs %

i am coming across the question of pixel vs. % and i really did’nt see the difference untill the end of one of my projects. if i have my site based on pixels , will it alter my site on different resolutions. And if I have my site based on %, will it fill my page on the amount I post.
I have been speaking to several of commrads in the forum but If someone can give my a good explaination on the subject. it will increases my ability of knowing what to do and not to do in future project…

Pixels give a fixed size, on any resolution your content will be that fixed sized.

Percents give your object a dynamic size based on percentage of the window and will resize according to the browser window size.

yeah if you have a table that is 100% it will fill 100% of the browser screen. 50% it will fill 50% of the browser screen and so on down the line.

if you use pixels, say your table is 240x500px it will always be 240x500px, it wont scale.

i like pixels cause i know it will look the same everywhere. where as percents your layout could get altered, so you have to be carful about some things like that.

It really depends on the site.

You can do stuff like this http://www.virtualenterprise.org when you use percents.

You can do stuff like this http://www.ithinknew.com when you use pixels.

It is a matter of the site and how it is layed out.

i have browsed my project on differenct resolutions and it was always differennt. i just want my file to look the same in different browsers.

In that case, use pixel widths then :slight_smile: Pixel widths ensure that the width of your tables stays the same regardless of what resolution your users browse the forums on.

Cheers!
Kirupa :blush:

kirupa, then y is it when i took my project home and saw it on a different resolution it was all soup. My page was based on pixels…?

it sometimes does that. it might change a bit but it shouldnt be that big of a change…esp w/px…