Free AdviceGet Free Advice
Home | Get advice | Give advice | Topics | Columnists | - !START HERE! -
Make Suggestions | Sitemap

Get Advice


Search Questions

Ask A Question

Browse Advice Columnists

Search Advice Columnists

Chat Room

Give Advice

View Questions
Search Questions
Advice Topics

Login

Username:
Password:
Remember me
Register for free!
Lost Password?

Want to give Advice?

Sign Up Now
(It's FREE!)

Miscellaneous

Shirts and Stuff
Page Backgrounds
Make Suggestions
Site News
Link To Us
About Us
Terms of Service
Help/FAQ
Sitemap
Contact Us


CODE IN MYSPACE


Question Posted Tuesday August 5 2008, 8:42 pm



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


[ Answer this question ]
Want to answer more questions in the Technology category?
Maybe give some free advice about: Internet & Web Design?


theymos answered Wednesday August 6 2008, 11:14 pm:
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).

[ theymos's advice column | Ask theymos A Question
]




stargirl51 answered Wednesday August 6 2008, 6:12 pm:
Padding means the space around your image.

Background-position means the position of your background: center, fixed, etc.

cheers,
stargirl

[ stargirl51's advice column | Ask stargirl51 A Question
]

More Questions:

<<< Previous Question: Neck
Next Question >>> question on myspace?

Recent popular questions:
Want to give advice?

Click here to start your own advice column!

What happened here with my gamer friends?

All content on this page posted by members of advicenators.com is the responsibility those individual members. Other content © 2003-2014 advicenators.com. We do not promise accuracy, completeness, or usefulness of any advice and are not responsible for content.

Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content.
Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.

[Valid RSS] eXTReMe Tracker