Reply
Dynamically adding things, using CSS?
Old 02-26-2005, 05:47 PM Dynamically adding things, using CSS?
subdismal's Avatar
Novice Talker

Posts: 7
Location: Roanoke, Virginia
I was just wondering if there is any way that one could, using whatever method, automatically insert a <DD>; every new line break (<BR>) automatically. The reason I need it automatically formatted that way, hopefully using CSS, it's so that I can do this to a plethora of text already in the document.

Thanks, in advance!
subdismal is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-27-2005, 01:45 PM
GrayKard's Avatar
Skilled Talker

Posts: 72
If I understand what you want to do, you need to get an html editor that has a replace function. then you put this in the text to find field: <br>
and this in the text to replace field: <br><dd>

Of course this just adds an open <dd> tag, you also need the rest of the <dl>(definition list) tags.

Here is a properly formatted definition list:

Code:
<dl>
<dt>Cats</dt>
<dd>Furry, annoying animals.</dd>
</dl>
You might try the editor: Edit Pad Lite, it's free for non-commercial use.

editpadlite.com/editpadlite.html
__________________
GrayKard.com
GrayKard is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Dynamically adding things, using CSS?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14499 seconds with 12 queries