|
CODE IN MYSPACE
<style>
.nametext{background-image:url([Link](Mouse over link to see full location); overflow:hidden;height:200px;width:200px; font-size:0.5px;text-align:left;color:000000;padding: 6px 6px 6px 6px;<----
WHAT DOES PADDING MEAN?
also, WHAT'S BACKGROUND-POSITION?
OVERFLOW?
[ ] Want to answer more questions in the Technology category? Maybe give some free advice about: Internet & Web Design?
If you're not designing a Myspace layout or complex HTML+CSS page, none of that is important.
Padding does create space around an element, as does margin and border. However, it interacts with other elements differently than margin and border. See this document, and especially the first image:
[Link](Mouse over link to see full location)
In your code, there are 6px of space around the content. Padding:6px would have had the same effect, but it's shorter.
Background-position is where the background image starts. Background-position:1px 2px will place the background image 2px from the top of the page and 1px from the left. Background-position:relative is not valid. It should do nothing. They might have confused it with position:relative.
If an element's contents is too big to fit within its height and width, it overflows. Overflow:hidden makes all overflowing content not appear on the page. Overflow:auto would make scrollbars appear on the element and overflow:visible would make the content ignore the height when overflowing (usually resulting in a mess). ]
Padding means the space around your image.
Background-position means the position of your background: center, fixed, etc.
cheers,
stargirl ]
More Questions: |