Tweak

InsaneJournal

Tweak says, "I am Captain Planet!"

Username: 
Password:    
Remember Me
  • Create Account
  • IJ Login
  • OpenID Login
Search by : 
  • View
    • Create Account
    • IJ Login
    • OpenID Login
  • Journal
    • Post
    • Edit Entries
    • Customize Journal
    • Comment Settings
    • Recent Comments
    • Manage Tags
  • Account
    • Manage Account
    • Viewing Options
    • Manage Profile
    • Manage Notifications
    • Manage Pictures
    • Manage Schools
    • Account Status
  • Friends
    • Edit Friends
    • Edit Custom Groups
    • Friends Filter
    • Nudge Friends
    • Invite
    • Create RSS Feed
  • Asylums
    • Post
    • Asylum Invitations
    • Manage Asylums
    • Create Asylum
  • Site
    • Support
    • Upgrade Account
    • FAQs
    • Search By Location
    • Search By Interest
    • Search Randomly
& ([info]hammertech) wrote in [info]rp_tutorials,
Just a quick note for lists, there are two ways to do it:

ordered lists: (numbers)


it looks like this:


  1. milk
  2. eggs
  3. cheese



unordered lists: (bullets)


it looks like this:


  • milk
  • eggs
  • cheese



And as a warning, LJ tends to space the lists out too much if you press enter and have each on a line. So your HTML shouldn't have any breaks to it and look like so (note the lack of different lines like the others):



As for changing how lists look, you'd use the following within the list item tag (li):

style="list-style-type: WHATEVS"

That would look like this in the HTML:



Some options for styling:
none - nothing
circle - circle
square - square
decimal-leading-zero - a number with 0 in front -- 01 for example
georgian The marker is traditional Georgian numbering (an, ban, gan, etc.)
lower-alpha - lower case alphabetical (a, b c, d, e, etc.)
upper-alpha - uppercase alphabetical (A, B, C, D, E, etc.)
lower-roman - lowercase roman (i, ii, iii, iv, v, etc.)
upper-roman - The marker is upper-roman (I, II, III, IV, V, etc.)

keep in mind:
UL = unordered list (circle, square, etc)
OL = ordered list (lower-alpha, upper-roman, decimal-leading-zero, etc)

SO. Examples:
to have nothing there, use style="list-style-type: none"

NONE



That would look like:

  • milk
  • eggs
  • cheese



to order your list alphabetically, use style="list-style-type: lower-alpha"

the code:



That would look like:
  • milk
  • eggs
  • cheese


To customize your bullet, use style="list-style-image: url('LINK TO PICTURE HERE')"

The code:



example of use:


  • milk
  • eggs
  • cheese



Obviously, the image has to be pretty small. The one I used () is width: 10px, height: 10px.

Also, there's tons more you can do with lists (like the TDs of tables) like backgrounds and shit but not all of them work very well with IJ. Backgrounds, for example, stretch out across the page and have to be confined in a table. EITHER WAY, I hope that helps! And FUNKY CHICKENS :D ftw.

/tl;dr


(Read comments)

Post a comment in response:

From:
( )Anonymous- this user has disabled anonymous posting.
( )OpenID
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
  
Message:
 

Home | Site Map | Manage Account | TOS | Privacy | Support | FAQs