faqts : Computers : Internet : Web : CSS

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 14 people (71%) answered Yes
Recently 2 of 5 people (40%) answered Yes

Entry

How can I organize into columns large amounts of info? No tables, makes it too large...and using <PRE> I have no choice of fonts. Other ideas?

Mar 5th, 2001 07:14
Ben Gordon, Tom,


In IE you have several options you  can place the content into a 
scrollable <div> like this
<div style="width:150px; height:150px; overflow:scroll;">
<pre style="font-family: IceAgeD;">this is the text that 
I wish to display How Does it look now?</pre><div>
Or you can use an <iframe> with the content in a table of the source 
page
<iframe src="your_content_page_name.htm" width="25%"></iframe>
if it needs to be browser cross compatible then you will probably have 
to use some type of javascript textbox  you can get some more info on 
that here
http://www.dansteinman.com/dynduo/en/scrollconcepts.html
As far as not being able to change the font in <pre> that isn't correct 
the font can be changed by using CSS like this
<pre style="font-family: IceAgeD;">
or by embedding the style in the head section
style>
pre {font-family: IceAgeD;}
</style>