quote inside or outside anchor

View: New views
6 Messages — Rating Filter:   Alert me  

quote inside or outside anchor

by Michael Dinowitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lets say I have a piece of text that is both a quote and an anchor using the Q and A tags. Should the anchor go inside the Q or should the Q go inside the anchor? It's a strange and simple question that might just be style, but it's kind of important for a piece of a redesign in CSS.
Thanks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:41/messageid:3027
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:41
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.41

Re: quote inside or outside anchor

by James Holmes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Since Q and A are both inline elements, it really is just a choice.
Implement it that way that works best with your chosen CSS.

On 7/24/06, Michael Dinowitz <mdinowit@...> wrote:
> Lets say I have a piece of text that is both a quote and an anchor using the Q and A tags. Should the anchor go inside the Q or should the Q go inside the anchor? It's a strange and simple question that might just be style, but it's kind of important for a piece of a redesign in CSS.

--
CFAJAX docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:41/messageid:3028
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:41
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.41

RE: quote inside or outside anchor

by Sandra Clark :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anchor should go inside the <q> or <blockquote> tags. Since an anchor (<a>)
tag is an inline layout item, it can be contained by, but cannot contain a
block level element (quotes)


Sandra Clark
==============================
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility

CSS HANDS ON
New York City, October 10-13, 2006.
http://www.shayna.com/index.cfm?fuseaction=training.syllabus_display&id=1



-----Original Message-----
From: Michael Dinowitz [mailto:mdinowit@...]
Sent: Sunday, July 23, 2006 8:55 PM
To: CSS
Subject: quote inside or outside anchor

Lets say I have a piece of text that is both a quote and an anchor using the
Q and A tags. Should the anchor go inside the Q or should the Q go inside
the anchor? It's a strange and simple question that might just be style, but
it's kind of important for a piece of a redesign in CSS.
Thanks



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:41/messageid:3029
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:41
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.41

Re: quote inside or outside anchor

by James Holmes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

q is an inline element, not block-level; blockquote is the block-level element.

On 7/24/06, Sandra Clark <sllists@...> wrote:
> Anchor should go inside the <q> or <blockquote> tags. Since an anchor (<a>)
> tag is an inline layout item, it can be contained by, but cannot contain a
> block level element (quotes)

--
CFAJAX docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com//groups/CSS/message.cfm/messageid:3030
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:41
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.41

RE: quote inside or outside anchor

by Sandra Clark :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

True, unfortunately, the <q> element is not supported by most browsers.
http://www.aaronsw.com/2002/htmlquotes

I still think structurally, that the anchor should go inside both.  But for
inline elements, it really doesn't matter structurally,  do what you think
will work best with the CSS you are trying to write (do you want the anchor
to inherit from the quote, or do you want the quote to inherit from the
anchor?  

When I ask myself that question, I still opt to have the anchor inside the
quote.


Sandra Clark
==============================
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility

CSS HANDS ON
New York City, October 10-13, 2006.
http://www.shayna.com/index.cfm?fuseaction=training.syllabus_display&id=1



 
-----Original Message-----
From: James Holmes [mailto:james.holmes@...]
Sent: Monday, July 24, 2006 8:20 AM
To: CSS
Subject: Re: quote inside or outside anchor

q is an inline element, not block-level; blockquote is the block-level
element.

On 7/24/06, Sandra Clark <sllists@...> wrote:
> Anchor should go inside the <q> or <blockquote> tags. Since an anchor
> (<a>) tag is an inline layout item, it can be contained by, but cannot
> contain a block level element (quotes)

--
CFAJAX docs and other useful articles:
http://www.bifrost.com.au/blog/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CSS/message.cfm/messageid:3031
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:41
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.41

Re: quote inside or outside anchor

by James Holmes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That was my thought too - I'd prefer to specify a special a for all q
tags, rather than the other way around.

On 7/24/06, Sandra Clark <sllists@...> wrote:

> True, unfortunately, the <q> element is not supported by most browsers.
> http://www.aaronsw.com/2002/htmlquotes
>
> I still think structurally, that the anchor should go inside both.  But for
> inline elements, it really doesn't matter structurally,  do what you think
> will work best with the CSS you are trying to write (do you want the anchor
> to inherit from the quote, or do you want the quote to inherit from the
> anchor?
>
> When I ask myself that question, I still opt to have the anchor inside the
> quote.
>
>
> Sandra Clark
> ==============================
> http://www.shayna.com
> Training in Cascading Style Sheets and Accessibility
>
> CSS HANDS ON
> New York City, October 10-13, 2006.
> http://www.shayna.com/index.cfm?fuseaction=training.syllabus_display&id=1
>
>
>
>
> -----Original Message-----
> From: James Holmes [mailto:james.holmes@...]
> Sent: Monday, July 24, 2006 8:20 AM
> To: CSS
> Subject: Re: quote inside or outside anchor
>
> q is an inline element, not block-level; blockquote is the block-level
> element.
>
> On 7/24/06, Sandra Clark <sllists@...> wrote:
> > Anchor should go inside the <q> or <blockquote> tags. Since an anchor
> > (<a>) tag is an inline layout item, it can be contained by, but cannot
> > contain a block level element (quotes)
>
> --
> CFAJAX docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CSS/message.cfm/messageid:3032
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:41
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.41
LightInTheBox - Buy quality products at wholesale price!