Jump to content

Extra Space..


The Praetorian

Recommended Posts

Well, in your body style you have margin: 5, so that is making your space.You can set the left, top, right, bottom margin separately - margin is an abbreviation for setting them all to the same value. For instance:

body {	background-image: url('http://www.tsrealms.com/forum/templates/AcidTech/images/body.gif');/*	margin: 5;  */		margin-left 5;  	margin-right: 5;	margin-bottom: 5;	margin-top: 0;	color: #D0D0D0;	font-family: serif, times;}

Link to comment
Share on other sites

Also, it's not technically valid to leave off the units. You want the margin to be 5 what? Points? Pixels? Centimeters? Inches? Fathoms, perhaps? If you are making the browser guess, you're asking for problems. Always include the units. Also, it's technically correct to not have a space between the quantity and the unit, so 5px will validate but 5 px will not. The only number where it is valid to leave off the units is 0.

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...