Karelia Community Forum

Join a conversation, pose a question, or help a fellow user: The best place to discuss all things Karelia.

You are not logged in.

#1 September 27, 2011 3:51 pm

livfoss
Member

Can we set and use tab characters?

I would love it if there were built-in tables in Sandvox, and I know I'm not alone: but just at the moment I'd settle for the ability set tab stops and to use 'tab' characters to line text up. AFAIK this doesn't work, indeed the tab character doesn't seem to be part of the character set recognised by Sandvox (tabs seem to skip to the next part of the page). The suggestion in the Help section that you can do this by using TextEdit to create the effect you want and then paste the result into Sandvox doesn't work for me, as the tab settings don't seem to transfer across and so the spaces created by them don't show up.

Does anyone know of a quick way of creating columns either by setting tabs or importing formatted text from another package? I have gone down the HTML-injection path for a full-blown table but this seems overkill for such a simple requirement.

Offline

#2 September 27, 2011 5:03 pm

terrence
Administrator

Re: Can we set and use tab characters?

The problem is that tabs essentially don't exist in HTML. Just as multiple spaces do not. HTML collapses all of that "white space" to a single character. You can use non-breaking spaces, but the width of those change depending on the font used. A table editor is on our list for the future. (We have made progress. Bullet lists were first.)

Offline

#3 September 28, 2011 1:51 am

livfoss
Member

Re: Can we set and use tab characters?

Thanks, I wasn't aware that HTML doesn't have a proper white space management system, although I do no some of the history of markup languages so I should have guessed. For the present I will either give up on the idea or insert another HTML table via an intermediate 'constructor' site like quackit as suggested in the Sandvox documentation. The only thing about this is the bag of warnings you get that your HTML is somehow old-fashioned - but it works.

Offline

#4 September 28, 2011 5:30 am

macdafydd
Avenger

Re: Can we set and use tab characters?

Sounds as if you should be using CSS. With that you can make liquid columns easily enough. Trouble is, I don't know if you can easily insert that sort of CSS into a Sandvox document and expect it to remain there during updates and the like.


It says "Avenger," but I am just a Sandvox user who has been assigned the title of Avenger here in order to be able to delete spam messages. http://davidneale.eu/

Offline

#5 September 28, 2011 12:05 pm

terrence
Administrator

Re: Can we set and use tab characters?

macdafydd: that's what Site Code Injection, Style Sheet tab is for: put your CSS changes there, not in the design package so that the CSS changes travel with the document, not within the application/designs.

Offline

#6 September 29, 2011 1:12 am

macdafydd
Avenger

Re: Can we set and use tab characters?

Thank you, Terrence.

So there you are, Livfoss, some CSS for columns; much nicer than tables.


It says "Avenger," but I am just a Sandvox user who has been assigned the title of Avenger here in order to be able to delete spam messages. http://davidneale.eu/

Offline

#7 October 2, 2011 8:13 am

macdafydd
Avenger

Re: Can we set and use tab characters?

Here's an example of a simple three-column layout, created in Sandvox, using CSS and HTML, with no recourse to tables:

3-column test

Site Code Injection was used to insert the CSS and the data was placed with Edit Raw HTML. (The text I used was merely copied and pasted from one of my sites: the underlining is because each title is also a link.)

Things to note: the background colour of all the columns stretches down to the footer; the text wraps in each column; the column widths can be changed in the CSS to be unequal; no graphics required to achieve the layout, no JavaScript.

It's all based on Matthew James Taylor's excellent http://matthewjamestaylor.com/blog/ulti … pixels.htm (and he offers plenty of other interesting CSS tips).

Last edited by macdafydd (October 2, 2011 8:14 am)


It says "Avenger," but I am just a Sandvox user who has been assigned the title of Avenger here in order to be able to delete spam messages. http://davidneale.eu/

Offline

#8 October 2, 2011 11:23 am

RX7RACE
Hero

Re: Can we set and use tab characters?

I have downloaded this from Mathew James Taylor.  Does anyone know how or where to be able to use it?
http://matthewjamestaylor.com/blog/perf … t-menu.htm
Thank you,
Peter

Offline

#9 October 2, 2011 12:47 pm

macdafydd
Avenger

Re: Can we set and use tab characters?

Matthew's code is not specific to Sandvox. Matthew provides CSS code and an example of HTML which makes use of this CSS. You have to extract the appropriate CSS from the downloaded file screen.css (iy's the part form the /* column container comment to the /*Footer styles comment) and insert it into your Sandvox document, which you do with Edit>Site Code Injection… (or Page Code Injection…, depending on whether you want the CSS to apply to the whole site or just the page you are working on), then select the Stylesheet tab and paste the CSS in the resulting field. Close the Injection window (there's no Save, this being done automatically).

Now you work in the page you want the two-column layout to appear. Place a Raw HTML object there, select it and use the menu Edit>Edit Raw HTML… Replace the default HTML with the HTML copied and adapted to your own contents from Matthew's own page HTML: basically this is the part from <div class="colmask rightmenu"> up to and including the >/div> on the line preceding <div id="footer">.

Remember that Matthews own page actually makes use of both the CSS and HTML coding, so it's up to you to remove his text parts and replace them with your own, as required by yourself.

Here's a quickie I've just made, so you can see what it looks like in Sandvox:

2 Columns test

(Just one caveat: the fixed sizes of Sandvox designs preclude the liquidity of Mattews designs, which is a pity. To get an idea of what this means, take a look at my page http://davidneale.eu/elvis/originals/ and see what happens when you reduce the width of the window.)

Last edited by macdafydd (October 2, 2011 1:04 pm)


It says "Avenger," but I am just a Sandvox user who has been assigned the title of Avenger here in order to be able to delete spam messages. http://davidneale.eu/

Offline

#10 October 3, 2011 7:53 am

macdafydd
Avenger

Re: Can we set and use tab characters?

To make things somewhat easier, I have started a small site regarding the use of columns. No doubt I shall add other musings in the future. See it at http://davidneale.eu/sandvox/


It says "Avenger," but I am just a Sandvox user who has been assigned the title of Avenger here in order to be able to delete spam messages. http://davidneale.eu/

Offline

Board footer

Powered by FluxBB