Re: [WSG] linking to images with //
dear all even is if / is repeated more than once in any URL, it is interpreted by most browsers as just one / You can try this on any site you visit which has subfolders.but if the website is using a external CSS and images in another subfolder it won't show. for e.g. the pages is domain.com/pages/page1.html, using images ../images/ then there could be some problem, though the page will still show. Alexander www.ecreeds.com On Feb 1, 2008 3:31 AM, Taco Fleur [EMAIL PROTECTED] wrote: Hello all, quick question; we signed up for scanalert.com and been given some HTML code to place a icon on our search engine www.clickfind.com.au I placed the code on the pages without really paying attention to it, after a while I discovered the image was linked as src=//images.scanalert.com/meter/www.clickfind.com.au/12gif I never seen this before, but it worked! I changed it to src= http://images.scanalert.com/meter/www.clickfind.com.au/12gif; and now it doesn't seem to load anymore, for an example see: http://www.clickfind.com.au/about-clickfind.cfm right next to Yahoo Web Service the scanalert icon should load. I have no idea whether the way they linked to the image is valid, does anyone know? I guess if it is, linking to the images that way would overcome any issues with linking to an image over HTTP or HTTPS Kind regards, Taco Fleur -- *clickfind™ 1300 859 179* www.clickfind.com.au the new Australian search engine for businesses, products and services … *** 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] linking to images with //
Hi That's a common enough response when dealing with standards based implementations from companies that either: * do know and don't care * don't know and are scared/worried * do know, do care but don't have the resources * do know but implementation would have internal political implications (I've experienced this a few times) It's a common enough path, to paraphrase some other quotes I've seen around: 1. I don't want or need to know 2. What's this ? 3. Could be useful... 4. Let's implement it.. 5. Wow, that was easy. 6. Advocate... Personally, I wouldn't be too concerned about responses like that - especially given the two code examples are easily eliminated or placed elsewhere to be non obstrusive. Anyone who uses border=0 then complains that it is too difficult to change is either too lazy or shouldn't be doing web development, or both. As for W3C standards not being widely implemented and other generalisations - bit of a throwaway line to get you to go away. J On Feb 2, 2008 6:44 AM, David Hucklesby [EMAIL PROTECTED] wrote: On Fri, 1 Feb 2008 11:10:04 +1000, Taco Fleur wrote: On a different note: Just been speaking with ScanAlert, I tried to get them to understand that their code does not validate since they used oncontextmenu, and border=0 - I got a response saying that W3C standards is not widely accepted! Microsoft is not using it, Google is not using it and all other big companies are not using it in the US. Apparently they did a lot of research on this! I had to laugh, but then again, who am I, I could be wrong and they could be right... Maybe Google and the rest really don't care, I personally don't think so, but I'm just following the crowd! ;-) *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] linking to images with //
Hello all, quick question; we signed up for scanalert.com and been given some HTML code to place a icon on our search engine www.clickfind.com.au I placed the code on the pages without really paying attention to it, after a while I discovered the image was linked as src=//images.scanalert.com/meter/www.clickfind.com.au/12gif I never seen this before, but it worked! I changed it to src=http://images.scanalert.com/meter/www.clickfind.com.au/12gif; and now it doesn't seem to load anymore, for an example see: http://www.clickfind.com.au/about-clickfind.cfm right next to Yahoo Web Service the scanalert icon should load. I have no idea whether the way they linked to the image is valid, does anyone know? I guess if it is, linking to the images that way would overcome any issues with linking to an image over HTTP or HTTPS Kind regards, Taco Fleur _ clickfindT 1300 859 179 www.clickfind.com.au http://www.clickfind.com.au/ the new Australian search engine for businesses, products and services . *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] linking to images with //
Hi It's a bit difficult to work out what is going one given the image itself seems to be a 1x1 transparent gif. You may find that your browser is blocking these as they most likely represent web bugs, causing the issue you see. the HTML spec redirects URI info to RFC2396. In section 3. URI Syntactic Components it gives a URI syntax as scheme://authoritypath?query Further in on section 3.1 it reads: Relative URI references are distinguished from absolute URI in that they do not begin with a scheme name. Instead, the scheme is inherited from the base URI, as described in Section 5.2. So, you may actually be finding that a URI without a scheme is inheriting from the base URI. Section 5.1.3 describes how a base URI could be constructed from the retrieval URI, which I am reading that if no scheme is present the document scheme is used (http / https / ftp / scp etc etc). That being said, this is only an RFC so any support of it may be a fluke. Did you test the issue over various browsers or just one? HTH james On Fri, 1 Feb 2008 09:01:03 am Taco Fleur wrote: Hello all, quick question; we signed up for scanalert.com and been given some HTML code to place a icon on our search engine www.clickfind.com.au I placed the code on the pages without really paying attention to it, after a while I discovered the image was linked as src=//images.scanalert.com/meter/www.clickfind.com.au/12gif I never seen this before, but it worked! I changed it to src=http://images.scanalert.com/meter/www.clickfind.com.au/12gif; and now it doesn't seem to load anymore, for an example see: http://www.clickfind.com.au/about-clickfind.cfm right next to Yahoo Web Service the scanalert icon should load. I have no idea whether the way they linked to the image is valid, does anyone know? I guess if it is, linking to the images that way would overcome any issues with linking to an image over HTTP or HTTPS Kind regards, Taco Fleur _ clickfindT 1300 859 179 www.clickfind.com.au http://www.clickfind.com.au/ the new Australian search engine for businesses, products and services . *** 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] linking to images with //
James Ellis skrev: Relative URI references are distinguished from absolute URI in that they do not begin with a scheme name. Instead, the scheme is inherited from the base URI, as described in Section 5.2. // in the beginning of the URI says this is a network path. I have no idea of how the browser support for this is, or how they choose to interpret it. A single / in the beginning says this URI is relative to the domain of the document. So in a sense it's absolute, but the scheme and domain are omitted. Browser support for this is excellent. Can't find the correct references at the moment. /andersN *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] linking to images with //
Anders Nawroth wrote: // in the beginning of the URI says this is a network path. I have no idea of how the browser support for this is, or how they choose to interpret it. scanalert/hackersafe publishes their badges with the img src=//path/image.gif / method. I've yet to see a problem with it. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] linking to images with //
On Jan 31, 2008, at 5:17 PM, Anders Nawroth wrote: // in the beginning of the URI says this is a network path. I have no idea of how the browser support for this is, or how they choose to interpret it. A single / in the beginning says this URI is relative to the domain of the document. So in a sense it's absolute, but the scheme and domain are omitted. Browser support for this is excellent. Can't find the correct references at the moment. /andersN Interesting that this is the second discussion of the '//' notation I've seen across 2 different mailing lists. In the other discussion it was more around how to deal with http and https CSS images references when the image was remote. The accepted solution goven by all was to use two different CSS files. My friend Ryan Joy noted (http://www.atxryan.com/2008/01/22/breaking-with-protocol/ ) that using this '//' solved the issue in that it assumes whatever protocol being used by the delivered server. Paul Menard Paul Menard [EMAIL PROTECTED] http://codehooligans.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] linking to images with //
Well, thats the question here. It seems to work without in some browsers (if I'm not mistaken). _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kate Sent: Friday, 1 February 2008 8:31 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] linking to images with // Hi, Should'nt that beimg src='http whatever? Late *** 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] linking to images with //
Hi, Should'nt that beimg src='http whatever? Late *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] linking to images with //
In the other discussion it was more around how to deal with http and https CSS images references when the image was remote. The accepted solution goven by all was to use two different CSS files. My friend Ryan Joy noted (http://www.atxryan.com/2008/01/22/breaking-with-protocol/ ) that using this '//' solved the issue in that it assumes whatever protocol being used by the delivered server. That's what I thought it would be useful for as well. The question still remains; does it work in all browsers? I guess we've cleared up the fact that it is allowed to reference to an image like this. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] linking to images with //
I placed the code on the pages without really paying attention to it, after a while I discovered the image was linked as src=//images.scanalert.com/meter/www.clickfind.com.au/12gif I never seen this before, but it worked! I changed it to src= http://images.scanalert.com/meter/www.clickfind.com.au/12gif; and now it doesn't seem to load anymore, for an example see: http://www.clickfind.com.au/about-clickfind.cfm right next to Yahoo Web Service the scanalert icon should load. I have no idea whether the way they linked to the image is valid, does anyone know? I've seen this before but only in conjunction with Javascript that (we think) was completing the URI before requesting the graphic. We actually had the opposite issue though - without the full URI in our markup the whole page would freeze until the // request timed out. So I'm also curious to see what people here can tell us about this method! I guess if it is, linking to the images that way would overcome any issues with linking to an image over HTTP or HTTPS We thought it was probably something to do with that too. -- --- http://weblog.200ok.com.au/ --- The future has arrived; it's just not --- evenly distributed. - William Gibson *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] linking to images with //
Do you check your logs for 404s? Like I said, when I published the code as they presented it, I got some 404 errors from browsers looking for the image on our domain. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Cummiskey Sent: Friday, 1 February 2008 9:46 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] linking to images with // Anders Nawroth wrote: // in the beginning of the URI says this is a network path. I have no idea of how the browser support for this is, or how they choose to interpret it. scanalert/hackersafe publishes their badges with the img src=//path/image.gif / method. I've yet to see a problem with it. *** 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] linking to images with //
On a different note: Just been speaking with ScanAlert, I tried to get them to understand that their code does not validate since they used oncontextmenu, and border=0 - I got a response saying that W3C standards is not widely accepted! Microsoft is not using it, Google is not using it and all other big companies are not using it in the US. Apparently they did a lot of research on this! I had to laugh, but then again, who am I, I could be wrong and they could be right... Maybe Google and the rest really don't care, I personally don't think so, but I'm just following the crowd! ;-) Kind regards, Taco Fleur _ clickfindT 1300 859 179 www.clickfind.com.au http://www.clickfind.com.au/ the new Australian search engine for businesses, products and services . *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] linking to images with //
Can we please keep the discussions on topic, lately there have been a number of threads having nothing to do with standards Cheers Adam On Feb 1, 2008 10:04 AM, Taco Fleur [EMAIL PROTECTED] wrote: Do you check your logs for 404s? Like I said, when I published the code as they presented it, I got some 404 errors from browsers looking for the image on our domain. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Cummiskey Sent: Friday, 1 February 2008 9:46 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] linking to images with // Anders Nawroth wrote: // in the beginning of the URI says this is a network path. I have no idea of how the browser support for this is, or how they choose to interpret it. scanalert/hackersafe publishes their badges with the img src=//path/image.gif / method. I've yet to see a problem with it. *** 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] *** -- - http://myfitness.ning.com A community of people that care about their health and fitness Free fitness videos, recipes, blogs, photos etc. -- *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] linking to images with //
ooh sorry, I thought it had to do with standards... My apologies. Thread closed. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Martin Sent: Friday, 1 February 2008 11:17 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] linking to images with // Can we please keep the discussions on topic, lately there have been a number of threads having nothing to do with standards Cheers Adam On Feb 1, 2008 10:04 AM, Taco Fleur [EMAIL PROTECTED] wrote: Do you check your logs for 404s? Like I said, when I published the code as they presented it, I got some 404 errors from browsers looking for the image on our domain. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Cummiskey Sent: Friday, 1 February 2008 9:46 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] linking to images with // Anders Nawroth wrote: // in the beginning of the URI says this is a network path. I have no idea of how the browser support for this is, or how they choose to interpret it. scanalert/hackersafe publishes their badges with the img src=//path/image.gif / method. I've yet to see a problem with it. *** 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] *** -- - http://myfitness.ning.com A community of people that care about their health and fitness Free fitness videos, recipes, blogs, photos etc. -- *** 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] linking to images with //
This is interesting! Are saying it should be src=://images.scanalert.com. Instead of src=//images.scanalert.com ? I have not tested it in any other browser than i.e6 and firefox 2 The only reason I found out about the way it was coded was because I got a report of 404 errors, so I'm thinking you might be right in regards to it working in some browsers and not in others. I got a few 404 errors like http://www.clickfind.com.au//images.scanalert.com. So I'm guessing the browser did not detect the schema there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Ellis Sent: Friday, 1 February 2008 8:45 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] linking to images with // Hi It's a bit difficult to work out what is going one given the image itself seems to be a 1x1 transparent gif. You may find that your browser is blocking these as they most likely represent web bugs, causing the issue you see. the HTML spec redirects URI info to RFC2396. In section 3. URI Syntactic Components it gives a URI syntax as scheme://authoritypath?query Further in on section 3.1 it reads: Relative URI references are distinguished from absolute URI in that they do not begin with a scheme name. Instead, the scheme is inherited from the base URI, as described in Section 5.2. So, you may actually be finding that a URI without a scheme is inheriting from the base URI. Section 5.1.3 describes how a base URI could be constructed from the retrieval URI, which I am reading that if no scheme is present the document scheme is used (http / https / ftp / scp etc etc). That being said, this is only an RFC so any support of it may be a fluke. Did you test the issue over various browsers or just one? HTH james On Fri, 1 Feb 2008 09:01:03 am Taco Fleur wrote: Hello all, quick question; we signed up for scanalert.com and been given some HTML code to place a icon on our search engine www.clickfind.com.au I placed the code on the pages without really paying attention to it, after a while I discovered the image was linked as src=//images.scanalert.com/meter/www.clickfind.com.au/12gif I never seen this before, but it worked! I changed it to src=http://images.scanalert.com/meter/www.clickfind.com.au/12gif; and now it doesn't seem to load anymore, for an example see: http://www.clickfind.com.au/about-clickfind.cfm right next to Yahoo Web Service the scanalert icon should load. I have no idea whether the way they linked to the image is valid, does anyone know? I guess if it is, linking to the images that way would overcome any issues with linking to an image over HTTP or HTTPS Kind regards, Taco Fleur _ clickfindT 1300 859 179 www.clickfind.com.au http://www.clickfind.com.au/ the new Australian search engine for businesses, products and services . *** 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] Linking Background Images
You're in luck - ALA did an article in Accessible Image maps recently http://www.alistapart.com/articles/imagemap/ On Mon, 5 Jul 2004 12:49:30 -0600, Shane Helm [EMAIL PROTECTED] wrote: This looks good. Is there a way to specify more links with one image? What I mean is, can you make a background image an image map? Or better yet, can you have a image referenced in CSS that have have hot spots for the image to make it an image map? Or is the best solution to have an image in the html file and specify the map there (keeping content separated)? My true problem is that I have started hand coding just about all my code, but I still have to rely on Dreamweaver to click on my image and then put in hot spots for an image map. Is there a better way or are image maps considered as being unaccessible? Sorry for all the questions. This may be all summed up in one answer. Thank you, Shane Helm { sonzeDesignStudio On Jul 4, 2004, at 9:19 PM, Lee Roberts wrote: Ok, my question is why the H2? What standard are you trying to promote with that concept? Using an H2 in that manner breaks accessibility. Why wouldn't you do this? a#bG{ background: url(image.gif) no-repeat; height: 20px; width:220px; display: block; line-height: 20px;} a href=# id=bG title=destination of the link/a I hope this helps. Sincerely, Lee Roberts http://www.roserockdesign.com http://www.applepiecart.com * 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] Linking Background Images
Check out this article: http://www.alistapart.com/articles/imagemap/ -- Iain Gardiner http://www.firelightning.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shane Helm Sent: 05 July 2004 19:50 To: [EMAIL PROTECTED] Subject: Re: [WSG] Linking Background Images This looks good. Is there a way to specify more links with one image? What I mean is, can you make a background image an image map? Or better yet, can you have a image referenced in CSS that have have hot spots for the image to make it an image map? Or is the best solution to have an image in the html file and specify the map there (keeping content separated)? My true problem is that I have started hand coding just about all my code, but I still have to rely on Dreamweaver to click on my image and then put in hot spots for an image map. Is there a better way or are image maps considered as being unaccessible? Sorry for all the questions. This may be all summed up in one answer. Thank you, Shane Helm { sonzeDesignStudioT * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
[WSG] Linking Background Images
Greetings, I have two questions please. 1. Is there a way to link background images? I want to link my banner image, which is currently set as a div background image, back to the homepage . 2. Can I specify image sizes within my css definition? Here are two scenarios: a. background image - #contentWrapper{background:#fff url(images/banner_whole_2.jpg) repeat-x;} b. html source: img src="" width="96px" height="32px" alt="Picture" / (Assume that I want all images to display in these dimensions. Thanks so much for your help. Mary
Re: [WSG] Linking Background Images
On Sun, 4 Jul 2004 13:44:28 EDT, [EMAIL PROTECTED] wrote: 1. Is there a way to link background images? I want to link my banner image, which is currently set as a div background image, back to the homepage . No, wanting to do that would make it content, which means it should go in the html. 2. Can I specify image sizes within my css definition? Here are two scenarios: Well, yes, if you are defining the img tag, attributes width and height apply. As a background-image, no... although I suppose a sort of bodgie could be done by using the x and y dimensions, but that wont work on your repeating-x example. HIH! Lea -- Lea de Groot Elysian Systems - I Understand the Internet http://elysiansystems.com/ Web Design, Usability, Information Architecture, Search Engine Optimisation 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] Linking Background Images
yes there is a way you can link background images; but a little more mark up is required. lets say you have h2 id=bG/h2 and styles as h2#bG{background: url(image.gif) no-repeat;height:20px;width:220px} now adding some extra markup inside that h2 as follows h2 class=savea href=# title=Sign up today!/a/h2 with styles as h2.save a{display:block;height:20px;width:220px} you've now got a clickable background image. I use this tech throughout a project im working on right now...i call it the Steven Carlisle Background Click or SCBclik for short :p HTH -peace _ SEEK: Now with over 50,000 dream jobs! Click here: http://ninemsn.seek.com.au?hotmail * 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] Linking Background Images
Bummer! Oh well, I'll just have to find another way to do this then. Thanks for your help, Lea. Ans: No, wanting to do that would make it content, which means it should go in the html. Question: 1. Is there a way to link background images?
Re: [WSG] Linking Background Images
in my previous example i explained it; but the final mark up for that quick example should of been: h2 id=bG class=savea href=# title=The clickable bG/a/h2 -peace _ Protect your inbox from harmful viruses with new ninemsn Premium. Go to http://ninemsn.com.au/premium/landing.asp?banner=emailtagreferrer=hotmail * 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] Linking Background Images
Ok, my question is why the H2? What standard are you trying to promote with that concept? Using an H2 in that manner breaks accessibility. Why wouldn't you do this? a#bG{ background: url(image.gif) no-repeat; height: 20px; width:220px; display: block; line-height: 20px;} a href=# id=bG title=destination of the link/a I hope this helps. Sincerely, Lee Roberts http://www.roserockdesign.com http://www.applepiecart.com -Original Message- From: 7 sinz [mailto:[EMAIL PROTECTED] Sent: Sunday, July 04, 2004 5:12 PM To: [EMAIL PROTECTED] Subject: Re: [WSG] Linking Background Images in my previous example i explained it; but the final mark up for that quick example should of been: h2 id=bG class=savea href=# title=The clickable bG/a/h2 -peace _ Protect your inbox from harmful viruses with new ninemsn Premium. Go to http://ninemsn.com.au/premium/landing.asp?banner=emailtagreferrer=hotmail * 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] Linking Background Images
Ok, my question is why the H2? What standard are you trying to promote with that concept? none its a concept, something i felt like doing- you can use it with any tag, i chose a heading- because on the project i use it on; the links are headings. If it's not your fancy, dont use it. -peace _ Protect your inbox from harmful viruses with new ninemsn Premium. Go to http://ninemsn.com.au/premium/landing.asp?banner=emailtagreferrer=hotmail * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *