Pixels vs Percentages
July 14, 2011 No CommentsFor beginning developers they always seem to question whether it is better to use pixels or percentages when defining widths and heights. There are certain times where it is right to use pixels and right to use percentages but when? If you have a flexible layout and you think the users might be resizing their screen then go ahead and use percentages. You see percentages will resize depending on the users screen resolution. Pixels are more of an absolute. They do not change no matter how much the user zooms in or out. I personally always use pixels and just for simplicity and speed purposes. If the user cannot read something they could easily zoom in on the text without messing up the actual layout. Though I do not usually develop liquid websites but I could see percentages playing a big part in the building process. I just do not want to wrestle with my layout to accommodate the ever expanding
By – Alex Miller
Picture Perfect, Programmers Corner, Web Pointers
Sorry, the comment form is closed at this time.