Re: [WSG] Catch 22 list problem
Actually, read this page instead: http://www.arraystudio.com/as-workshop/make-ol-list-start-from-number-different-than-1-using-css.html I just realised that is not in XHTML. On 11/10/2007, Svip <[EMAIL PROTECTED]> wrote: > Try instead. > > Regards, > Svip > > On 11/10/2007, Keryx Web <[EMAIL PROTECTED]> wrote: > > Hi all! > > > > Short version: > > > > A. is not allowed in strict HTML 4/XHTML 1.0, Spec says > > "use CSS". > > > > B. I want to start at 3. > > > > C: CSS has no means to specify a start value! > > > > Pick your poison: > > > > 1. Invalid code > > 2. Use a transitional DOCTYPE > > 3. Set value with DOM-script > > > > > > Long version: > > > > How do we handle clear errors in the (X)HTML specs? This one seems to > > indicate: > > > > a. Lack of communication between (X)HTML WG and CSS WG at W3C > > b. Bad thinking by the (X)HTML WG (in the past - on this issue), as the > > starting value is content, not presentation. > > > > But regardless of whom I should blame there is a problem to solve. I > > would like to know which solution that you would use and why. > > > > > > Lars Gunther > > > > > > *** > > 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] Catch 22 list problem
Try instead. Regards, Svip On 11/10/2007, Keryx Web <[EMAIL PROTECTED]> wrote: > Hi all! > > Short version: > > A. is not allowed in strict HTML 4/XHTML 1.0, Spec says > "use CSS". > > B. I want to start at 3. > > C: CSS has no means to specify a start value! > > Pick your poison: > > 1. Invalid code > 2. Use a transitional DOCTYPE > 3. Set value with DOM-script > > > Long version: > > How do we handle clear errors in the (X)HTML specs? This one seems to > indicate: > > a. Lack of communication between (X)HTML WG and CSS WG at W3C > b. Bad thinking by the (X)HTML WG (in the past - on this issue), as the > starting value is content, not presentation. > > But regardless of whom I should blame there is a problem to solve. I > would like to know which solution that you would use and why. > > > Lars Gunther > > > *** > 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] PNG in IE6
My preferred method is shrugging at the IE6 users and just let them see their own browser rendering PNGs as ugly as it can. /Svip On 21/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Good time of day. > > > > > 1. Your mistake: > > Addressing in Filter is from your html, not from your css. > > > > > 2. Ordinary way to support png, in my practice, is next: > > > > > With hack: > > > > > css/element.css > > css/element_ie.css > > images/logo.png > > index.html > > > > > index.html: > > -- > > > > ... > > > > > > > > > > > > > > > element.css > > --- > > #extradiv1{ > > background-image: url(../images/logo.png); > > background-attachment: scroll; > > background-repeat: no-repeat; > > background-position: center top; > > position:relative; > > height: 129px; > > width: 120px; > > margin: 0 auto; > > } > > > > > * html #extradiv1{ > > background: none; > > filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/logo.png', > sizingMethod='scale'); > > } > > > > > Without hack: > > > > > css/element.css > > css/element_ie.css > > images/logo.png > > index.html > > > > > index.html: > > -- > > > > > > ... > > > > > > > > > > > > > > > element.css > > --- > > #extradiv1{ > > background-image: url(../images/logo.png); > > background-attachment: scroll; > > background-repeat: no-repeat; > > background-position: center top; > > position:relative; > > height: 129px; > > width: 120px; > > margin: 0 auto; > > } > > > > > element_ie.css > > > > #extradiv1{ > > background: none; > > filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/logo.png', > sizingMethod='scale'); > > } > > > > > > > > This should work. > > > > > __ > > > > > Raven. Night folk studio. > > http://nightfolk.net/ > > *** > 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] and in lists
Don't you mean server sided rather than browser/user agent? /Svip On 25/03/2008, Stuart Foulstone <[EMAIL PROTECTED]> wrote: > Hi, > > RE: > > "When I hid the using display: hidden; the list would render > something like this" > > > I can't say I've ever felt the need to use these tags, but isn't hiding > the content supposed to be the job of the browser/user agent - rather than > you using CSS. > > > > On Sun, March 23, 2008 12:43 pm, Thomas Thomassen wrote: > > I was working on some examples for the use of and . > > > http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-del-and-ins/ > > > > As I was working on this I wanted to mark up a list where items had been > > added and removed. That's when I realised that you can't wrap up > > or in or elements because , and only allows > > list items as their direct child. > > > > The and then have to be wrapped inside the list item. > > > > > > Item 1 > > Item 2 > > Item 3 > > > > > > When I hid the using display: hidden; the list would render > > something like this: > > > > * Item 1 > > * > > * Item 3 > > > > Because I could wrap up the entire list item, the bullet point would still > > remain. > > > > To me it appears illogical to not wrap the or around the list > > items when you add and remove items to the list. I'm guessing it's a case > > where every scenario wasn't accounted for when the specifications was > > written. (Yes, I know that I could add an extra class to the list item > > that I wanted to hide, but it's not the point. It shouldn't be necessary.) > > > > However, when this scenario presents itself I see it as fine to break the > > specification and mark it up like this: > > > > Item 1 > > Item 2 > > Item 3 > > > > > > This seem to render exactly as I expect it to do in every browser I've > > tested. > > > > * Item 1 > > * Item 3 > > > > > > I posted a comment about it in the W3C public HTML discussion group, > > hoping it'd be picked up and amend HTML5's specification to allow this. > > However, there's yet been any response. Is there any other place I could > > air this issue in hope of it getting heards by the authors of the next > > HTML specs? > > > > *** > > 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] How to make diagonal lines change color?
Well, you could simply change the background image to create the illusion of it changing colour. However, I think technically it is way too confusing for it to change colour when you browse the site. A different note, your page claims to be in Portuguese, when the only Portuguese text appearing on the site are in images, and all written text is English. Regards, Svip 2008/4/11, Laert Jansen <[EMAIL PROTECTED]>: > Hello everyone. > > Well there´s something I want to do but I have no idea if it´s possible to > be done and how would I do this. > > My website (www.laertjansen.com) has some two color diagonal lines as a bg. > > What I want to do is: On the mouse over color X it becomes color Y >On the mouse over color Y it becomes color X > > Is it possible to be done? > > Thanks a lot for any help > > -- > 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 way to hide form legends?
Tried "display: none;"? Regards, Svip 2008/4/30 Simon <[EMAIL PROTECTED]>: > Hi, > > I've got a search box and login area that I want to use a fieldset and > legend on for accessibility but I don't want to show the legend to normal > users. Now I can easily hide it with display: none; but I understand this is > hidden from certain screenreaders as well, which well render the benefit of > it being there pointless as they are the type of user I am implementing it > for. > > I have tried: > > .hidden { > position: absolute; > left:0px; > top:-500px; > width:1px; > height:1px; > overflow:hidden; > } > > And: > > .hidden { > position: absolute; > left: -999em; > width: 990em; > } > > But it just sits there, am I missing something obvious and has anyone had > any joy with something similar? > > Thanks very much > 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] Best way to hide form legends?
Well then, only tell him to use the hidden part for specific media, such as projection or whatever. Don't screenreaders obey that? Regards, Svip 2008/4/30 Dan Brickley <[EMAIL PROTECTED]>: > Svip wrote: > > > Tried "display: none;"? > > > > >> Now I can easily hide it with display: none; but > > Apparently so... > > > > > > > > Regards, > > Svip > > > > 2008/4/30 Simon <[EMAIL PROTECTED]>: > > > > > > > > > > > Hi, > > > > > > I've got a search box and login area that I want to use a fieldset and > > > legend on for accessibility but I don't want to show the legend to > normal > > > users. Now I can easily hide it with display: none; but I understand > this is > > > hidden from certain screenreaders as well, which well render the > benefit of > > > it being there pointless as they are the type of user I am implementing > it > > > for. > > > > > > I have tried: > > > > > > .hidden { > > > position: absolute; > > > left:0px; > > > top:-500px; > > > width:1px; > > > height:1px; > > > overflow:hidden; > > > } > > > > > > And: > > > > > > .hidden { > > > position: absolute; > > > left: -999em; > > > width: 990em; > > > } > > > > > > But it just sits there, am I missing something obvious and has anyone > had > > > any joy with something similar? > > > > > > Thanks very much > > > 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: R: [WSG] Alternative to align = center?
Speaking of "centre". W3C ought to implement British English as well. :( But yeah, the align attribute should be avoided at all cost. If you really want to align something in the centre, use; margin: 0 auto; /Svip 2008/5/3 Essential eBiz Solutions Ltd <[EMAIL PROTECTED]>: > There is the old faithful > > Image > Which as far as I'm aware is valid in XHTML strict, or the method Stuart > mentioned with the pre-set div tag. > > > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Stuart Foulstone > Sent: 03 May 2008 10:37 > To: wsg@webstandardsgroup.org > Subject: Re: R: [WSG] Alternative to align = center? > > Or use a CSS class to do the same, > > > > and > > .centre { > text-align: center; > } > > On Sat, May 3, 2008 10:22 am, Diego La Monica wrote: > > What about ? > > > > > > > > > > > > Diego La Monica > > > > Web 2.0 - Standards - Accessibilità > > > > mobile: +39 3337235382 - skype: diego.la.monica > > > > web: http://diegolamonica.info - http://jastegg.it > > > > > > > > _ > > > > Da: Simon [mailto:[EMAIL PROTECTED] > > Inviato: sabato 3 maggio 2008 11.15 > > A: wsg@webstandardsgroup.org > > Oggetto: [WSG] Alternative to align = center? > > > > > > > > Hi, > > > > > > > > I know that the align attribute such as is not > > allowed > > in XHTML Strict, but it got me thinking on what the possible alternatives > > are for a dynamic environment such as a forum? > > > > > > > > For instance if I know the image width or the total width of all the > > images > > will be the same I usually put them in a wrapper with a fixed width and > > use > > margin: 5px auto as an example. > > > > > > > > What happens if you will never know the width of the images or how many > > images someone may post, as happens on a forum I run. I've resorted to > > creating a bbcode tag that uses as that is the only > > way > > I can think of. > > > > > > > > Are these scenarios always doomed to use transitional doctypes and > > deprecated code? > > > > > > > > I'd be interested in your opinions > > > > > > > > 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] > > *** > > > > > > > *** > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > *** > > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.7/1410 - Release Date: 01/05/2008 > 17:30 > > > > > > > *** > 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] Full flash websites
I say avoid flash whenever possible. Sometimes, however, it isn't. I am just waiting for SVG to get more widely in use. That is going to be... awesome! Flash is good for use on sites on YouTube. Other things? Nah. HTML and JavaScript can easily replace flash in many many cases. Regards, Svip 2008/5/5 Michael Persson <[EMAIL PROTECTED]>: > The company I worl with has a big love for full flash websites and we have > produced some very nice but heavy and slow ones. > > What do you people, professionals and hobby standardists think about full > flash websites?? where is the usability and accessibility for flash in > general?? > > I am personally and professionally against them as they cut of the > usabiity, have bad accessibility and for me the navigation most often i > very difficult and difficult to use. > > Michael Persson > > > > *** > 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 Great Example of Poor Accessibility
Not only Mac users are locked out (of course, so are Linux users, etc.), but also users of older Windows. And you didn't even mention Vista! MSN in my opinion has too many users for the service it provides. And that service is horrible. Just recently they blocked youtube links on MSN. What's up with that? As for a good chess game, I suggest http://gameknot.com It is simple to use, works in every browser, and while I cannot exactly remember what it used, I think it was some sort of HTML form. Because gameknot allows up to several days of chess play. Of course, after it being an hour of your move, you get an email alerting you. Regards, Svip 2008/5/10 James Jeffery <[EMAIL PROTECTED]>: > Today i wanted to play a friend in a game of chess. I have a Yahoo account > so i decided to play him on Yahoo. > > Yahoo have recently upgraded their system and its causing errors for alot of > users. It seems you need to a certain version of Flash to play ( I have > Flash 9). After trying for about an hour to find a solution to the answer i > decided to use the Java client to play chess (the old method). That also > would not work and would not report any errors as to why. I have Java > enabled, but it seemed to just hang as it loaded. > > After a while i thought forget it and went to MSN to play him in chess. I > spent a while setting him up an account on MSN (he is a poor internet user). > All worked fine ... for him. Im using a Mac, so when i went to the MSN site > it said you need XP or 2000 to play and you need IE. Great! > > After 2 hours i gave up. I wanted to use Yahoo or MSN. My friend (who is old > in his age) was getting annoyed and i was annoyed. We opted to leave it and > meet up in the week for a game of chess. > > Personally i feel todays problems are a great example of poor accessibility. > > To conclude. Yahoo's new system has bugs that are affecting alot of people > and are stopping people accessing their services. MSN are trying to create > yet another centralized service where Mac users are locked out of their > services. Yahoo's problems can be seen as teething problems but MSN's are > ignorance. > > Ps. Sorry if there are spelling/grammer mistakes. I'm a little ill today and > concerntration is not at its best. > > > *** > 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] Fwd: using fieldsets and legends (outside a form) for adding structural markup
What if your fieldset is intended for an AJAX application? And thus will not require a form (as your data is not sent through the form, but is picked up by javascript)? Indeed, my opinion is that a fieldset should only contain form elements, but not necessarily be inside a form tag. I do disagree with Julián's approach. Also, if I may add, strong should only be used as an inline element (you cannot really compare hN with strong, headlines are block elements, while strong is inline) and only in a case where you have a "strong" point to make, and not a replacement for making bold text. Regards, Svip 2008/5/20 Jason Grant <[EMAIL PROTECTED]>: > Hello Julian, > > If you are unsure about what an HTML tag is there for, look up in the W3C > specs. http://www.w3.org/TR/html401/interact/forms.html#edef-FIELDSET > > It is pretty clear to me there that element exists for the > purpose of grouping form elements together, and not for other purposes. It > aids accessibility and overall meaning of (larger) forms. > > Hence I would strongly argue that should not be used outside a > and should not be used for purposes of styling for we have CSS. > > Hope this helps. > > Regards, > > Jason > www.flexewebs.com > www.flexewebs.wordpress.com > www.twitter.com/flexewebs > www.facebook.com/pages/London/Flexewebs/11264349395 > > > On Tue, May 20, 2008 at 8:44 PM, Julián Landerreche > <[EMAIL PROTECTED]> wrote: >> >> A workmate come with this idea, which then I have searched on web and >> haven't found too much information about it, but this: [1] and [2]. >> >> The idea: using fieldset and legend for adding structural markup/labes >> [3]. >> It seems that using fieldsets _outside_ forms doesn't make the code to >> invalidate. Also, in HTML 4.01, legend is required, but optional in XHTML. >> >> Currently, I like the approach of adding structural markup using a heading >> () even just a simple , >> and if necessary, hide them by CSS >> I borrowed the idea from NetRelations.se and 456bereastreet.com. >> >> Example: >> >> >> Main navigation >> >> Section 1 >> Section 2 >> Section 3 >> >> >> >> So, applying fieldset and legend this could be rewritten like this: >> >> >> Main navigation >> >> Section 1 >> Section 2 >> Section 3 >> >> >> >> Another example: a list of actions (that are in fact, simple links, so, >> it's just another navigation) where it could make even more sense. >> >> >> You can do the following >> >> Create >> Delete >> Edit >> >> >> >> Putting aside anything related to CSS styling (legends could be difficult >> to style, but aren't really difficult to hide using display:none; although >> using position: absolute; left:-px could be better for accesibility, but >> that positioning method on legends has inconsistencies across browsers): >> >> 1. Could there be accessibility issues using fieldset/legend outside a >> form? >> 2. Or could this method enhance the accessibility (in fact, structural >> labels enhance accessibility)? >> 3. Is there any other research/resource that can add some light on this? >> >> Thanks. >> Julián. >> >> [1] http://www.opendesigns.org/forum/discussion/2047/ >> [2] http://drupal.org/node/233928 >> [3] http://www.usability.com.au/resources/source-order.cfm >> >> >> >> >> >> >> >> >> >> >> *** >> 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] innerHTML assignment overflows TD cell in FF
I think the entire problem here is the purely thought up structure. With JS, you shouldn't be parsing HTML at all, you should be working at DOM levelling, which means that you need to use createElement/TextNode and appendChild rather than innerHTML. Yes, that means that the PHP must ship the HTML in a way easily parse-able for the JS, e.g. as some external XML or some generated JS which already contains the entire "creation" of the HTML. Besides, if I recall correctly, PHP5 has a built in XMLparser, so you could easily just write the HTML as you used to, and then parse it into XML elements, and then make a shipper. Alternative, and probably the method with the best result, don't apply HTML tags at all with JS, just apply the content. Why isn't the element already in the ? Oh and, how is PHP going to change the page at all now that it has been served? Through AJAX? But if you're already going that way, why not try shipping the HTML code as XML through AJAX instead? Much easier parse-able. Regards, Svip 2008/5/30 Thierry Koblentz <[EMAIL PROTECTED]>: >> >> And the node looks like this: >> >> >> >> !!main_content!! >> > >> > Try this: >> > >> > var maincontent=document.getElementById('newsnode'); >> > maincontent.firstChild.data="Hello World!"; >> > >> >> That is not changing the content of the div tag, >> or anything on the screen. > > It should. What happens when you run the following in the Firebug console? > > $('newsnode').firstChild.data="Hello World!"; > > > -- > Regards, > Thierry | http://www.TJKDesign.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] Stumped need suggestions - how to highlight two links at once
I don't think you understand what we are talking about here entirely. At first I was going to advice against it, but then I studied the image he supplied and realised that there may be something about it. Now personally, I am not for making something else move elsewhere on a page, unless your intention is to confuse the viewer. Cause I think that's what will happen here. Just keep the links "separated". The only connection is the already constructed one via the colours of the lists. But tell me, why is Blood Sugar highlighted on the left, but does not appear in the focused list? Regards, Svip P.S. I apologise for the sloppy English, but my head is a mess today. 2008/6/4 Ted Drake <[EMAIL PROTECTED]>: > First off, I'd question the usefulness of this. The disjointed relationship > between the links would merely confuse the user. > > > > It would be really ugly to do this but here you go > > > > > PressureBlood Pressure > > > > In your style sheet, you'd give position relative to the main container. > > .disjointedmess a span {display:block; position:absolute; top:450px; > left:350px;} > > .disjointedmess #bloodp span {top:500px;} > > > > As I said, this is really ugly and I would recommend against it. Actually, > scrap the whole mess. If you really, really, really need to do this, > JavaScript is the only solution. > > > > My head is starting to swirl. > > > > Ted > > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Likely, James A. > Sent: Wednesday, June 04, 2008 4:34 PM > To: wsg@webstandardsgroup.org > Subject: [WSG] Stumped need suggestions - how to highlight two links at once > > > > Hello, > > I need help/suggestions. > > Want to highlight two links at once if you rollover on of them. I attached > an example to make things easier. > > Basically if you rollover the risks on the right side of the page, the same > link would highlight in the left navigation. I am able to get this working > using target and hover if they are in the same but as you can see that > would not be the case for this. I am stumped and not sure where to look. > > Does any one have any suggestions on how this could be done while keeping > web standards in mind? > > Thanks for the help! > > James > > > > <> > > *** > 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] Firefox 3 candidate
It will replace it, unless you "backup" your Firefox 2 client and move it somewhere where Firefox 3 cannot get to it. /Svip 2008/6/18 Paul Collins <[EMAIL PROTECTED]>: > Does anyone know if it will replace your version of Firefox 2, or will > it run side by side?! > > Cheers > > > *** > 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] html vs. html
If W3C says so, I cannot see why at all. Who said a file extension should be 3 characters long? Microsoft!? Hah, don't make me laugh, just because they thought people wouldn't be able to have filenames longer than 8 characters and 3 characters for file extensions (known as the 8.3 system). People have later assumed that that is the norm. But file types like torrents (.torrent) have proven that it doesn't have to be the case. In my opinion, I prefer .html over .htm, cause the technology is called HTML, not HTM, huh? Regards, Svip 2008/6/18 Rob Enslin <[EMAIL PROTECTED]>: > Hi peeps, > > I recently started noticing that our CMS system generated .htm pages where > previously the system produced .html pages. I questioned the support staff > and was told that the W3C deemed .html as non-standard file extensions (or > rather .htm were more-widely accepted as the standard) > > Is this true? Any thoughts? > > Cheers, > > Rob > > -- > Rob Enslin > Blog: http://enslin.co.uk > Twitter: http://twitter.com/robenslin > *** > 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] Firefox 3 and script tag 'problems'
I believe this problem has always exited in Firefox. Though, I have no idea why... /me strokes beard. Regards, Svip 2008/6/24 Matijs <[EMAIL PROTECTED]>: > works > doesn't > > > > On Tue, Jun 24, 2008 at 11:38 AM, <[EMAIL PROTECTED]> wrote: >> >> Does anyone have an example of this behaviour? Not quite sure I follow >> the issue... >> >> Regards, >> Mike >> >> >> >> >-Original Message- >> >From: [EMAIL PROTECTED] >> >[mailto:[EMAIL PROTECTED] On Behalf Of Ken McInnes >> >Sent: Tuesday, June 24, 2008 1:55 AM >> >To: wsg@webstandardsgroup.org >> >Subject: [WSG] Firefox 3 and script tag 'problems' >> > >> >G'day all, >> > >> >Just a quick 'heads up' on Firefox 3 rendering compared with >> >Firefox 2 rendering. >> > >> >If you 'self-close' a script element in the head, the >> >validators will not pick it up as a problem >> > - is is well formed xml (element is self-closed) and >> > - it is validly placed (correctly placed within the 'head') >> > >> >> >> *** >> 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] iphone should not be part of your url
I see where you're coming from, but let's not forget that the iPhone's browser is (as of right now) the largest mobile browser, in the fashion, that it is basically the same browser you get on your computer. That means that you can create pages a bit differently for the iPhone, in contrast to other devices. However, that being said, I still agree with you. I'd prefer a more ambiguous term, e.g. "old-mobile.domain.com" and "new-mobile.domain.com". Or maybe something technical specific. Then use iphone.domain.com to redirect there or something. Regards, Svip 2008/7/20 Keryx Web <[EMAIL PROTECTED]>: > Matthew Pennell skrev: >> >> To that end, you either sniff for devices and/or serve mobile content on a >> different URL. > > Yes, but if "iphone" is part of your URL, what does that say to people using > Nokia, Sony-E, LG or any other smartphone? And what about Opera Mini, Opera > Mobile, MSIE Mobile (OK forget that one) and Fennec? > > Designing - with reduced content - for small screens? Yes! > > Take into consideration that Safari on the iPhone lacks a cursor (you can't > even select text, I've been told!) and a pointer (which is a "feature", not > a bug...) Yes. > > Designing for specific devices - including naming your URL? No! > > > > Lars Gunther > > > *** > 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] iphone should not be part of your url
When I say the "largest mobile browser", I mean the browser that can handle more content and layouts on a mobile device than any other. I have seen plenty of mobile phone browsers. I admit Opera Mini is great, but the Safari on the iPhone does give you the full experience as you would on your laptop/desktop. Now, personally, I don't mind sites specifically for mobile devices, cause they are lower in content, which is something you'd like on a mobile device, due to the limitations of the screen and the cost of transfer. But while I realise that 3G is limited in the US, there is no place yet where the mobile device industry is developed enough to allow for full blown websites on mobile devices. Which I believe is Apple taking a step too early. Regards, Svip P.S. I live in Denmark. 2008/7/20 Keryx Web <[EMAIL PROTECTED]>: > Svip skrev: >> >> I see where you're coming from, but let's not forget that the iPhone's >> browser is (as of right now) the largest mobile browser, in the >> fashion, that it is basically the same browser you get on your >> computer. > > The good thing about the iPhone is that suddenly USA is getting to know the > mobile web. The bad thing is that USA seems to believe that the mobile web = > iPhone. > > In Scandinavia, where I live, most people are *not* that impressed with the > iPhone, nor is it "the largest mobile browser". We have been surfing the web > on our 3G phones for quite some time now. But we welcome all (US) Americans > to the 21st century! > > > Lars Gunther > (who probably will get himself a Nokia N96 when it comes out, and even today > would take an N95 over the iPhone) > > > *** > 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] iphone should not be part of your url
Lars, I think you're forgetting an important thing though. The iPhone's Safari is very different from Safari on an iMac or Opera Mini on another mobile 3G device. Point is, while Apple will tell you the Safari on the iPhone is like the Safari you get on your iMac or MacBook, it is still limited by the small screen. So while it still is kilometres ahead of the other devices as to what its browser can deliver, it is still a completely different experience than that of Safari on the computer. Therefore, I think it is not that silly to name there be currently 2 common devices to interact with a website from, and the mobile category has a subcategory of the advance level browsing that is the iPhone's Safari. But... let's not forget that sometimes developing "apps" for specific browsers is done purely by the intention of abilities this browser applies. On several projects I don't care if it doesn't work in anything else but Firefox. Regards Svip 2008/7/20 Keryx Web <[EMAIL PROTECTED]>: > Ben Dodson skrev: >> >> I don't personally have a problem with having iphone in a URL as it is >> generally used for applications that are very specific to the iphone. > > It is 1998 and I am developing an application that is very specific to > MSIE... A strategy proved bad! > > IMO this is *exactly* the reasoning that J. Zeldman, Steve Champeon et al > protested against. A protest that started and defined the web standards > movement. > >> Yes, perhaps there should be versions for other devices (e.g. Nokia) but >> the reality is that most developers won't bother making specific sites for >> these users and instead use a generic mobile stylesheet. > > No there should not be versions for Nokias or Sony-E's or LG's or any other > device. What we perhaps need, though, is a graded browser support chart, > like Yahoo has for desktop apps. > >> The difference with the iPhone is that it's the latest bandwagon in town >> and that the majority of iPhone owners will use the internet on the phone >> (whereas the majority of Nokia phone owners won't use the web browser on the >> phone). > > The difference is that Nokia et al makes several different kinds of phones, > not all are smartphones. Every single smartphone owner I know uses the web > browser on the phone and has been doing it for quite a few years. > > It is great that the iPhone has made people aware of the mobile web, and > lowered the threshold for some to use it. But as developers we should not > care about the present, but the present and the future! Locking ourselves in > to one device is not a strategy for the future, even if iPhone shows up as > the leading mobile device in usage stats today. Remember, there once was a > time when MSIE was so dominant that as a web developer it made sense in many > ways to develop MSIE only web sites! > >> It also has a very specific style and so companies will try and cater to >> this (e.g. the facebook web app was designed to look like a native iPhone >> application). > > That I predict is a fad that will quickly go away. Site owners will soon see > the benefits of designing for the brand of the website, rather than the > brand of the device it is accessed from. > >> Of course, now there is the App store and the ability to run third party >> applications, I'm sure a lot of these iPhone specific websites will >> disappear as the developers move to offering a built in solution. > > Hopefully you are right. Off topic: The fact that people will jubilantly > welcome a solution that means they are getting locked in to a single vendor > is also beyond my understanding... > > And I am not a Mac hater. I use Macs (as well as Windows and Linux) and > listen with delight to my iPod. > > > Lars Gunter > > > *** > 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] iphone should not be part of your url
2008/7/20 David Storey <[EMAIL PROTECTED]>: > This is incredibly short sighted. Comments inline, plus one comment to an > earlier mail: > >> let's not forget that the iPhone's >> browser is (as of right now) the largest mobile browser, > > Not true. Opera Mini has more active users per week than iPhones that exist > on the market. Apple may have superior marketing, get a lot of free > advertising and are beloved by developers (I myself use a Mac and own a > iPod), but they are not the number one mobile browser. They may be one day > due to some of the things mentioned above, along with the iPhone being a > great piece of hardware and software, but not currently, and Opera Mini > continues to rise at a very healthy rate. You misunderstood me, by "larger" I was not referring to user base, I was referring to the display content. Opera Mini does not give the same amount of "full blown" content as the iPhone's Safari browser does. Not that I care about that, cause I don't think I'd need that on a mobile device yet. > On 20 Jul 2008, at 17:38, Svip wrote: > >> Lars, I think you're forgetting an important thing though. The >> iPhone's Safari is very different from Safari on an iMac or Opera Mini >> on another mobile 3G device. >> >> Point is, while Apple will tell you the Safari on the iPhone is like >> the Safari you get on your iMac or MacBook, it is still limited by the >> small screen. So while it still is kilometres ahead of the other >> devices as to what its browser can deliver, it is still a completely >> different experience than that of Safari on the computer. > > Again not true. Take the HTC Touch Diamond. It has both a superior screen > resolution, and similar hardware specs, and a full HTML browser (Opera > Mobile 9.5) with arguably greater standards compliance. Opera Mobile 9.5 > has basically the same rendering engine as Opera 9.5 on desktop. Opera has > been developing mobile browsers for years, and has a lot of that know how in > the current generation of the browser. And unlike Mini it has a full > JavaScript implementation. I was not aware of Opera Mobile, so I admit I was uniformed. >> >> >> Therefore, I think it is not that silly to name there be currently 2 >> common devices to interact with a website from, and the mobile >> category has a subcategory of the advance level browsing that is the >> iPhone's Safari. > > That would be short sighed to do that, like saying one should give a more > advanced version of a site to IE in ye olde days. As well as the Diamond I > mentioned before, there is an entire class of devices that have similar to > better specs than the iPhone that can run a similar to more advanced web > browser. Samsung i900 is another example that Opera Mobile 9.5 is running > on with the same touch screen style form factor and post 500mhz processor. > Ignoring Windows Mobile that 9.5 currently runs on, there is S60, such as > the N96 which runs another WebKit browser with the same engine as mobile > safari. > > Ignoring mobile all together, what about things like games consoles? The > Nintendo Wii browser was very popular for Opera. There could be any hit > portable (or not portable) device that could come out at any time, with a > first class browser and user experience. Designing just for iphone misses > out on that opportunity. It is fantastic for lock in though (look what mess > that has got us in on the regular desktop web - just ask the IE team and all > the issues they are having trying not to break content aimed for their > legacy browser versions). I actually have to agree with that. >> >> >> But... let's not forget that sometimes developing "apps" for specific >> browsers is done purely by the intention of abilities this browser >> applies. On several projects I don't care if it doesn't work in >> anything else but Firefox. > > Says it all really... You've never heard about having fun? I don't make useful applications for the web. >> >> >> Regards >> Svip >> >> 2008/7/20 Keryx Web <[EMAIL PROTECTED]>: >>> >>> Ben Dodson skrev: >>>> >>>> I don't personally have a problem with having iphone in a URL as it is >>>> generally used for applications that are very specific to the iphone. >>> >>> It is 1998 and I am developing an application that is very specific to >>> MSIE... A strategy proved bad! >>> >>> IMO this is *exactly* the reasoning that J. Zeldman, Steve Champeon et al >>> protested against. A protest that started and defined
Re: [WSG] how to use images and text in a menue
Try style="background:url(images/home.png") no-repeat top left; width: px; height: px;" for the first a. I'd probably do something like this: Home Then in CSS: #home-link { background: url(images/home.png) no-repeat top left; width: WIDTHpx; height: HEIGHTpx; overflow: hidden; padding-top: HEIGHTpx; } That way, people using a graphical browser won't see the text, but people using a text-based browser and search engines will see the text. Of course, you could just use alt="" in the tag, but that is not pretty either. Regards, Svip 2008/8/28 Michael Horowitz <[EMAIL PROTECTED]>: > How would people suggest if I have a menu with an image on top and text > underneath and I want both the text and the image as a link > > I'm thinking of making them link items and use css to move the image on top > of the text. Does that sound semantically correct. > > > HOME > > -- > Michael Horowitz > Your Computer Consultant > http://yourcomputerconsultant.com > 561-394-9079 > > > > *** > 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] Uppercase Tag Names
2008/9/26 James Jeffery <[EMAIL PROTECTED]> > I am at university at the moment, and they said to use uppercase text for > tag names and lowercase for attributes. I have to do it because otherwise I > will lose a mark. > > I disagreed (because it makes the source hard to read) but he said you need > to so that you can conform to HTML 4.01. > > I think this a case of someone reading far to deep into the specs. I didn't > really want to argue with him because he assumes I know nothing. I do know > that the source code has become difficult to read using that method. > I may sound a bit rebel, but if it was up to me, I would tell him to get out of the 90s, screw the mark. Then again, I have some very strange morals and such. Beliefs, I suppose you can call them. However, if I can thoroughly argue for my case, I'd do it. And usually I can. And I don't think the standard actually says you should write the tag names in uppercase, in fact, as far as I recall W3C suggests the exact opposite, *also* for HTML 4.01. Regards, Svip *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Accessible menu lists - using the pipe character as separator?
How about a list of links? If you want a separator, use some CSS styles. But for what you are asking, you are probably looking for an ul list. Regards, Svip 2008/9/27 Daisy Morgan <[EMAIL PROTECTED]> > Hello all > > I can't seem to find a definitive answer on this via Google - is it best > practice to use something like the pipe character ( | ) to separate links in > a menu so that screenreader software pauses between the list items? Any > recommended articles dealing with accessible menus in general? > > Daisy > > > > *** > 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] labels as input wrappers + in place of legend
2008/10/16 David Dorward <[EMAIL PROTECTED]> > Jason Grant wrote: > > Ok you got both of these quite wrong for following reasons: > > > > In the first instance you shouldn't use or at all. > > In the second instance you should not wrap into as the > > should quite clearly be used for denoting a label of an input > > field and not the input field itself. > Not so: > > "When [the for attribute is] absent, the label being defined is > associated with the element's contents." Which it isn't in the original example provided, the *for* attribute is provided. In addition, there is no need to use the elements around the input elements, as you can use the display: option in CSS to make them appear like a list, which is probably what you want, and not going through the hassle of adding the list HTML elements. Since it is technically not a list. My suggestion would be something to the content of: */ * *etc... * CSS: label, input { float: left; clear: left; } Or, alternatively; label, input { display: list-element; } Or just mess around with it. Dude... Also, no one has yet to answer the original question. And my suggestion is no, because can easily be configured via CSS to look and appear exactly as . So there. /Svip *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] google and validation
Care to tell us what exactly the validator tells you is wrong? /Svip 2008/10/18 designer <[EMAIL PROTECTED]> > Hello all, > > A client wants a link to google maps to shows where a property is located > (there are 30+ properties, so 30+ pages with links to google maps). > > The trouble is, the pages no longer validate because of the url needed to > get to the map. An example is: > > href=" > http://maps.google.co.uk/maps?f=q&hl=en&geocode=&q=pl28+8js&ie=UTF8&ll=50.524341,-5.02367&spn=0.017789,0.038624&t=h&z=15 > "> > > Just changing the &'s to &'s doesn't seem to do it . . . > > I feel sure someone has encountered this, and overcome it? > > Thanks, > > Bob > > > *** > 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] tag
Well first of all, you should use CSS instead of your attribute: p { text-align: justify; } The issue you are talking about is the margin of the tag. You can remove it by adding "margin:0;" to the CSS above, however, I strongely suggest you not to. Signed, Svip - sviip.dk On 11/01/06, Todd Gleaton <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am using the to justify my text. I am getting a huge > break between > the picture above and where the text starts with the tag mentioned above. > What is the > best way to rid the white space? I've seen this problem a lot but have come > to no > conclusive way of getting rid of it. > > Anyone have a good suggestion for this? > > Thankstg ** 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] CSS Icon
I thought that per standard you inserted the favicon.ico file in the parent directory to the site, and thus browsers would ask for it, and get it as they requested! The HTML is just if you specific pages on a site that needs their own favicons! signed Svip - sviip.dk On 16/01/06, Alvaro Mouriño <[EMAIL PROTECTED]> wrote: > Thanks! =) > > AlvAro > > - > 2006/1/16, Joshua Street <[EMAIL PROTECTED]>: > > favicon.ico in your website root. It's not actually anything to do > > with CSS... though you CAN set it in your element with > rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> > > > > On 1/16/06, Alvaro Mouriño <[EMAIL PROTECTED]> wrote: > > > Hi List, > > > I was just wondering if it is possible to set an icon for my site with > > > CSS (the one next to the title) > > > Either way, how do I do it? > > > Thanks, > > > > > > AlvAro > > > ** > > > The discussion list for http://webstandardsgroup.org/ > > > > > > See http://webstandardsgroup.org/mail/guidelines.cfm > > > for some hints on posting to the list & getting help > > > ** > > > > > > > > > > > > -- > > Joshua Street > > > > http://www.joahua.com/ > > +61 (0) 425 808 469 > > ** > > 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 > ** > > ** 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] .htm include file into another .htm
Actually, the best way would be to use PHP, and besides, we do not tend to call them "HTM" pages, but rather "HTML" pages. And thus the filetype after its name is useless. It could be done as following in PHP: Which would not include your "comment" mark, and I do not know either if your way is a standard, as I have never heard of it. Besides, I hate frames, and thus would not suggest your way. Note: When using PHP, you probably need to name your original file with ".php" at the end. Regards, Svip, sviip.dk On 18/01/06, KJ Callender <[EMAIL PROTECTED]> wrote: > Hi, > > I want to include a file to be included into about 10 htm pages, and to > save time me updating them individually, i want to use a include file. > > Using standards, which is the best way to achieve this: > > 1. > > 2. > > 3. > > Any body have any experience of this? > > thanks, > > Jim > > > > > -- > Kevin (Jim) Callender > > http://www.jayonline.co.uk/ > > +44 (0)7888 701 588 > +44 (0)1273 818 546 > > ** > 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] ASP, PHP and Ruby - oh my!
As far as I have read and tried Ruby, it is basically just a new language, in my opinion PHP is still the best Server Side Language around, but perhaps I should do some more tries on Ruby as I have thus far. Besides, Ruby on Rails is a simple form of Ruby, where very little programming is required, but gives you "less" control of it, in my opinion. But I thank thee again for bring up the language in question. Regards, Svip - sviip.dk On 26/01/06, Joseph R. B. Taylor <[EMAIL PROTECTED]> wrote: > Guys and Gals, > > There's certainly a mass of hype surrounding Ruby these days. > > It raises this question for me. > > I usually still use classic ASP for my server-side stuff, but have begun > playing with PHP as well, since ASP is obviously over whether its a good > tool or not. > > Now Ruby is pounding on my door, claiming to be the next best thing. > > Are many of you already using Ruby? Thus far, I've only seen that it > increases the add/update/delete coding speed. > > If the general feeling among is that this will become the method of > choice in the future, perhaps I should come on board > > If you want to keep this list clean, just email me your thoughts if you > like. > > Thanks, > -- > Joseph R. B. Taylor > Sites by Joe, LLC > http://sitesbyjoe.com > (609)335-3076 > [EMAIL PROTECTED] > ** > 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 **
[WSG] Cite in
I looked from attributes in the blockquote tag on w3schools.com (which I use when I forget some tags, since they have a pretty good reference list). It said that 'cite' is an attribute for the source of a blockquote, which makes sense. However, when I tried to use it, I saw no difference, not something when I hovered the blockquote or right clicked. I am yet only tried Firefox, as I haven't bothered installing other browsers yet. I know Mozilla is installed, but I suppose the Gecko engine does the same in both browsers. But my question is; does any browser use the cite attribute in the blockquotes? Regards, Svip - sviip.dk ** 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] Cite in
Oh my, that is extremely well, I like that. Thank you very much for that information. :) Is it possible to export it as a link () instead of plain text using content:? Regards, Svip - sviip.dk On 26/01/06, russ - maxdesign <[EMAIL PROTECTED]> wrote: > > It said that 'cite' is an attribute for the source of a blockquote, > > which makes sense. However, when I tried to use it, I saw no > > difference, not something when I hovered the blockquote or right > > clicked. > > It is also possible to display the cite attribute using attribute selectors, > (except in the wondrous IE). A quick example: > > HTML > - > http://www.site.com";> > Lorem ipsum dolor > > > CSS > > blockquote[cite]:after > { > content: "Source: " attr(cite); > display: block; > } > > The result should show the following at the end of the blockquote contents > (in attribute selector supporting browsers): > "Source: http://www.site.com"; > > Thanks > Russ > > ** > 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] A web culture
We could make our own? Hmmm... I've got a bass. :P Anyways, I have heard a lot of songs about the Internet. Most songs on the Internet, but also some by normal bands. I think DeviantArt should have some Web Art, aye? And isn't webdesign an art? :P /me runs. On 30/06/05, Mark B <[EMAIL PROTECTED]> wrote: > Laurie Anderson did Puppet Motel years ago, on her Bright Red CD. More > or less about IRC. > > On 6/30/05, Thomas Ditmars <[EMAIL PROTECTED]> wrote: > > Piero Fissore wrote: > > > > > Why there is not any movie, song or books (novels) that deal about > > > web? I mean, it's an instrument that have changed our live (and it > > > will change it again). It seams like art isn't interested in. > > > > > > Why? Why do not exist a web culture? > > > > "Weballergy" by Sonata Arctica. It's a song more or less about Internet > > addiction. > > > > (Granted, it's a heavy metal song, so it's not exactly "mainstream".) > > > > ** > > 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 > ** > > ** 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] IE and linux
Hmm... According to winehq.org, WINE should run IE. I don't have Windows install anymore, so I haven't been able to check it. Instead I lent my father's machine when checking the pages in IE. But in most cases IE doesn't bother me, but when I need to see it in IE, I have to lent a Windows machine. But yes, I am quite sure WINE should be able to do it. You can always get the newest version from winehq.org, or download it through one of the major distros' package system: Debian/Ubuntu: # apt-get install wine Gentoo: # emerge wine SuSE: # yast wine I don't know about Red Hat/Fedora Core, since I've never really tried those. But downloading it off the site for it would be my first go. On 30/06/05, Alan Trick <[EMAIL PROTECTED]> wrote: > Hi, > My computer had windows and linux on it, but like to do most of my work > in linux. This is a bit of a problem when it comes to making my css work > for the browser we all know and hate, IE. Lately I've been doing > everying in linux and then copying it over to Windows (cause windows > can't read linux drives) and making a custom css file for IE. However, > this is quite a pain, esspecially if I get a good idea while doing this > and want to change something else then I have 2 versions to worry about. > > I tried googling it but I didn't get any luck. Does anyone here know if > it's possible using WINE or something? Are there and HOWTO's around? > > Thanks, > Alan Trick > ** > 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 **
[WSG] table to div tags problem
My client has asked me to make a dynamic page with PHP and such, but they'll like to keep their current design, however, I am needed to rewrite it to be supported under every browser ( before only IE supported it *ugh* ), so as you can tell, there is need for action. Their current site can be found here; www.nobelark.dk However, notice that only IE can view it, some javascript will require you to use IE. Anyways, I am rewriting the entire system, and I am wondering, cause the client want the exact same amount of spacing between the 4 elements ( the image, the list of items, the head menu and the title link ), for now I use tables so I can show them some progress soon, but I really want to use div tags. And I have been trying and trying, and it works under Opera and Firefox. But since IE is the most used browser, it needs to look the exact same in that browser, so I was wondering if anyone of you knew how to do that? My current work: www.sviip.dk/nobel/ The work without PHP: www.sviip.dk/nobel/template.html An image of how it should look: http://img202.imageshack.us/img202/360/nobelarkscreen5dn.png Of course without the guide lines Please notice that I do not have IE to view the page in. And therefore if you know a way, I will be very pleased. And yes, the content in the content area should always start from the bottom. Kind regards, Svip ** 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] Is friendly to accessibility?
To what I know, search engines, browsers and other items that reads the Internet and the Web for that matter, searches through tags like this: <[tag]*> Meaning that no matter what tag it is, it will always replace the * with... anything, cause it was assumed that when the web started, people my type in useless things in tags, and thus it has to be ignored, but if people have written something like; The browser couldn't just check for , as ( bad example I know, please kill me ) would not be that, and therefore not a break line. So instead, they used the other version. However, XHTML is meant to be read in another way, as far as I know, only Opera and Gecko takes care of the . :( Svip On 04/07/05, Alan Trick <[EMAIL PROTECTED]> wrote: > tee wrote: > > I presume is part of the standards since it passes HTML 4.01 Strict & > > XHTML 1.0 strict validation but does it accessible friendly? > > > > Coming from the print design background it always disturb me to see the > > first word of the new sentence lonely let behind with the previous sentence. > > Knowing how browsers render differently I kind of gotten over with my > > obsession most the time but once in a while client's demand pulls me back to > > the old shell. > > > > So is friendly to accessibility? > > > > Thanks! > > > > Tee > > It wouldn't be an issue for screen readers or things like google, and I > doubt it would be a problem with most text-browsers. The biggest issue > would be if people resize the screen. Then you might end up with the > last word of a sentance left on it's own line. I think the best rule of > thumb is to ask you self if the line-break is semantically relevant. > There's really no way to know if the line-break is going to be were you > think it is, so avoid using if for styling. > > Alan Trick. > ** > 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] standards form?
I wouldn't suggest doing a single multi-porpuse form, as it would simply just confuse people using the website. Split them up. Though I am not quite sure what your question is. Svip - sviip.dk On 06/08/05, Jad Madi <[EMAIL PROTECTED]> wrote: > Hi, > I'm working on multi purpose form, registration and purchase > so it become so boring form, while I was trying to have simple form, > and excited process of registration and purchase > please if you have any suggestion let me know, I'm having headache > because of this form > > > > ## Personal information ## > first name > Middle name > sure name > > ## Contact Information ## > Country > City > State > Street > Zip code > Phone number > Fax number > Email address > > ## Billing information ### > Credit card type > Credit number > Expire date > CVV2 > Billing address > Name on card > > ## Account Package information ## > username > password > Package > Domain name > > > -- > Regards > Jad madi > Personal Blogger > http://EasyHTTP.com/jad/ > Web standards Planet > http://w3planet.info/site/ > EasyHTTP Network > http://EasyHTTP.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 **