Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Why does my CSS not work?
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

laser
Advanced Member

Australia
3859 Posts

Posted - 13 June 2004 :  21:48:52  Show Profile
np's Alfred, I just didn't want to throw you a whole heap of URLs and hope you got the answer you wanted. Different approach, same result - it's all good
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 13 June 2004 :  22:56:14  Show Profile  Visit Alfred's Homepage
Yeah, I know what you mean, and can appreciate. Too often I hope for a simple tip or correction when I need a fix now, and instead get wellmeaning suggestions of what to search or study.
But this CSS stuff was on my back burner for a long while as something desirable to master, and I want to learn in general how "to fish" with it.

Alfred
The Battle Group
CREDO
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 13 June 2004 :  23:37:39  Show Profile  Visit Alfred's Homepage
After reading a bit more about it I realize that I had a totally wrong image of how they work.
I had the naive view that one needs to write a regular htm page and save it as an external style sheet.
And by linking to the external style sheet one would reproduce it, kind of like it works with templates.
I guess what I was looking for IS a template.
But that would not offer the code-saving qualities I had imagined, since a template repeats the code in every file.
Isn't that exactly what we can do in ASP with the "include file" feature?
Seems to me there should be something like it in htm as well - is there?
Am I looking for the invention of the wheel?

Alfred
The Battle Group
CREDO
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 13 June 2004 :  23:51:51  Show Profile
quote:
Isn't that exactly what we can do in ASP with the "include file" feature?
Not really, the SSI (Server Side Include, or "include file" as you say) is for including the same code in numerous pages
quote:
Seems to me there should be something like it in htm as well - is there?

well, the include statement is really HTML and not ASP, but as long as you're not thinking about CSS, it is the same thing.

What a CSS actually DOES do, is help to redefine HTML tags (among other things). So instead of having to do a font = red tag all the time, you can define that your normal text is red. You can also define classes and refer to those for longer formatting against any HTML tag you might want to change.

Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 14 June 2004 :  00:09:09  Show Profile  Visit Alfred's Homepage
quote:
Not really, the SSI (Server Side Include, or "include file" as you say) is for including the same code in numerous pages

Well, I guess that is what I really was looking for - to be able to have the same basic page features in all the pages I chose to, without repeating the code each time.
BUt I remember that it only works in ASP files.
Which is no problem, really, is it? I just managed a couple of test files, pretending to be .asp, but really containing mostly htm only, and the SSI stuff works just pefect in it.
So, did I reinvent the wheel now?

Alfred
The Battle Group
CREDO
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 14 June 2004 :  00:18:51  Show Profile
Not quite
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 14 June 2004 :  00:25:28  Show Profile  Visit Alfred's Homepage
quote:
Originally posted by laser

Not quite

That probably means mine isn't as round, right?

Alfred
The Battle Group
CREDO
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 21 June 2004 :  06:04:54  Show Profile
Alfred, if you still want to look into CSS (which I can highly recommend as you'll be able to make changes to part of the site, like font sizes, colors etc. by editing only one file) you should look at TopStyle ( http://www.bradsoft.com/topstyle/index.asp ). It's the best CSS editor I've seen, and quite easy to get the hang of to.

Also, look at the different websites you frequent to see if they use CSS files. Download them, open them and see what they've done.
It'll be way too much at first, but it'll give a good impression of what can be done with CSS.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07