[WSG] getting an "a"
Hi, Hope I don't have cooties (an imaginary bug that as children, we would avoid the person with) :) The following rule has failed to reach the desired in the following dl#contact dt#email dd a {border: 1px solid black} Contact us Tech Support Issues: Support Options Email: Chuck Ramblin' Telephone: Call Tacticalware: Snail Mail: Tacticalware Computer What have I missed in drilling down to the ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
CK wrote: dl#contact dt#email dd a {border: 1px solid black} I know that one! dd is a sibling of dt, not a child, so try: dl#contact dd a {border: 1px solid black} :) Lea -- Lea de Groot Brisbane Australia ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
Perhaps the dl#contact is not needed?On 3/29/06, CK <[EMAIL PROTECTED]> wrote: Hi,Hope I don't have cooties (an imaginary bug that as children, wewould avoid the person with) :)The following rule has failed to reach the desired in the followingdl#contact dt#email dd a {border: 1px solid black} Contact us Tech Support Issues:Support OptionsEmail: Telephone:Call Tacticalware: Snail Mail:Tacticalware Computer What have I missed in drilling down to the **The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help** -- =="The best way to predict the future is to invent it." [EMAIL PROTECTED] http://www.hopkinsprogramming.net
Re: [WSG] getting an "a"
On 3/30/06, CK <[EMAIL PROTECTED]> wrote: > Hi, > > Hope I don't have cooties (an imaginary bug that as children, we > would avoid the person with) :) > > The following rule has failed to reach the desired in the following > dl#contact dt#email dd a {border: 1px solid black} dt#contact is redundant. You don't need it because dt#email is like the highlander (there can only be one). dd a aren't children of dt#email. > > Contact us > > Tech Support Issues: > Support Options > Email: > Chuck > Ramblin' > Telephone: > Call Tacticalware: > Snail Mail: > Tacticalware Computer > > -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
On 30 Mar 2006, at 10:01 AM, CK wrote: dl#contact dt#email dd a {border: 1px solid black} Contact us Tech Support Issues: Support Options Email: Chuck Ramblin' Telephone: Call Tacticalware: Snail Mail: Tacticalware Computer is not a child of dt#email - it's a child of dl#contact. Remove dt#email from your rule. N ___ Omnivision. Websight. http://www.omnivision.com.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
I don't think you can get to that in particular and ONLY that one without assigning it a class or ID. PS: I hope we're talking about hitting the anchor for "Chuck" and only that one, yeah? R - Original Message - From: "Ben Wong" <[EMAIL PROTECTED]> To: Sent: Thursday, March 30, 2006 11:12 AM Subject: Re: [WSG] getting an "a" On 3/30/06, CK <[EMAIL PROTECTED]> wrote: Hi, Hope I don't have cooties (an imaginary bug that as children, we would avoid the person with) :) The following rule has failed to reach the desired in the following dl#contact dt#email dd a {border: 1px solid black} dt#contact is redundant. You don't need it because dt#email is like the highlander (there can only be one). dd a aren't children of dt#email. Contact us Tech Support Issues: Support Options Email: Chuck Ramblin' Telephone: Call Tacticalware: Snail Mail: Tacticalware Computer -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
> The following rule has failed to reach the desired in the following > dl#contact dt#email dd a {border: 1px solid black} > That is an incorrect path. The does not sit inside the . Instead, the and the are siblings that share the same parent - the (who I have heard is a very poor parent and doesn't look after his children well at all!). The correct path would be: dl#contact dd a {border: 1px solid black} Best to always draw a document tree if you get stuck, then it is easy to see that these two elements sit side by side. If you want to target the element inside a specific , then you'd have to add another class or id. HTH Russ HTML element family councillor ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
RE: [WSG] getting an "a"
The dd is a child of the dl, not the dt. Simply remove the dt -Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of CK Sent: Wednesday, March 29, 2006 4:02 PM To: wsg@webstandardsgroup.org Subject: [WSG] getting an "a" Hi, Hope I don't have cooties (an imaginary bug that as children, we would avoid the person with) :) The following rule has failed to reach the desired in the following dl#contact dt#email dd a {border: 1px solid black} Contact us Tech Support Issues: Support Options Email: Chuck Ramblin' Telephone: Call Tacticalware: Snail Mail: Tacticalware Computer What have I missed in drilling down to the ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
Hi, So given that fact to get to the desired I should use: dl#contact dd.email a { margin: 0 0 -2em 0; border:1px solid black} ... Chuck Ramblin' . On Mar 29, 2006, at 4:07 PM, Lea de Groot wrote: CK wrote: dl#contact dt#email dd a {border: 1px solid black} I know that one! dd is a sibling of dt, not a child, so try: dl#contact dd a {border: 1px solid black} :) Lea -- Lea de Groot Brisbane Australia ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
On 30/3/06 12:17 PM, "russ - maxdesign" <[EMAIL PROTECTED]> wrote: > Russ > HTML element family councillor Of course, Russ means "family counsellor" :-) -- Kevin Futter Webmaster, St. Bernard's College http://www.sbc.melb.catholic.edu.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
Well, yeah - although CKs' original post didn't make that clear. Move the id='email' from the to the desired - and if more than one of them needs the border, make it a class instead... N ___ Omnivision. Websight. http://www.omnivision.com.au/ On 30 Mar 2006, at 10:22 AM, Richard Czeiger wrote: Won't this then hit all the s in side all the s instead of just Chuck's ? R - Original Message - From: "Nick Gleitzman" <[EMAIL PROTECTED]> To: Sent: Thursday, March 30, 2006 12:16 PM Subject: Re: [WSG] getting an "a" On 30 Mar 2006, at 10:01 AM, CK wrote: dl#contact dt#email dd a {border: 1px solid black} Contact us Tech Support Issues: Support Options Email: Chuck Ramblin' Telephone: Call Tacticalware: Snail Mail: Tacticalware Computer is not a child of dt#email - it's a child of dl#contact. Remove dt#email from your rule. N ___ Omnivision. Websight. http://www.omnivision.com.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
Hi, Would these relationships be explained in the w3C specifications? If not what would be the best method for creating the document tree diagrams? Bowing Humbly To The Master CK On Mar 29, 2006, at 5:17 PM, russ - maxdesign wrote: Best to always draw a document tree if you get stuck, then it is easy to see that these two elements sit side by side. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
Kevin Futter wrote: Russ HTML element family councillor Of course, Russ means "family counsellor" :-) Not if he was laying down the law... N ___ Omnivision. Websight. http://www.omnivision.com.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
Hi, Both are desired, but I was being uptight about the line-height. Which could pass as is. Chris On Mar 29, 2006, at 4:20 PM, Richard Czeiger wrote: I don't think you can get to that in particular and ONLY that one without assigning it a class or ID. PS: I hope we're talking about hitting the anchor for "Chuck" and only that one, yeah? R - Original Message - From: "Ben Wong" <[EMAIL PROTECTED]> To: Sent: Thursday, March 30, 2006 11:12 AM Subject: Re: [WSG] getting an "a" On 3/30/06, CK <[EMAIL PROTECTED]> wrote: Hi, Hope I don't have cooties (an imaginary bug that as children, we would avoid the person with) :) The following rule has failed to reach the desired in the following dl#contact dt#email dd a {border: 1px solid black} dt#contact is redundant. You don't need it because dt#email is like the highlander (there can only be one). dd a aren't children of dt#email. Contact us Tech Support Issues: Support Options Email: Chuck Ramblin' Telephone: Call Tacticalware: Snail Mail: Tacticalware Computer -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
CK wrote: Would these relationships be explained in the w3C specifications? If not what would be the best method for creating the document tree diagrams? Personally, I would install Firefox and use the DOM Inspector - best thing since sliced bread! (Under Tools, if you haven't found it yet :)) Lea ~ I was first before - nyanyanya ;) -- Lea de Groot Brisbane, Australia ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a"
CK wrote: Would these relationships be explained in the w3C specifications? Yes. See the HTML, XML, SGML, CSS and DOM related specs. what would be the best method for creating the document tree diagrams? Drawing diagrams requires some highly specialised equipment known as pencil and paper. To draw a tree diagram of an HTML document, just start with the root element (or any convenient parent of the section you're interested in) and then draw branches with one child at the end, and then repeat fo r. e.g. DD +-DT | +-#text | +-DD | +-A |+-#text | +-DT | +-... +-... There's even a tree diagram showing the same kind of structure in the CSS 2.1 spec. http://www.w3.org/TR/CSS21/conform.html#user-agent Alternatively, you can use the DOM inspector in Firefox which shows that kind of structure for the entire document. -- Lachlan Hunt http://lachy.id.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a" - document trees
An elegantly worded sentence on document trees: http://www.w3.org/TR/CSS21/conform.html#doctree Or, for those who struggled with the concept of document trees (or any plant matter) there is a simpler explanation here: http://css.maxdesign.com.au/selectutorial/document_tree.htm http://css.maxdesign.com.au/selectutorial/document_ancestor.htm http://css.maxdesign.com.au/selectutorial/document_descendant.htm http://css.maxdesign.com.au/selectutorial/document_parent.htm http://css.maxdesign.com.au/selectutorial/document_child.htm http://css.maxdesign.com.au/selectutorial/document_sibling.htm http://css.maxdesign.com.au/selectutorial/document_multiple.htm > Bowing Humbly To The Master Dunno who this was aimed at but I ain't no master. No pebbles in this hand to snatch! I can't even spell, it seems :) Russ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] getting an "a" - document trees
Hi, It is rare laughing so hard, while learning so much. This thread has been an enlightening side-splitter. Thanks All, CK (Grasshopper) On Mar 29, 2006, at 6:03 PM, russ - maxdesign wrote: An elegantly worded sentence on document trees: http://www.w3.org/TR/CSS21/conform.html#doctree Or, for those who struggled with the concept of document trees (or any plant matter) there is a simpler explanation here: http://css.maxdesign.com.au/selectutorial/document_tree.htm http://css.maxdesign.com.au/selectutorial/document_ancestor.htm http://css.maxdesign.com.au/selectutorial/document_descendant.htm http://css.maxdesign.com.au/selectutorial/document_parent.htm http://css.maxdesign.com.au/selectutorial/document_child.htm http://css.maxdesign.com.au/selectutorial/document_sibling.htm http://css.maxdesign.com.au/selectutorial/document_multiple.htm Bowing Humbly To The Master Dunno who this was aimed at but I ain't no master. No pebbles in this hand to snatch! I can't even spell, it seems :) Russ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
sibling rivalry: was-RE: [WSG] getting an "a"
Of course, you dould try dl#contact dt#email + dd a {border:1px solid black;} http://www.meyerweb.com/eric/articles/webrev/27a.html -Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of russ - maxdesign Sent: Wednesday, March 29, 2006 5:17 PM To: Web Standards Group Subject: Re: [WSG] getting an "a" > The following rule has failed to reach the desired in the following > dl#contact dt#email dd a {border: 1px solid black} > That is an incorrect path. The does not sit inside the . Instead, the and the are siblings that share the same parent - the (who I have heard is a very poor parent and doesn't look after his children well at all!). The correct path would be: dl#contact dd a {border: 1px solid black} Best to always draw a document tree if you get stuck, then it is easy to see that these two elements sit side by side. If you want to target the element inside a specific , then you'd have to add another class or id. HTH Russ HTML element family councillor ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **