Re: [WSG] an inline element (inside a block element) sibling ofanother block element

2007-07-26 Thread Ryan Lin
Best way is , put your link within headers, h2 and if you want to get 
rid of margin in that, do it through CSS.
Even if you want to put in the paragraph tag, you can put a custom 
attribute - p class=sectionheadera href=../news.htmlNews lt;/a/p


It's more semantic.

Joyce Evans wrote:

I just came across some code on a website that I'm maintaining and realized
this is what this thread is about.  The code I see is:

div class=nav_sub_left
a href=../news.htmlNews  lt;/a
pTestimonials lt;/p
pa href=links.htmlPartner Links lt;/a/p
/div

Are you all saying it's not good that the first line in the div tag doesn't
have paragraph tags around it?  What if the extra space a paragraph tag
would give is not wanted?  Maybe I didn't study this thread well enough.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of E Michael Brandt
Sent: Thursday, July 26, 2007 9:38 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] an inline element (inside a block element) sibling
ofanother block element

we agree.

  




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Using target=_blank

2007-07-25 Thread Ryan Lin

Steve,

The other aspect of XHTML Strict DTD, the client won't even know unless 
I take my time to explain everything but this target stuff is something 
they will notice if they ask me to open certain links in new window. 
That's why I need arguments against this. :)


XHTML Strict and 1.1 has no target attribute, I do not know why the HTML 
5 is keeping it?


Steve Olive wrote:

On Tuesday 24 July 2007 23:49, Ryan Lin wrote:
  

Hi all,

With the XHTML Strict DTD, forcing a new window to open for a link via
target=_blank is not a valid semantic method anymore. I myself believe
that whether to open in a new or current window should be user decision,
not wed designer/developer. If I am using Strict DTD, the only way to
achieve opening the new window is through JavaScripts.

So what argument should I give to my clients not to use target=_blank
? If I say that won't validate your page, they won't care. So any
non-technical argument that I can give to them?

Ryan





The argument must be why you are using the XHTML Strict DTD, not about one 
small component of XHTML Strict.


What is interesting though is that HTML 5 is keeping the target attribute:

http://www.whatwg.org/specs/web-apps/current-work/#valid8

  




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Center Align an Unorder List

2007-07-25 Thread Ryan Lin

Hi there,

ul { display:block; width:100%; text-align:center; list-style:none}
ul li {float:left; margin-right:5px}

These two styles should get you this.
Did I do it correct? Comments?


Ryan Moore wrote:

Looking to Center Text on an unordered list.

Example:

ul
liLink 1/li
liLink 2/li
liLink 3/li
/li

Desired Effect:

Link 1 Link 2 Link 3

I don't have my CSS Code Base with me right now so hopefully someone 
can lend a hand.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*** 




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Using target=_blank

2007-07-24 Thread Ryan Lin

Hi all,

With the XHTML Strict DTD, forcing a new window to open for a link via 
target=_blank is not a valid semantic method anymore. I myself believe 
that whether to open in a new or current window should be user decision, 
not wed designer/developer. If I am using Strict DTD, the only way to 
achieve opening the new window is through JavaScripts.


So what argument should I give to my clients not to use target=_blank 
? If I say that won't validate your page, they won't care. So any 
non-technical argument that I can give to them?


Ryan


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Using target=_blank

2007-07-24 Thread Ryan Lin

Well,

I am just gathering more argument points so that the clients have 
nothing to say but to agree and accept the concept. :)


Hassan Schroeder wrote:

Ryan Lin wrote:

With the XHTML Strict DTD, forcing a new window to open for a link 
via target=_blank is not a valid semantic method anymore. I myself 
believe that whether to open in a new or current window should be 
user decision, not wed designer/developer. 


Why? If you have logical arguments about this, beyond believing,
why can't you use them to convince your clients?

Just askin' :-)





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***