Re: [WSG] The correct way of placing a swf file into a XHTML webpage

2008-03-24 Thread Melissa Forrest
use javascript to insert the flash, which will also auto activate the
flash in IE and do some flash player detection

something like swfobject would do the trick
http://code.google.com/p/swfobject/

On Tue, Mar 25, 2008 at 4:09 PM, Mahendran Venkatesan
<[EMAIL PROTECTED]> wrote:
> Hi Dory,
>
> You can use 'object' tag for embedding flash files.
>
> Refer this link: http://www.alistapart.com/articles/flashsatay
>
>
> Thanks!
> Venkatesan M
>
> On 3/25/08, Dory <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I am currently working on a site that has a small flash file for
> decorative purposes. I inherited the site and want to make it web standards
> compliant. The problem: the XHTML code in the site is using the embed tag
> for the flash. Is there a way to place swf files into a XHTML webpage that
> will allow the page to validate? (I believe the embed tag has been
> deprecated.)
> >
> > Any links to references would be appreciated.
> >
> > Thank you,
> > Dory Ptak
> >
> > ***
> > 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]
> ***


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



Re: [WSG] multiple css style sheets

2008-03-01 Thread Melissa Forrest
aaah no, there is nothing invalid about more than one stylesheet
 tag in the markup

On Thu, Feb 28, 2008 at 5:17 PM, Tim MacKay <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I think its also improper markup to have more than one stylesheet  so
> @import might be a way to keep the code modular and still only have one
> style sheet link.
>
>
>
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Kane Tapping
>  Sent: Thursday, 28 February 2008 4:59 PM
>  To: wsg@webstandardsgroup.org
>
>
>  Subject: Re: [WSG] multiple css style sheets
>
>
>
>
>
>
>
>  Hi ,
>
>  I believe @import was originally used by designers to create styles
> Netscape Navigator 4 would not implement incorrectly.
>
>  Some other reasons why you might use this rather then multiple 
> declarations, include:
>
> You can declare the @import within a CSS file 

Re: [WSG] Re: Alt text for purely aesthetic images

2007-10-27 Thread Melissa Forrest
There is really no hard and fast rule that states all presentational
images should be background images, there are plenty of situations
where is is not practical or inappropriate, as others have stated  if
an images is purely for presentation than an empty alt attribute
(alt="") is appropriate.

Not all content images require alt text in the alt attribute, if the
surrounding content provides the relevant alternative text than an
empty alt attribute is appropriate.

Here is a good article on the appropriate use of alt text.
http://www.webaim.org/techniques/alttext/

- Mel

On 10/26/07, John Faulds <[EMAIL PROTECTED]> wrote:
> If the images are in the CSS, then there's no need for alt attributes.
> Conversely, if you believe an image should have alt text, then it
> shouldn't be in the CSS as a bg-image.
>
> On Fri, 26 Oct 2007 20:20:23 +1000, Simon Cockayne
> <[EMAIL PROTECTED]> wrote:
>
> > Hi again...
> >
> > Whoops...butterfingers I unwittingly hit send before completing my email.
> >
> > Anywise...here is what it should have said:
> >
> > Hi,
> >
> > WCAG 1.0 (http://www.w3.org/TR/WCAG10/) states:
> >
> > "Guideline 1. Provide equivalent alternatives to auditory and visual
> > content
> > Provide content that, when presented to the user, conveys essentially the
> > same function or purpose as auditory or visual content
> >
> > 1.1 Provide a text equivalent for every non-text element (e.g., via
> > "alt",
> > "longdesc", or in element content). *This includes*: images, graphical
> > representations of text (including symbols), image map regions,
> > animations (
> > e.g., animated GIFs), applets and programmatic objects, ascii art,
> > frames,
> > scripts, images used as list bullets, spacers, graphical buttons, sounds
> > (played with or without user interaction), stand-alone audio files, audio
> > tracks of video, and video. [Priority 1]"
> >
> >
> > I have two questions regarding images added via CSS.
> >
> > 1) I added an image for each bullet via CSS .box ul li. How do I specify
> > alt
> > text in this situation? Do I add alt text in the HTML...even though there
> > would be no image if CSS was disabled?
> >
> > 2) What is the implication (what do I need to do) for purely
> > presenation/aesthetic images?
> >
> > For example on my wife's microsite (that I built)
> > http://phd.london.edu/ygrushkacockayne/ what do I need to do, if
> > anything,
> > for the gifs that form rounded corners on the boxes, via CCS on .box,
> > box2
> > et cetera?
> >
> >
> > Cheers,
> >
> > Simon
> >
> >
> > ***
> > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> > Help: [EMAIL PROTECTED]
> > ***
>
>
>
> --
> Tyssen Design
> www.tyssendesign.com.au
> Ph: (07) 3300 3303
> Mb: 0405 678 590
>
>
>
> ***
> 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]
***



Re: [WSG] Images as content vs. images as backgrounds

2007-07-10 Thread Melissa Forrest

It really depends on the situation, there may very well be a valid reason
for using an img tag opposed to a background image for textual content.

For example you could have a list of clients, rather than just displaying
you may want to display the logos, now adding an id to each logo. These may
or may not seem like text content to some people because they are logos
after all, but its a list of clients so text would also be valid however it
doesnt make much sense using background images because you would need to
give each image an id and write css for each image.

Another reason you may use an  of background image is that you may want
the image to be on the print version of the page, using a background image
will not work as default browser settings disabled printing of backgrounds
by default so the only way to get it to print is to use an .

As long as the images has relevant alt text there is no problem, you have a
valid reason why it needs to be an image and you are not over doing it than
I personally think its fine.


On 7/11/07, Christian Montoya <[EMAIL PROTECTED]> wrote:


Hello list,

I've been talking to someone who thinks that a perfectly semantic
website has absolutely no  tags used for text in images. Could
anyone help me find some articles about using img tags vs. using
background images for navigation links or textual content where images
are being used?

--
--
Christian Montoya
christianmontoya.net .. designtocss.com


***
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]
***