What does this mean?, A bit of code |
What does this mean?, A bit of code |
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. |
|
|
|
![]() |
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 |
|
|
|
xxANGExx What does this mean? Jun 21 2004, 11:15 AM
ace ok, highlight over the ad. you know how there is a... Jun 21 2004, 01:03 PM
natsumi o_o; it's uhmm forr positioning something. o_o... Jun 21 2004, 01:07 PM
xxANGExx Thanks for the explanation ace. I still don't ... Jun 21 2004, 01:13 PM
noobrice its to position the blog box content.. meaning the... Jun 21 2004, 01:25 PM
xxANGExx How come the margin-top and margin-left pixels are... Jun 21 2004, 03:21 PM
lookitskim Ok, imagine this.. You're pulling on a rope. T... Jun 21 2004, 03:38 PM
DrNick311 Well margin-top means that you're pushing it a... Jun 21 2004, 04:10 PM
xxANGExx So the negative is used for covering the ad? Or ju... Jun 22 2004, 11:59 AM
i ami_am its just making the size of something Jun 22 2004, 02:57 PM
noobrice the margins top and left are to position the div b... Jun 24 2004, 12:25 PM![]() ![]() |