Re: [WSG] Apply ALT tag to background image?
No, there is no way to apply ALT to the background images, only for IMG tags. Max. 2008/3/24, Kristine Cummins <[EMAIL PROTECTED]>: > > > > I've got a background graphic designated in my style sheet – is there a way > to apply an alt and/or title tag to that or would I need to just not make it > a background image? My intuition is the latter – but just if there is a > slight chance…. > *** > 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] a a:hover
Hi Laert This works: a.someclass:hover {} and then apply class to the link. Max. 2008/3/20, Laert Jansen <[EMAIL PROTECTED]>: > Hello everyone! > > Well, I looking for some help. I don´t know how to create more than one a > a:hover > > I have my css here > > a { > color: #FFF; > text-decoration:none; > > } > > a:hover { > color:#FFF; > text-decoration:underline; > } > > and the html where the word "launch" should have another a a:hover > > > > Bittencourt Lopes > Role.Website design > Agency.http://www.220i.com.br"; > target="_blank">220i > href="http://www.bittencourtlopes.com.br/"; target="_blank" > title="Launch">Launch > > > > How do I apply a different a ahover to this link? > > Thanks a lot > -- > Laert Jansen > www.laertjansen.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] ***
Re: [WSG] Best Practice to Offer Different Formats of Documents
that's because IE6 doesn't support attribute selectors. but you can use classes instead. Max. 2008/2/17, Designer <[EMAIL PROTECTED]>: > Matt Fellows wrote: > > > There is a nice article [1] that can show you how to automatically > > style links with little icons depending on the extension of the file > > it points to if you are interested. > > > > Cheers, > > > > Matt > > > > [1] - > > http://www.askthecssguy.com/2006/12/showing_hyperlink_cues_with_cs_1.html > > > > > Hi Matt, I was intrigued by the simplicity of your use of: > > a[href $='.pdf'] { >padding-right: 18px; >background: transparent url(../../sitegraphics/outofit.gif) > no-repeat center right; > } > > etc., but when I checked it in my (standalone) IE6, it failed. Is that > to be expected? (standalone IE6 gives 'funny' results sometimes). If > so, it's dead as a useful tool for me. > > Bob > www.gwelanmor-internet.co.uk > > > > > *** > 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] how to set table column widths with CSS
It won't work in IE6 and below, it doesn't supports such selectors unfortunately. Max. 2008/1/11, Alastair Campbell <[EMAIL PROTECTED]>: > On Jan 11, 2008 7:29 AM, Philippe Wittenbergh <[EMAIL PROTECTED]> wrote: > > col:first-child {width:10em;} > > col:first-child+col {width: 5em;} > > From memory, I don't think col has children as such, it's quite a headache: > https://bugzilla.mozilla.org/show_bug.cgi?id=915 > > However, a combination of col HTML attributes and the td:first-child > ones should work across IE and Firefox (and I assume Safari & Opera). > > Cheers, > > -Alastair > > > *** > 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] preserve whitespace
Hi It is non-schematic way and usually you can solve this problem with css padding property. If you don't -- use to keep whitespace. Max. 2007/12/11, Simon Cockayne <[EMAIL PROTECTED]>: > Hi, > > > > I have an HTML page and I want to (well my client wants me to) preserve > leading blanks in the value of a table data cell. > > I could use around the data. > > Or I could use an for each leading blank. > > Any others? > > What is the "standard" way to do it? > > > Cheers, > > Simon > > > > *** > 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] Simple question on forms
form elements have focus() method in javascript. plain html doesn't allow this. Cheers, Max. 2007/12/5, Minh D. Tran <[EMAIL PROTECTED]>: > Hi Everyone, > > I just have a question regarding forms. How do I set the cursor to default > on a certain form input field? > > Thanks, > M > > > > > > Looking for last minute shopping deals? Find them fast with Yahoo! Search. > *** > 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] Simple question on forms
form elements have focus() method in javascript. plain html doesn't allow this. Cheers, Max. 2007/12/5, Minh D. Tran <[EMAIL PROTECTED]>: > Hi Everyone, > > I just have a question regarding forms. How do I set the cursor to default > on a certain form input field? > > Thanks, > M > > > > > > Looking for last minute shopping deals? Find them fast with Yahoo! Search. > *** > 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] Testing emails for Outlook 2007
Hey Paul, if you have a friend with it -- set up remote desktop connection and you'll be able to use outlook. I have outlook2007 on XP, you can send email to me and i will send back a printscreen. Cheers, Max. 2007/11/6, Paul Collins <[EMAIL PROTECTED]>: > Hi all, > > Just wondering if anyone has found a clever way of testing your HTML > emails for Outlook 2007? I don't have Vista and can't see myself > buying it just yet! I thought there may be some kind of online > rendering engine setup by now, but couldn't find anything in a search. > > Cheers > Paul > > > *** > 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] window.event.keycode works for IE, not for firefox
Hi, check the following to get the answer: http://developer.mozilla.org/en/docs/Migrate_apps_from_Internet_Explorer_to_Mozilla#Event_differences Max. 2007/10/8, Simon Cockayne <[EMAIL PROTECTED]>: > Hi, > > window.event.keycode works for IE to capture key input, not for Firefox. > > Firefox throws an error "window.event has no properties". > > > Sowhat code can be used for both? > > > *** My HTML snippet: > > > ... > > > > *** My Javascript snippet: > > function setCmdKeyIE() { >var cmdkeycode = ""; >if (window.event.keyCode != 13 & window.event.keyCode != 33 & > window.event.keyCode != 34 & window.event.keyCode < 112 ) return; >... > } > > > Cheers, > > Simon > > > *** > 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] ***