|
| |
|
|
erinatkins
Posts: 3072 From: Mechanicsville VA USA Status: offline
|
RE: css templates - 10/17/2003 10:32:46
Pretty cool site. :-) Nice examples also.
_____________________________
All Hail Great Spooky - Master of the Outfront Forums. He can make you or break you.
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: css templates - 10/17/2003 10:42:19
I thought that they would be good learning examples of how to lay out the various sites. One thing though as I was looking at the styles on one of them, I noticed that they use ID more then once. My understanding of ID is that you only use it one time per document. Its on the two column fixed width with header and footer template. I haven't really looked at the rest yet, though Have downloaded them to look at them.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
erinatkins
Posts: 3072 From: Mechanicsville VA USA Status: offline
|
RE: css templates - 10/17/2003 11:01:27
That was my understanding also. I thought with the ID selector you identify an element to be an *unique instance* in a document. You assign this element a name, like the NAME attribute of a form element, and it can be applied only once in a document, and this style rule with the ID selector can only apply to one single element. Maybe they changed this?
_____________________________
All Hail Great Spooky - Master of the Outfront Forums. He can make you or break you.
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: css templates - 10/17/2003 11:13:49
No, nothing that I Have read has changed in regards to the id. I would imagine where he has id listed you could change this to class. If you notice the css for the template that I mentioned above he actually has two style sheets. One is for for layout, the other is for presentaion, It looks like how he is doing this is the two sides he is styling and then he is styling the content? If I am making sense here. I know what I want to say, but don't know if it is coming across as I wish, lol.
< Message edited by c1sissy -- 10/17/2003 11:14:39 AM >
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: css templates - 10/18/2003 18:29:02
ID Selectors [CSS1|CSS2] [IE3|N4|O3.5] Description: This selector was designed to match the value of the HTML 'ID' attribute, but SGML/XML both allow the ID attribute value type. With this type of attribute, each element in a document can have a uniquely referenceable label. This Selector syntax precedes the attribute value with a pound symbol ("#".) An element name or Universal Selector may be used in front of the ID Selector, but it is not necessary. The effect of this selector can also be achieved using an Attribute Value Selector, but this form of Selector has a higher cascading precedence. Syntax: #[ID Label] { [Declaration Block] } For some really great CSS templates look here: http://www.templateroad.com/products/customer/home.php?cat=256
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: css templates - 10/18/2003 20:56:30
I've never heard of a "only one ID per document rule" You might be thinking that no two ID's can share the same value within a document? From the w3c.org site: ID selectors Document languages may contain attributes that are declared to be of type ID. What makes attributes of type ID special is that no two such attributes can have the same value; whatever the document language, an ID attribute can be used to uniquely identify its element. In HTML all ID attributes are named "id"; XML applications may name ID attributes differently, but the same restriction applies. The ID attribute of a document language allows authors to assign an identifier to one element instance in the document tree. CSS ID selectors match an element instance based on its identifier. A CSS ID selector contains a "#" immediately followed by the ID value. http://www.w3.org/TR/CSS2/selector.html#id-selectors
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: css templates - 10/18/2003 22:51:49
Ok, now I am totally confused. i could see maybe mis reading something but I notice that Erin has read somethign basically the same as I have. I see I have lots more reading to do, btw, thanks for the link Gil, I appreciate it. I'm off to read more. just sign me SOOOO Confused!
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
Nancy
Posts: 3626 Joined: 11/9/1999 From: Nebraska Status: offline
|
RE: css templates - 10/18/2003 23:06:35
http://www.w3.org/TR/REC-CSS2/selector.html section 5.9 is on ID's Nancy
< Message edited by Nancy -- 10/18/2003 11:07:05 PM >
_____________________________
Easy Estimates -- is a simple to use tool to quickly build a Web site page enabling visitors to quickly and easily create an estimate of the cost of services that you provide.
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: css templates - 10/19/2003 8:16:43
thanks for the link Nancy, I'm off now to print it out for reference and reading. <edit> same link as Gill gave as well, thanks to both of you.</edit>
< Message edited by c1sissy -- 10/19/2003 8:22:47 AM >
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: css templates - 10/20/2003 20:55:40
Nancy and Gil: Ok, now with class you can use it basically as much as you wish right? Id, I think I might have it. Pardon my goofy example, lol You can use id for something, but not for something else. If you want an id on something else, you can't use it on something. ?
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
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
|
|
|