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

New at this game

0 views
Skip to first unread message

Dan L.

unread,
Dec 29, 2009, 10:18:22 PM12/29/09
to
I have done some dabbling with HTML years ago. However the game has
changed allot! It seems the world has gone to css. So I am wondering...

Without the use of frames,
Can I have a text page embedded inside an html page using only css?

The "target" attribute with the "<a>" does this work only with frames?

Is it possible to "attach" two separate pages together, one with the
code the other an attached text page by the use of an "include ..."
command?

Of the books I have read, the main window "information" is always
embedded within the html/css code. Does one have to go though and search
through the "code" every time one wants to update the "information"?

I hope this is clear... I am I asking too much?
If I can't ... I want my STINKING frames back!

Oh yeah ... Hi Ross from rec.gardens, I see your here as well :)

Enjoy Life... Dan

--
Garden in Zone 5 South East Michigan.

David E. Ross

unread,
Dec 29, 2009, 10:51:12 PM12/29/09
to
Your questions are answered within your message below:

On 12/29/2009 7:18 PM, Dan L. wrote:
> I have done some dabbling with HTML years ago. However the game has
> changed allot! It seems the world has gone to css. So I am wondering...
>
> Without the use of frames,
> Can I have a text page embedded inside an html page using only css?

Yes, using only HTML. CSS is for formatting, not for content.


> The "target" attribute with the "<a>" does this work only with frames?

No. You can use it without frames. It will then force a new window to
open with the page specified in the <a> anchor. Note that many people
get really annoyed when you force a new window. (I have my browser set
to make that a new tab within the current window.) Thus, you should use
it only if you think a user will want to be able to switch back and
forth between two windows. Even then, some find it annoying; so be very
judicious in its use.


> Is it possible to "attach" two separate pages together, one with the
> code the other an attached text page by the use of an "include ..."
> command?

This depends upon your Web server and its setup. Apache servers with
server-side includes enabled can do this. See
<http://hoohoo.ncsa.uiuc.edu/docs-1.5/tutorials/includes.html> for a
tutorial. (I can't vouch for the quality of the tutorial.)


> Of the books I have read, the main window "information" is always
> embedded within the html/css code. Does one have to go though and search
> through the "code" every time one wants to update the "information"?

Unless you are changing margins, colors, alignments, or other
formatting, you don't need to change CSS.

Yes, you do look through the HTML. That's where your content is. If
you don't make your pages too complicated, it's not difficult to find
the content that needs to be updated. If it's too complicated to
visually (manually) search through the HTML source file, then the
rendered result is likely too complicated for the user to read.

If you frequently change the content at a certain spot within a page,
you can always put an HTML comment at that spot. Users will not see the
comment on the rendered page, but you can put a keyword in the comment
and then ask your editor to search for that keyword. An HTML comment
starts with
<!--
and ends with
-->
and cannot contain
--


> I hope this is clear... I am I asking too much?
> If I can't ... I want my STINKING frames back!
>
> Oh yeah ... Hi Ross from rec.gardens, I see your here as well :)

Yep.


> Enjoy Life... Dan
>


--

David E. Ross
<http://www.rossde.com/>.

Don't ask "Why is there road rage?" Instead, ask
"Why NOT Road Rage?" or "Why Is There No Such
Thing as Fast Enough?"
<http://www.rossde.com/roadrage.html>

rf

unread,
Dec 29, 2009, 10:49:32 PM12/29/09
to

"Dan L." <doesn...@goesnowhere145.net> wrote in message
news:doesnotwork-4D01...@news.eternal-september.org...

>I have done some dabbling with HTML years ago. However the game has
> changed allot! It seems the world has gone to css. So I am wondering...
>
> Without the use of frames,
> Can I have a text page embedded inside an html page using only css?
>
> The "target" attribute with the "<a>" does this work only with frames?
>
> Is it possible to "attach" two separate pages together, one with the
> code the other an attached text page by the use of an "include ..."
> command?
>
> Of the books I have read, the main window "information" is always
> embedded within the html/css code. Does one have to go though and search
> through the "code" every time one wants to update the "information"?
>
> I hope this is clear... I am I asking too much?
> If I can't ... I want my STINKING frames back!

All of the above is, "these days", done with server side scripting, for
example PHP, which has a quite simple to use include statement.


dorayme

unread,
Dec 29, 2009, 10:55:58 PM12/29/09
to
In article
<doesnotwork-4D01...@news.eternal-september.org>,
"Dan L." <doesn...@goesnowhere145.net> wrote:

> I have done some dabbling with HTML years ago. However the game has
> changed allot! It seems the world has gone to css. So I am wondering...
>
> Without the use of frames,
> Can I have a text page embedded inside an html page using only css?

Google up "includes", nothing to do with CSS.

--
dorayme

Chris F.A. Johnson

unread,
Dec 30, 2009, 5:28:58 AM12/30/09
to
On 2009-12-30, Dan L. wrote:
> I have done some dabbling with HTML years ago. However the game has
> changed allot! It seems the world has gone to css.

Yes, and it makes web page presentation much easier!

> So I am wondering...
>
> Without the use of frames,
> Can I have a text page embedded inside an html page using only css?

Not using CSS, but using server-side includes (SSI) or PHP or ...

> The "target" attribute with the "<a>" does this work only with frames?

I've never used it.

> Is it possible to "attach" two separate pages together, one with the
> code the other an attached text page by the use of an "include ..."
> command?

See above.

> Of the books I have read, the main window "information" is always
> embedded within the html/css code. Does one have to go though and search
> through the "code" every time one wants to update the "information"?
>
> I hope this is clear... I am I asking too much?
> If I can't ... I want my STINKING frames back!

But your viewers don't; search engines don't, etc...


--
Chris F.A. Johnson <http://cfajohnson.com>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)

Adrienne Boswell

unread,
Dec 30, 2009, 10:49:43 AM12/30/09
to
Gazing into my crystal ball I observed "Dan L."
<doesn...@goesnowhere145.net> writing in news:doesnotwork-
4D0176.221...@news.eternal-september.org:

As others have said, you need to use server side includes. Once you get
the hang of them, you will never go back. Here's one of my typical
templates and the only thing I have to deal with is what is inside that
content div:

<php?
$thispage = "Title of the page";
$thisurl = "someurl.php";
//I do some server side stuff with navigation that needs this info

include "linkrel_inc.php";
//includes doc type, title (from $thispage), stylesheet, favicon, etc
?>
</head>
<body>
<?php include "header_inc.php";
//includes page header and navigation ?>
<div id="content">

</div>
<?php include "footer_inc.php";
//includes footer information, copyright, incidental links, closing HTML
elements, closes the db connection if necessary
?>

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Dan L.

unread,
Dec 30, 2009, 6:04:22 PM12/30/09
to
In article <cKmdnbNhZ7utU6fW...@posted.docknet>,

"David E. Ross" <nob...@nowhere.invalid> wrote:

> Yes, you do look through the HTML. That's where your content is. If
> you don't make your pages too complicated, it's not difficult to find
> the content that needs to be updated. If it's too complicated to
> visually (manually) search through the HTML source file, then the
> rendered result is likely too complicated for the user to read.
>
> If you frequently change the content at a certain spot within a page,
> you can always put an HTML comment at that spot. Users will not see the
> comment on the rendered page, but you can put a keyword in the comment
> and then ask your editor to search for that keyword. An HTML comment
> starts with
> <!--
> and ends with
> -->
> and cannot contain

That is very a useful idea, put in keywords. Thanks.

After reading the other messages I do believe I am going one level
deeper and get a book on PHP and hope this solves my problems.
If not the keywords will be very useful.



> > Oh yeah ... Hi Ross from rec.gardens, I see your here as well :)
>
> Yep.

The Master Gardeners in my local chapter knows I have a strong
background in programming. They asked me to create a web site for them.
A small local of 85 highly intelligent well educated group in their
fields: Horticulture, Agriculture, Botany, bio-chemistry and so on.
However, no one has any idea on how to create a web site, except me. I
have created personal web sites in the past, simple ones in the past.
Now for my self - I cheat - I use apples iWeb software - it works for me.

I do not want to be or should completely be depended upon for updates.
I will not be their forever and do not want to leave the club hanging.

I have observed other MG web site in my state, 1/2 of them have not been
updated in years. Many of the associations use the states/county
chapters web sites and the states/county web professionals for updating.
My association wants more control over the content and their own site.

I personally use 1&1.com as my host. For the MG I was going to go with
BlueHost.com (my opinion that may fit the MG uses better, a multi-year
plan payed by certified check by mail, the local MG has no credit card
or checking account - just a saving account).

I can set up a site for them over night when the association approves
the purchase. I have iWeb, BBedit and DreamWeaver (I like BBedit the
best). Then improve the site over time. I hope PHP can solve my problem.
My machine has support software for PHP as well.

What I want is to setup a structure/template in which others can simply
(If possible) use a free FTP program and replace their own section of
the web site using simple html/text (My Css sheets would add the style).
I want this site to look good, be functional and be professional.

Hmmm ... gardening, computers, Heilein fan... rec.food.cooking also.

Now to amazon for a good book on PHP - any recommendations :)

Enjoy life... I will be back on Monday... Dan

Mark Hansen

unread,
Dec 30, 2009, 7:06:46 PM12/30/09
to
On 12/30/2009 3:04 PM, Dan L. wrote:
> After reading the other messages I do believe I am going one level
> deeper and get a book on PHP and hope this solves my problems.
> If not the keywords will be very useful.

There are some pretty good tutorials available online. For example:

<http://php.net/manual/en/tutorial.php>

dorayme

unread,
Dec 30, 2009, 7:54:22 PM12/30/09
to
In article
<doesnotwork-5BD0...@news.eternal-september.org>,
"Dan L." <doesn...@goesnowhere145.net> wrote:

> I do not want to be or should completely be depended upon for updates.
> I will not be their forever and do not want to leave the club hanging.

You need a content management site. Consider Drupal.

--
dorayme

Dan L.

unread,
Dec 30, 2009, 8:49:50 PM12/30/09
to
In article <doraymeRidThis-FE8...@news.albasani.net>,
dorayme <dorayme...@optusnet.com.au> wrote:

Hmmm ...

I just looked a the Drupal Site: http://drupal.org/

Lots more to consider. I will take a good look at what they offer.

Is this a free web site template design program like joomla?

For myself, I do not mind the complexity of coding or templates.
I find most web design templates - restrictive in nature.

I want something that just about anyone with text editor and a simple
FTP program to update a site - not design. I was going to create my own,
very simple templates for local novice computer users to update the Web
Site.

I think PHP may be the answer.

Again... I will take a good look at what Drupal offer.

Enjoy Life... Dan

Dan L.

unread,
Dec 30, 2009, 8:50:56 PM12/30/09
to
In article <237b6$4b3beb10$414ebc3d$10...@EVERESTKC.NET>,
Mark Hansen <m...@NOSPAM.com> wrote:

Thanks ... That looks like a very useful site :)

Enjoy Life... Dan

dorayme

unread,
Dec 30, 2009, 9:38:34 PM12/30/09
to
In article
<doesnotwork-D68C...@news.eternal-september.org>,
"Dan L." <doesn...@goesnowhere145.net> wrote:

> In article <doraymeRidThis-FE8...@news.albasani.net>,
> dorayme <dorayme...@optusnet.com.au> wrote:
>
> > In article
> > <doesnotwork-5BD0...@news.eternal-september.org>,
> > "Dan L." <doesn...@goesnowhere145.net> wrote:
> >
> > > I do not want to be or should completely be depended upon for updates.
> > > I will not be their forever and do not want to leave the club hanging.
> >
> > You need a content management site. Consider Drupal.
>
> Hmmm ...
>
> I just looked a the Drupal Site: http://drupal.org/
>
> Lots more to consider. I will take a good look at what they offer.
>
> Is this a free web site template design program like joomla?
>

Yes, it is free. It is a Content management System. Very flexible and
pretty complex in what it offers, you can take as little or as much as
you like from its module systems...

> For myself, I do not mind the complexity of coding or templates.
> I find most web design templates - restrictive in nature.
>
> I want something that just about anyone with text editor and a simple
> FTP program to update a site - not design. I was going to create my own,
> very simple templates for local novice computer users to update the Web
> Site.
>
> I think PHP may be the answer.
>

I guess you could make your own. Good luck though!



> Again... I will take a good look at what Drupal offer.
>
> Enjoy Life... Dan

I will probably tonight. I might leave jumping off the gap till after
April when a long lost relative is visiting....

--
dorayme

Ed Mullen

unread,
Dec 30, 2009, 9:59:51 PM12/30/09
to
dorayme wrote:
> jumping off the gap

Lord, that sounds so ... um ... "final." dorayme, if this is not a
local phrase (to you) with which I am unacquainted, please be prudent.
"Jumping off a gap" seems, well, so, like, "final."

On the other hand, there are other, err, international interpretations
that ... oh, never mind!

--
Ed Mullen
http://edmullen.net
"I just love the French. They taste just like chicken!" - Hannibal Lecter

rf

unread,
Dec 30, 2009, 11:01:21 PM12/30/09
to

"Ed Mullen" <e...@edmullen.net> wrote in message
news:3ddpkd....@news.alt.net...

> dorayme wrote:
>> jumping off the gap
>
> Lord, that sounds so ... um ... "final." dorayme, if this is not a local
> phrase (to you) with which I am unacquainted, please be prudent. "Jumping
> off a gap" seems, well, so, like, "final."

The gap is a nice tidy cliff in Sydney that people often jump off. It's a
long way down and the sudden stop at the bottom can be quite nasty.

http://en.wikipedia.org/wiki/The_Gap%2C_New_South_Wales


Ed Mullen

unread,
Dec 30, 2009, 11:18:37 PM12/30/09
to

Ok then.

Although, I tend to shy away from activities which involve hurting
myself. I did a lot of that as a kid and I kinda had my fill.

Although, if it strikes your fancy? Good on ya, mate! ;-)

Happy New Year.

My mind is like a steel trap: rusty, and illegal in 37 states.

dorayme

unread,
Dec 31, 2009, 12:13:07 AM12/31/09
to
In article <3ddpkd....@news.alt.net>, Ed Mullen <e...@edmullen.net>
wrote:

> dorayme wrote:
> > jumping off the gap
>
> Lord, that sounds so ... um ... "final." dorayme, if this is not a
> local phrase (to you) with which I am unacquainted, please be prudent.
> "Jumping off a gap" seems, well, so, like, "final."
>
> On the other hand, there are other, err, international interpretations
> that ... oh, never mind!

Because of the Australian Government stimulus package offer for new
business investments before end of *this* year (one can claim 50% off
new investments in one year), I bought just in last hour online some
stuff and paid a goodly extra for three year guarantees. So I can't jump
till I have got my dough's worth from Apple. Daylight robbers! But I
have always wanted a nice laptop. Now at least I have a decent backup,
before I was relying on older Macs for this. <g>

Tonight, fireworks on the harbour and eating Greek food and having a few
drinks!

Happy New Year to you Ed! And everyone else too!

--
dorayme

Rob W.

unread,
Dec 31, 2009, 12:20:54 AM12/31/09
to
Dan L. schreef:

>
> For myself, I do not mind the complexity of coding or templates.
> I find most web design templates - restrictive in nature.
>

I'm a big fan of the Multiflex-3 template
Have a look at the Multiflex-series (1 to 5).
The lay-out possibilities are numerous,
and it has been adapted by other users for use in different content
management systems (e.g. Drupal).

The template as it is presented on its own site <http://www.1234.info>
may be a bit gray
but you should imagine it with your own color-scheme and pics.

--
Rob

Ed Mullen

unread,
Dec 31, 2009, 12:09:38 PM12/31/09
to

Thanks! And the same to you and everyone here!

It's not hard to meet expenses, they're everywhere.

0 new messages