SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member Prime1's Avatar
    Join Date
    Nov 2002
    Location
    Ceravolo
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    order of margins pleaaase!!

    Hi,
    can someone tell me about the order in which the margins are set in CSS. I think its righ to left????

    cheers!
    If it ain't broke, Don't Fix it!

    This is my job

  2. #2
    ********* Streaker Lister14's Avatar
    Join Date
    Jun 2002
    Location
    C:\Documents and Settings\Desktop\Recycle Bin
    Posts
    677
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if it is this what you mean it will go clockwise...

    Code:
    #div
        {
         margin: #top(px) #right(px) #bottom(px) #left(px);
        }
    roy.lu
    C:\DOS... C:\DOS\RUN... RUN\DOS\RUN...!

  3. #3
    SitePoint Member Prime1's Avatar
    Join Date
    Nov 2002
    Location
    Ceravolo
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cheers Lister,

    very fast reply!

    cheers Ill try it now.
    If it ain't broke, Don't Fix it!

    This is my job

  4. #4
    SitePoint Member Prime1's Avatar
    Join Date
    Nov 2002
    Location
    Ceravolo
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just tried it and it works!!!

    thanks again.
    If it ain't broke, Don't Fix it!

    This is my job

  5. #5
    ********* Streaker Lister14's Avatar
    Join Date
    Jun 2002
    Location
    C:\Documents and Settings\Desktop\Recycle Bin
    Posts
    677
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anytime

    did you know the same behaviour is for the border colors?

    Code:
    #div	{
    	border: 5px solid;
    	border-color: #top #right #bottom #left;
    	}
    gives you the little bit of 'extra' effect on them div's
    roy.lu
    C:\DOS... C:\DOS\RUN... RUN\DOS\RUN...!

  6. #6
    SitePoint Member Prime1's Avatar
    Join Date
    Nov 2002
    Location
    Ceravolo
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    NO I did not as I am new to CSS thanks PAL!

    again great speed in replying.

    regards,
    If it ain't broke, Don't Fix it!

    This is my job

  7. #7
    ********* Streaker Lister14's Avatar
    Join Date
    Jun 2002
    Location
    C:\Documents and Settings\Desktop\Recycle Bin
    Posts
    677
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Prime1
    ...as I am new to CSS...

    same as, same as...
    roy.lu
    C:\DOS... C:\DOS\RUN... RUN\DOS\RUN...!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •