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 21 2004, 01:03 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 111 Joined: Jun 2004 Member No: 22,161 |
ok, highlight over the ad. you know how there is a white space for the ad? well, that code is used to move the layout up over that whitespace. that's what the margin top for.
width= the width of the laytout height= how high the layout bottom= the layout will hugh the bottom... sorry, i can't make it any clearer. ahah. |
|
|
|
xxANGExx What does this mean? Jun 21 2004, 11:15 AM
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
synkro QUOTE(xxANGExx @ Jun 21 2004, 11:15 AM)CODE... Jun 24 2004, 11:57 AM
noobrice the margins top and left are to position the div b... Jun 24 2004, 12:25 PM![]() ![]() |