Log In · Register

 
div position
xxxlilazngrlxxx
post Apr 29 2004, 12:20 AM
Post #1


lalalala...
****

Group: Member
Posts: 135
Joined: Jan 2004
Member No: 1,294



does anyone know how to position a div box so it`s to the left right etc etc...i juss can`t seem to get it to work...my xanga is
www.xanga.com/sabbyrina
 
 
Start new topic
Replies
whomps
post Apr 29 2004, 12:25 AM
Post #2


:hammer:
*******

Group: Staff Alumni
Posts: 9,849
Joined: Mar 2004
Member No: 7,700



Insert this in your DIV code:

margin-left: howevermanyPIXELS; margin-top: howevermanypixels;


Change the number of pixels in the code. Use NEGATIVE numbers in the 'margin-top' part to make the div go higher and over the image. The bigger the number, the lower it will go.

Change the number in the 'margin-left' code. Smaller number means more to the left, and larger number means more to the right.
 

Posts in this topic


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