View Single Post
  #2 (permalink)  
Old May 3rd, 2008, 17:11
saltedm8's Avatar
saltedm8 saltedm8 is online now
Lead Administrator

SuperMember
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,281
Blog Entries: 1
Thanks: 1
Thanked 6 Times in 6 Posts
Re: A space between my video and text

this is a css question, moved to css forum

you have added padding but you forgot one silly element ( the px )

padding:10;

should be

padding: 10px;

if you wanted to add padding only to the left of your text you should put padding-left:10px

or another way it could be done is

padding: 1px 2px 3px 4px;

this is defining the 4 sides of the element ( i have added values to show you )

where 1px is that is the top
where 2px is that is the right
where 3px is that is the bottom
where 4px is that is the left

if you wanted nothing for one particular side you can put in something like this

1px 0 3px 4px ;

that is saying we want padding on the top, none on the right, and we do want padding on the bottom and left
__________________
My Recipe forum...don't click here

Last edited by saltedm8; May 3rd, 2008 at 18:08.
Reply With Quote