473,748 Members | 6,370 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating block diagrams in a fixed-width font

Hi. Someone, I'm sure, is going to laugh at me - but - is there an easier
way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on the page)

I'd paste the html here but it would be a mess. Basically, it's an "ascii"
text figure, with whitespace held together by   entities.

It will not be helpful if someone tells me to use Adobe Illustrator. Way too
expensive. ;-)

But still, what's an optimized CSS way of doing this?

Brian
Jul 20 '05 #1
8 5140
B McDonald wrote:
Hi. Someone, I'm sure, is going to laugh at me - but - is there an
easier way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on
the page)

I'd paste the html here but it would be a mess. Basically, it's an
"ascii" text figure, with whitespace held together by   entities.

It will not be helpful if someone tells me to use Adobe Illustrator.
Way too expensive. ;-)

But still, what's an optimized CSS way of doing this?


I tried reading that page with IBM's Home Page Reader. (I am not disabled, but
I am trying to learn about the problems faced by such people so that I can
make my web sites more accessible). Needless to say, the speech for that
diagram was gibberish! It read out every special character.

I believe that the proper authoring for that diagram is to provide an image
for sighted people (PNG or GIF, say, or perhaps SVG for scalability). Then
provide at least "alt" text, and possibly a "longdesc" too. I suggest the role
of CSS should simply be to position the image appropriately.

I would produce that diagram using PowerPoint (but Word might do) and turn it
into (say) GIF using Paint Shop Pro or Photoshop. I've done many diagrams that
way. But there are probably cheaper and/or better options.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #2
B McDonald wrote:
Hi. Someone, I'm sure, is going to laugh at me - but - is there an
easier way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on
the page)


any graphics/image creator/editor would do the job.

btw: 'quote of the day' brilliant ;o)

--
William Tasso - http://WilliamTasso.com
Jul 20 '05 #3
In article <Ix************ ***@newssvr16.n ews.prodigy.com > in
comp.infosystem s.www.authoring.stylesheets, B McDonald <no@spam.com>
wrote:
I'd paste the html here but it would be a mess. Basically, it's an "ascii"
text figure, with whitespace held together by &nbsp; entities. But still, what's an optimized CSS way of doing this?


When you have a screw to drive, a hammer is the wrong tool.

Draw your diagram and enclose it in <pre> ... </pre>.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #4

"Stan Brown" <th************ @fastmail.fm> wrote in message
news:MP******** *************** @news.odyssey.n et...
In article <Ix************ ***@newssvr16.n ews.prodigy.com > in
comp.infosystem s.www.authoring.stylesheets, B McDonald <no@spam.com>
wrote:
http://www.galtsvalley.com/on/rts.html


I've already answered your actual question, but I wouldn't be me if
I didn't point out that "other's words" on that page should be
"others' words".

If only you'd given a real e-mail address, I would have been able to
tell you that privately.


Thanks for being you. Apparently being you is the same as being me - I hate
grammatical errors. I'll correct that in the next ftp.

Brian

p.s. my email address is all over my website!
Jul 20 '05 #5

"William Tasso" <ne****@tbdata. com> wrote in message
news:bk******** ****@ID-139074.news.uni-berlin.de...
B McDonald wrote:
Hi. Someone, I'm sure, is going to laugh at me - but - is there an
easier way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on
the page)
any graphics/image creator/editor would do the job.


I'm gonna implement Mad Bad Rabbit's idea - which seems like an interesting
one. That said, I may end up agreeing with you and Stan.
btw: 'quote of the day' brilliant ;o)


If Dick Diver's character didn't end up disintegrating in the novel, the
quote might have maintained all it's "charm" for me too. Still, I love
reading that one in isolation!

Brian
Jul 20 '05 #6
Mad Bad Rabbit wrote:
"B McDonald" <no@spam.com> wrote in
news:Ix******** *******@newssvr 16.news.prodigy .com:
Hi. Someone, I'm sure, is going to laugh at me - but - is there an
easier way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on the
page)

[snip] <div class="inter-block">
<div>Sense</div>
<div>&rarr;</div>
<div>&larr;</div>
<div>Cntrl</div>
</div>


Yes, your idea appears to give the desired results, but it requires CSS
to be usable. Without CSS the above makes no sense.

--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read.

Jul 20 '05 #7
B McDonald wrote:
"Barry Pearson" wrote: [snip]
I would produce that diagram using PowerPoint (but Word might do)
and turn it into (say) GIF using Paint Shop Pro or Photoshop. I've
done many diagrams that way. But there are probably cheaper and/or
better options.


So I just did. Just a few minutes.
It's such a simple picture that I instinctively didn't want to create
a gif for it. But, perhaps you're right. Still, I'm intruiged by the
suggestion of "Mad Bad Rabbit" - to create the block diagram using
DIVs. Kinda obvious when you think about it. I'll probably just
choose a better solution than I have now and then think about the
accessibility issues, if I can't conquer all worlds at once.


http://www.barry.pearson.name/me/rts.htm

Use them as you choose. I'll leave them there for a few days.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #8
>
So I just did. Just a few minutes.

http://www.barry.pearson.name/me/rts.htm

Use them as you choose. I'll leave them there for a few days.


Thank you. I'll pull one down. I think I've been motivated to start using my
powerpoint SW!

Brian
Jul 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7328
by: sams | last post by:
Is there a flow draw tool/API in Java to map out a simple application flow? Tks Sam
2
5253
by: Greg Lindstrom | last post by:
Hello- I'm creating fixed-length record layouts for various record translations I need to perform. I have been using a home-grown object, "FixedLengthRecord" for about 4 years now and am very happy with it. Almost. The burr under my saddle occurs when I serialize the record. Currently, I create an empty text field and for each record in my database (all record layouts, data types, lengths, defaults, etc. are held in an SQL server) I...
6
34169
by: Clay Beatty | last post by:
When you create database diagrams in Enterprise Manager, the details for constructing those diagrams is saved into the dtproperties table. This table includes an image field which contains most of the relevant infomation, in a binary format. SQL Enterprise manager offers no way to script out those diagrams, so I have created two Transact SQL components, one User Function and one User Procedure, which together provide a means to script...
2
6243
by: Todd_M | last post by:
I was wondering what anyone might suggest as "best practice" patterns for streaming out fixed formatted text files with C#? Let's say we get our data in a dataset table and we need to iterate over thousands..potentially tens of thousands of rows to create a properly formatted text file -- like an ACH file, for example. In there you typically have a header, a body block of detail rows and a trailer. (The trailers usually contain sums of the...
16
10093
by: Bill | last post by:
Say I have a childThread currently is running a finally block to cleanup external resources. At the same time the main thread calls childThread.Abort(). The question is: when the ThreadAbortException is thrown, does the childThread finish the remaining code in the finally block?
1
2407
by: Satpreet | last post by:
I'm looking to simulate the behavior of a digital hardware arithmetic block in a C/C++ program. I was just wondering if there are any libraries (with datatypes and overloaded operators etc.) available for arithmetic operations on Fixed/Block-Floating Point variables ?? Alternatively could anyone throw me a pointer to sample code if available on the net...
0
4492
by: craig dunn | last post by:
I've used the code from the post for a while now... but recently upgraded to SQL Server 2005. I've written a new script for SQL Server 2005, which can be found at http://www.codeproject.com/useritems/ScriptDiagram2005.asp if anyone is looking to script out database diagrams... Thanks to the original poster - Clay Beatty - for his effort. URL: ...
1
5383
by: MakaMaka | last post by:
Hi, Does anybody know of a good widget for wxpython, gtk, etc. that allows the editing of block diagrams and make it easy to export the diagram as a digraph? It has to be available under Windows. I want the user to draw a series of blocks on a canvas, connect them with directional arrows, and then a function will extract the digraph this represents and do some graph traversal algorithms on it. Think DIA or VISIO w/ only a few blocks...
8
2288
by: ms news group | last post by:
What happens if exception is thown within a fixed block? Will the pinned memory buffer get unpinned? and if the pinning pointer points to a managed memery buffer allocated within the throwing function, will the memory buffer get garbage-collected finally? I check the language spec, also searched the internet, found nothing regarding this question.
4
2156
by: Ole Nielsby | last post by:
In the old ages when I was taught Pascal, the manual had nice syntax diagrams. Each grammatical structure was shown as round boxes connected by arrows, with a model railway look, with the boxes representing either lexical tokens or other diagrams (i.e. terminals/nonterminals). They seemed very intuitive because you could toot-toot one finger along the rails in the book while moving another finger over your code. Does anything similar...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4606
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2783
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.