navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

CSS Content....

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> CSS Content....
Page: [1]
 
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
CSS Content.... - 10/9/2003 19:17:42   
I was wondering...can I do some kind of "includes" with just CSS? can I set up a layout and determine its contents with an external style sheet?

Does this make sense? Basically...what you can do with includes, can you do it with just css?

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog
gorilla

 

Posts: 2974
From: Denmark
Status: offline

 
RE: CSS Content.... - 10/9/2003 20:09:26   
quote:

Basically...what you can do with includes, can you do it with just css?


No - includes are part of the page, elements, or components, whichever term you are happiest with :-)

As such they are subect to the style sheet or sheets that determines how page elements are presented.

Think of it this way:

HTML = structure, content.

CSS = presentation.

SSI = prebuilt standard "black box" HTML that I slot in wherever I want and know that it will be the same on all pages that it is slotted into.

quote:

can I set up a layout and determine its contents with an external style sheet?


Yes. but tread carefully. You can create a style sheet that says in effect:

"All page elements of such and such a type are to go here on the page."

- This is positioning. It can be tricky especially as not all browsers properly support it yet.

Of course you can and also for purely stylistic matters say:

"All page elements of such and such a type are to look like this on the page."

That said - go here:

www.bignosebird.com and read their tutorial on includes.

The outfront tutorials are also excellent.

Then consider the fact that to make changes to every page on a site that you could be in a situation of only ever having to alter.

1) The includes themselves (This is for things you want through out your site such as a nav bar, a page footer giving contact details etc)

2) A central stylesheet.

It is well worth investing time and effort in learning these two techniques as you will save yourself massive amounts of effort when it comes to updating sites.

Much depends on circumstances. Sometimes a table based design is the only solution. Sometimes a mix of tableless layout and tabular data. Sometimes a "pure CSS" layout where there is no tablular data involved.

W Von H.

< Message edited by gorilla -- 10/9/2003 8:15:23 PM >


_____________________________

Mháircaish

Signature self-censored to protect the sensibilities of the thin-skinned :).

May we never confuse honest dissent with disloyal subversion. – Dwight D. Eisenhower



(in reply to Peppergal)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: CSS Content.... - 10/9/2003 22:33:31   
Thanks...I was afraid of that. I'm trying to get a real grip on CSS and thought I could kill two birds with one stone.

Without having someone right here showing me step by step what to do, it takes me a long time to muddle thru and learn it my own...I never was able to learn by just reading and trying...I often had to see it in action FIRST and then the light bulb comes on....

I was hoping I could have a style sheet that said this div always has this content (like navigation) this div always has this content (banner, etc...)

Oh well! Thanks for your help and for the links, again!

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to gorilla)
gorilla

 

Posts: 2974
From: Denmark
Status: offline

 
RE: CSS Content.... - 10/10/2003 13:26:58   
quote:

ORIGINAL: Peppergal

I often had to see it in action FIRST and then the light bulb comes on....



The course here:

http://www.w3schools.com/

lets you type in and preview


This (free) tool style assistant:

http://www.styleassistant.de/scrnshot.htm

also has a preview it is very good and is very recommended for new css users as a teaching tool by the gorilla group we use it in our courses all the time.

you can download it here:

http://www.styleassistant.de/download.htm

do not let the fact that it is a german site and the page is in German discourage you. The program is in English :)

W

_____________________________

Mháircaish

Signature self-censored to protect the sensibilities of the thin-skinned :).

May we never confuse honest dissent with disloyal subversion. – Dwight D. Eisenhower



(in reply to Peppergal)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> CSS Content....
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts