NameSilo

What is the better way to design template?

Spaceship Spaceship
Watch

syariscrewz

New Member
Impact
1
hello

i has question here . what is the better way to design template to all resolution and browser . i like to make my template with percentage example like this <table width="100%". i do that becouse my website will resize with different monitor resolution. and some people like to fix the width like this <table width = "1200", can anybody tell me where is better way ?

p/s sorry my english is not pretty well
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
What you've said is right - just use a width of "100%" or "85%" (etc) depending on how wide you want it.

If you are using CSS, you'd have a container div and then have width: 85%; or whatever as part of the CSS for that container.

If you are using a table, you'd have a table and put width="85" or whatever at the start of it.
 
0
•••
There is no better way. It depends on the design. There's flexible designs, in which case you would code it using percentages, and then there's fixed width designs, which you would need to specify a certain pixel width.

I prefer fixed width designs because they look the same on all resolutions, where as flexible/fluid designs can have more white spacing on higher resolutions, or content can be cluttered on lower resolutions.
 
0
•••
0
•••
basically, for 1024x768 resolution, the best width is less than 980 pixels; for 800x600 resolution, use a width less than 760 pixels. Check out what the resolution is of your visitors, and then you can make a smart decision.
 
0
•••
Beat me to the punch. CSS and DIVs are better then TABLES. This is a proven fact.

CSS seems foreign at first, but you can slowly pick up on a need to know basis, soon you will find you only need to lookup something for reference once and awhile.

exactly, also, I wouldn't use tables ...
 
0
•••

We're social

Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back