Log In · Register

 
What does this mean?, A bit of code
xxANGExx
post Jun 21 2004, 11:15 AM
Post #1


angelAMPHETAMINE.
***

Group: Member
Posts: 78
Joined: Jun 2004
Member No: 21,633



CODE
<!-- begin code provided by createblog.com -->

<div id="content" style="margin-top: -363px; margin-left: 100; width: 460px; height:303px; margin-bottom: 0px; overflow: auto; filter: none;">

<!-- end code provided by createblog.com -->


This bit of code is just an example, it's from the SpongeBob skin that was recently released. Does this determine where the posts go, like the div box? And what do the variables mean? Such as margin-top, etc.
 
 
Start new topic
Replies
queen
post Jun 24 2004, 11:57 AM
Post #2


‹(. .)›
******

Group: Official Member
Posts: 2,367
Joined: Jun 2004
Member No: 20,089



QUOTE(xxANGExx @ Jun 21 2004, 11:15 AM)
CODE
<!-- begin code provided by createblog.com -->

<div id="content" style="margin-top: -363px; margin-left: 100; width: 460px; height:303px; margin-bottom: 0px; overflow: auto; filter: none;">

<!-- end code provided by createblog.com -->

translations:
div id="content" - name of layer is "content"
style=" - this is where you can input attributes for the layer
margin-top: -363px; - coordinates, this one specifies it will be negative363 pixels from the top margin
margin-left: 100; - specifies it will be 100 pixels from the left margin
width: 460px; - layer will be 460 pixels wide
height:303px; - layer will be 303 pixels long
margin-bottom: 0px; - this is useless, since the variable is 0, and height is already given
overflow: auto; - overflow specifies the scroll, in this case it's "auto", which means it will automatically scroll depending on how much content can be viewed in the layer
filter: none; - there is no filter.. some filters you may have seen are opacity changes, enabling things to be transparent
" - end quote.. just as style=" began the statement, this ends it.

hopefully that helped
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: