Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / MS JScript / July 2008



Tip: Looking for answers? Try searching our database.

px or %

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank Salem - 04 Jul 2008 04:24 GMT
Hello Guys,

   A good day for everyone!

   I'm having a problem when setting the width or height of a     div
object. Which is more better  to use -- px or %? And     which one is risky?

   Thanx

   Frank
Anthony Jones - 04 Jul 2008 07:45 GMT
>     Hello Guys,
>
>     A good day for everyone!
>
>     I'm having a problem when setting the width or height of a     div
> object. Which is more better  to use -- px or %? And     which one is risky?

Neither is better its depends on the context.  In generaly Web layout terms
% is better however when you need strict control over the placement and
sizing of items px is more appropriate.

Signature

Anthony Jones - MVP ASP/ASP.NET

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.