I didn't read everything that people have said, so i appoligize if i'm
repeating others.
I always use percents !!! I greatly prefer the way text wraps and uses
all the available window space, no matter how large the screen.
But, in order to make things look properly in small windows or table
cells i use the <nobr> tag. Anything inside the <nobr> </nobr> tags will
not wrap (it stands for "NO BReak").
For example if i have a table cell containing "2000-2001 Catalog". I
don't mind if the word catalog wraps underneath the dates, but i don't
want the dates to wrap with 2000- on one line and 2001 on the next line.
So i'll enter this as "<nobr>2000-2001</nobr> Catalog"
This is a simple example but shows how you can get items to wrap down to
a certain point, then stop wrapping. If they resize smaller then the
wrapping point their window will automatically get a scroll bar and must
scroll to see everything.
You only need to place the <nobr> tags around the longest item in a given
table column and the entire column will be kept open by that amount.
Here's an example page of mine.
http://www.nccelectronics.com/products/murrelektronik/powersupplies.html
See how on a large screen the table spreads out nicely, but as you make
it smaller it eventually stops wrapping and you get scroll bars. Items
like "3x360-550VAC" and "PDF (41KB)" are prevented from wrapping.
> Hi,
> I had posted this question in another thread but did not get any
feedback.
H> ence i'm repeating it.
> Is it better to use pixels or percent in a CSS file ?
> I have used % in all my CSS files instead of pixels and still had to
play
a> round a lot to make the page look good in both
r> esolutions. The problem is if i maximize the page and then click the
r> estore down button (next to the minimize button on the sytem menu),
the
r> estore down shrinks the page and all the fields overlap each other
b> ecause 10% is very close to 15 or 20% on a page with a very small area.
> Compared to this, i think it is better to use pixels(say my default is
1> 024 * 768) because all it does
i> s add horizontal or vertical scroll bars
a> ) when you click the restore down button in the default resolution
(> ex:1024 * 768)
b> ) reduce the size of the browser window by dragging the edges
c> ) when u switch to a lower resolution(ex:800 * 600).
I> t doesn't cause fields to overlap and look bad.
> I would appreciate any feedback.
> Regards,
S> ara