Jump to content

Is it better to use px or percent?


notclive

Recommended Posts

much better methinks

body	{font: normal 16px "lucida sans unicode","lucida sans",arial; color: #111111; background-color: #ffffff}a.link:link	{color: #ffffff; text-decoration: none; font: 18px }a.link:active	{color: #fffff; text-decoration: none; font: 18px }a.link:hover	{color: #111111; text-decoration: none; background: #ffffff; font: 18px }a.link:visited	{color: #111111; text-decoration: none; font: 18px }a.text:link	{color: #111111; text-decoration: underline}a.text:active	{color: #111111; text-decoration: underline}a.text:hover	{color: #111111; text-decoration: underline}a.text:visited	{color: #111111; text-decoration: underline}div.navbar	{text-align: center; position: absolute background: #5555ff; top: 0px; left: 0px; width: 175px;}div.title	{text-align: center; background: #5555ff; position: absolute; top: 0px; left: 175px; height: 125px; width: 775px}div.main	{text-align: left; background: #eeeeee; position: absolute; top: 125px; left: 238px; width: 450px}div.news	{text-align: left; background: #eeeeee; position: absolute; top: 125px; left: 750px; width: 200px}p      {color: #11111}h1	{color: #ffffff; text-align: center}h2	{color: #0000ff}h3	{color: #ff0000}h4      {color: #00ff00}

Link to comment
Share on other sites

No, right is standardly "0" :) But its not a valid statement I think :)
:)
With a value of "absolute" the element can be placed anywhere on a page. The element's position is specified with the "left", "top", "right", and "bottom" properties
enough said
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...