Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to do column count code inserting SSI code

6 views
Skip to first unread message

drum118

unread,
Apr 27, 2013, 9:02:11 PM4/27/13
to

At this time I have a 3 column page layout with the centre column getting an SSI link to 2 html page that contain SSI link that changes at various time.

I know or so know the CSS3 count code, but not sure how I can drop it into the centre column without changing that page all the time.

Centre column as it stands is @59% width as noted below.

header

Left column
<!--#include virtual="/csscode/midleftcolumn.html" -->

centre column
<img id="middlebar" src="objects/bar/vertical/vbar11.gif" width="4" height="900" alt="[icon bar] a vertial bar vbar11" />

right column
<!--#include virtual="/csscode/midrightcolumn.html" -->

Those html pages are blank pages with only the SSI links referring to what is to be posted here.
<!--#include virtual="/transit/gotransit/press/2013/go2013-g20008.txt" -->
<p><img src="http://transiturban.ca/objects/bar/hortizonal/bar1041.gif" width="300" height="6" alt="[icon logo] A bar #1042" /></p>
<!--#include virtual="/transit/torontottc/pressrelease/2013/TTC2013-pr020.txt" -->

When you view the page, it will show those 3 news items under a text box in 2 columns.

The current SSI html pages can contain 1 to 3 item.

In the end I want this but it could be more or less: If the news item is long, I shorten them with a link to another permanent page.

As new items are added, 1 gets shifted to become 3 or not all overtime and will move the SSI link as needed. They all end up on various pages as links depending what the topic is.

text box

column news 1 column news 2

column news 3 column news 4

column news 5


I have this setup now

.newscolumns {
column-count: 2;
column-gap: .5em;
column-rule: thin solid black;
}

<div class="newscolumns"></d>

Any help is welcome.

tlvp

unread,
Apr 27, 2013, 9:32:39 PM4/27/13
to
On Sat, 27 Apr 2013 18:02:11 -0700 (PDT), drum118 wrote, confusing me
badly:

> At this time I have a 3 column page layout with the centre column getting an SSI link to 2 html page ...

How do you set up *one* link to *two* html page(s) ?

> ... that contain SSI link that changes at various time.

Is the number of your verb in agreement with the number of its subject?

> I know or so know ...

Huh?

> ... the CSS3 count code, but not sure how I can drop it into the centre column without changing that page all the time.
>
> Centre column as it stands is @59% width as noted below.
>
> header
>
> Left column
> <!--#include virtual="/csscode/midleftcolumn.html" -->
>
> centre column
> <img id="middlebar" src="objects/bar/vertical/vbar11.gif" width="4" height="900" alt="[icon bar] a vertial bar vbar11" />
>
> right column
> <!--#include virtual="/csscode/midrightcolumn.html" -->
>
> Those html pages are blank pages with only the SSI links referring to what is to be posted here.
> <!--#include virtual="/transit/gotransit/press/2013/go2013-g20008.txt" -->
> <p><img src="http://transiturban.ca/objects/bar/hortizonal/bar1041.gif" width="300" height="6" alt="[icon logo] A bar #1042" /></p>
> <!--#include virtual="/transit/torontottc/pressrelease/2013/TTC2013-pr020.txt" -->
>
> When you view the page, it will show those 3 news items under a text box in 2 columns.

You lost me. Well, "3 news items" I can grok. And their being "under a text
box" I can grok, too (though I have no idea what's in that text box). But
what's "in 2 columns"? That "text box"? "those 3 news items"? Other?

> The current SSI html pages can contain 1 to 3 item.
>
> In the end I want this ...

Good that you do "want" it, but why say so explicitly here?

> ... but it could be more or less:

Sorry: how does something get to just "be more or less"?

> ... If the news item is long, I shorten them

Sorry: you're not using "them" (plural) to refer back to "news item"
(singular), are you? So what *does* "them" refer to?

> ... with a link to another permanent page.

> As new items are added, 1 gets shifted to become 3 or not all overtime and will move the SSI link as needed. They all end up on various pages as links depending what the topic is.

I've put in too much "overtime" already trying to parse your meaning :-) .

> text box
>
> column news 1 column news 2
>
> column news 3 column news 4
>
> column news 5
>
>
> I have this setup now
>
> .newscolumns {
> column-count: 2;
> column-gap: .5em;
> column-rule: thin solid black;
> }
>
> <div class="newscolumns"></d>
>
> Any help is welcome.

You lost me long ago, sorry. I did try ... . Cheers, -- tlvp
--
Avant de repondre, jeter la poubelle, SVP.

Danny

unread,
Apr 28, 2013, 1:29:13 PM4/28/13
to
to drum118

if you could get us a mockup, or at the very least a picture/drawing with whta you want, it'd help greatly for us to understand what you're intending to do.

dorayme

unread,
Apr 28, 2013, 6:20:17 PM4/28/13
to
In article <9b2389b6-f556-43d9...@googlegroups.com>,
Perhaps offer to pay OP a small amount (possibly to be increased) to
encourage some URL?

--
dorayme

Philip Herlihy

unread,
Apr 29, 2013, 8:45:50 AM4/29/13
to
In article <9b2389b6-f556-43d9...@googlegroups.com>,
dann...@gmail.com says...
>
> to drum118
>
> if you could get us a mockup, or at the very least a picture/drawing with whta you want, it'd help greatly for us to understand what you're intending to do.

I'd suggest that should be standard practice for this group. I find
making sense of lines and lines of "thought experiment" CSS bends my
brain, and takes more than the time I can afford to spend figuring out
what's being described.

--

Phil, London

Philip Herlihy

unread,
Apr 29, 2013, 8:57:23 AM4/29/13
to
In article <MPG.2be87bdc4...@news.demon.co.uk>,
bounc...@you.com says...
And get it to validate, too!

--

Phil, London

Jeff North

unread,
Apr 29, 2013, 9:07:49 PM4/29/13
to
On Sat, 27 Apr 2013 18:02:11 -0700 (PDT), in
comp.infosystems.www.authoring.stylesheets drum118
<dru...@hotmail.com>
If I understand you correctly...
What you are wanting is to order the SSI articles the way you want to,
not how the browser wants to.
This can not be done with CSS3 columns as the browser takes all of
your text and reflows it to fill the required column(s), much like a
newspaper.

Another reason why you shouldn't use CSS3 columns is that it is not
supported in IE6,7,8,or 9.

I've set up a same file: http://jsfiddle.net/mktwz/1/ and have assumed
that all articles will be of the same height.

I hope this is what you intended.

drum118

unread,
May 1, 2013, 10:20:17 PM5/1/13
to
I didn't think I could do it, but I thought better to ask a dumb question in case I was missing something.

Thanks
0 new messages