glazedmacguffin: (peikowtow)
Glazed MacGuffin ([personal profile] glazedmacguffin) wrote2013-04-02 11:31 pm
Entry tags:

Numerical Rule

A bit of odd coding a select few might find useful. Let's say you're going to post something with a LOT of text, like an especially long poem or essay you've written, and you want to point out which line you want to go to?

An easy way to do this is to create a five-line numerical rule. For this to work, the table size has to be set to a width that will appear properly on most screens, so it may not work for mobile phones. But for people reading on their computer, if you tell them to go to "line 123" they should be able to scroll to it easilly. And having it a five-line rule makes it considerably easier to type in the numbers.

Keep in mind including a DW username will alter a linewidth, so this is mostly for blocks of text.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed in risus eu leo adipiscing consequat. Aenean commodo vehicula vehicula. Aliquam ut dui nisl. Aenean quis scelerisque arcu. Pellentesque enim risus, euismod vel tempus in, congue eget lacus. Integer libero ante, condimentum eget auctor vitae, dignissim at diam. Nulla imperdiet faucibus ligula, a mollis elit gravida sit amet. Sed sapien dui, vehicula eu pellentesque quis, malesuada dignissim lectus. Phasellus ullamcorper, orci et malesuada cursus, risus mi eleifend nunc, ac pulvinar nulla arcu a nibh. Donec ultrices pulvinar imperdiet. Integer pulvinar sem nec ligula ornare ut hendrerit leo ullamcorper. Morbi at ante velit.

Etiam venenatis vulputate laoreet. Vivamus consectetur tincidunt ipsum non viverra. Phasellus enim justo, laoreet ut pulvinar et, gravida a mi. Fusce non dolor felis. Cras egestas, leo eu consequat cursus, turpis dui porttitor urna, molestie venenatis turpis nulla ut velit. Cras tristique urna sed tellus malesuada id convallis orci gravida. Morbi vulputate, libero vitae tincidunt auctor, velit nunc ornare quam, vitae egestas elit sapien id sapien. Morbi at justo quis elit mollis aliquam nec vitae sapien. Suspendisse at tempus magna. Nulla ultricies mollis ligula at posuere.

Vestibulum orci lectus, cursus ac mollis in, iaculis et ipsum. Ut mattis gravida odio vitae pretium. Nullam sagittis dictum leo, at consectetur leo cursus vel. Aenean auctor pellentesque nulla, vel ullamcorper augue sodales et. Sed eget urna vel metus rutrum pellentesque id ut velit. Curabitur at convallis purus. Suspendisse posuere leo at tellus molestie facilisis. Vestibulum pretium, velit facilisis dignissim pretium, leo odio vehicula magna, et placerat diam felis ut lacus. Aenean sollicitudin suscipit lectus, ac consequat libero dignissim vitae. Nullam id nisl sem, non egestas tellus.

In hac habitasse platea dictumst. Duis vehicula odio ac nulla lacinia vulputate. Donec sit amet eros sit amet ante iaculis consequat. Maecenas non dapibus felis. Aliquam mi felis, porttitor ac molestie sit amet, varius eget erat. In sed gravida lectus. Cras arcu nisi, sollicitudin non dapibus et, porta at ligula. Donec sed dolor diam, sed dapibus quam. Curabitur a feugiat est.

Nullam purus felis, laoreet quis adipiscing ut, ultricies at metus. Nunc sed quam est, venenatis aliquet dolor. Aenean id nunc augue. Suspendisse potenti. Praesent lobortis lorem sed est molestie nec vulputate risus scelerisque. Vestibulum laoreet vestibulum metus, sed porta justo condimentum eget. Pellentesque dictum gravida dui, sit amet tristique nisl rutrum a.




5




10




15




20




25




30



Instructions:

Text Content= Copy and paste your text into the area marked ---TEXT---
Numerical Rule= Replace the # in multiples of five. Add more rows of <br><br><br><br># as they are needed.


Post a comment in response:

From:
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.