Re: [WSG] .NET sites which are XHTML 1.0 strict

2008-10-08 Thread Jamie Stewart
Give this one a try.

http://www.mddus.com

I've just finished this off, I didn't do the mark up on this so please
ignore the standard, the only thing to note is it's .Net and it validates.
The only reason it might not validate is user content but as far as .Net
code goes there should be no problem with it validating.

As far as I am aware it is impossible in .Net 1.1 but feel free to try and
find one that does.  In .net 2 you can get it to validate but you can't use
.Net forms you need to use HTML forms with your own handlers.  Using .Net
forms creates a load of issues, like inserting un-encoded actions as well as
invalid input id's for viewstate etc.

Cheers
Jamie

Jamie Stewart
Web Developer

Conscia Enterprise Systems
208 St Vincent Street
Glasgow
G2 5RL

http://www.conscia.co.uk


2008/10/8 Gareth Senior [EMAIL PROTECTED]


 Tesco.com doesn't validate.

 The Becta one does, but it's PHP.

 The challenge continues!

 On 08/10/2008 09:33, Foskett, Mike [EMAIL PROTECTED] wrote:

  Both my previous and current employer are XHTML strict:
 
  http://www.tesco.com/
  http://becta.org.uk/
 
  Tesco is a .net site.
 
  Mike Foskett
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  On Behalf Of Anthony Milner
  Sent: 08 October 2008 03:23
  To: wsg@webstandardsgroup.org
  Subject: [WSG] .NET sites which are XHTML 1.0 strict
 
  Hi,
 
  I was having a *chat* with some .NET developer colleagues and they
  challenged me to find a .NET site that achieves XHTML 1.0 strict
  compliance. Hoping to prove to them that it can be done.
 
  Does anybody know of some .NET sites which are XHTML 1.0 strict (or even
  transitional)?
 
  Thanks,
  Anthony
 
 
 
 
  ***
  List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
  Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
  Help: [EMAIL PROTECTED]
  ***
 
 
 
  ---Warning
 
  This e-mail is from outside Tesco - check that it is genuine. Tesco may
  monitor and record all e-mails.
 
 
 
   Disclaimer 
  This is a confidential email.  Tesco may monitor and record all emails.
  The
  views expressed in this email are those of the sender and not Tesco.
 
  Tesco Stores Limited
  Company Number: 519500
  Registered in England
  Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire
 EN8 9SL
  VAT Registration Number: GB 220 4302 31
 
 
 
  ***
  List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
  Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
  Help: [EMAIL PROTECTED]
  ***
 



 All correspondence, attachments and agreements remain strictly subject to
 fully executed contract. (c) GCap Media plc 2008. All rights remain
 reserved. This e-mail (and any attachments) contains information which may
 be confidential, subject to intellectual property protection and may be
 legally privileged and protected from disclosure and unauthorised use. It is
 intended solely for the use of the individual(s) or entity to whom it is
 addressed and others specifically authorised to receive it. If you are not
 the intended recipient of this e-mail or any parts of it please telephone
 020 7054 8000 immediately upon receipt. No other person is authorised to
 copy, adapt, forward, disclose, distribute or retain this e-mail in any form
 without prior specific permission in writing from an authorised
 representative of GCap Media plc. We will not accept liability for any
 claims arising as a result of the use of the internet to transmit
 information by or to GCap Media plc.

 GCap Media plc. Registered address: 30 Leicester Square, London WC2H 7LA.
  Registered in England  Wales with No. 923454


 ***
 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] Cannot go back

2008-01-17 Thread Jamie Stewart
There are a couple of ways of putting links on your page which mimic the
back button that I know of.

One is by using JavaScript, history.back() is what you will want to use.  If
you don't want to use JavaScript it is possible through code, well with .Net
at least.  You can easily access the UrlRefferer which gives you the full
URL of the previous page.

I hope this helps

Jamie.


On 17/01/2008, Simon Cockayne [EMAIL PROTECTED] wrote:

 Hi,

 I use an internal web application that someone else coded.

 Once I have navigated to URL for this web app (from whenever I was) I can
 never go back to where I came from...which is very frustrating.

 The developers of the web app say that the back button processing has been
 overridden and it is not possible to go back to the place the user was
 before they entered the web app.


 Is there no standard way to prevent the back button from really going
 back...but provide some mechanism (a different button/link on the page) to
 allow the user to go back to where they were before the app started?


 Oh..and Happy New Year.

 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] Skip nav links, tab through

2007-11-15 Thread Jamie Stewart
Hi Paul,

I've actually seen this before,  and this approach is pretty much ideal, the
only tweak you have to make is as well as having a:active you also need
a:focus and this will fix your issue.

ul.skipNav li a:focus, ul.skipNav li a:active { /* your active styles*/}

Hope this helps

Cheers
Jamie.

On 15/11/2007, Steve Green [EMAIL PROTECTED] wrote:

 There's no reason why you shouldn't be able to tab through the links in
 Firefox. Links are not on the tab sequence in Safari by default, but you
 can
 turn that on in the Preferences. I have no idea if users actually do in
 practice.

 Steve



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Paul Collins
 Sent: 15 November 2007 14:45
 To: wsg@webstandardsgroup.org
 Subject: [WSG] Skip nav links, tab through

 Hi all,

 I've added a hidden skip navigation link to my site, that I want to show
 up when you tab through each page. I'm using the method described on the
 webaim site:
 http://www.webaim.org/techniques/skipnav/#focus

 Problem is, I realised that you can't actually tab through the links on a
 page using Firefox or Safari. I am guessing this has to do with Tabbed
 Browsing shortcuts?!

 Does anyone know a better way of doing this, so when someone tabs through
 your site they get the Skip Navigation link displayed?

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




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

Re: [WSG] Best way to clear a float

2007-11-12 Thread Jamie Stewart
My preference would be to clear floats through the CSS and not through
adding in any additional markup.  The code for this is below, so any two
elements being floated to sit side by side should be put in a container with
the class .clearfix.

I use this approach purely because I view this as a presentation issue and
not a reason to add a new element to your HTML structure.  I hope this helps
and here is a link explaining the below example
http://www.positioniseverything.net/easyclearing.html

Cheers
Jamie Stewart

.clearfix:after {
content: .;
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */



On 12/11/2007, Likely, James A. [EMAIL PROTECTED] wrote:

  Hello,

 I am curious to see how others clear floats.

 Here is the problem. Div one and two float left and take 50% of the
 screen. Content is to go below the two floats.

 div style=float: leftone/div
 div style=float: lefttwo/div
 divContent/div

 In the past I would use:

 div style=float: leftone/div
 div style=float: lefttwo/div
 br style=clear: both; /
 divContent/div

 As this seemed to be the only method to make the clear work in IE. I am
 curious to see how others do this and if you are doing it with out using the
 br style=clear:both /

 What method are you using to make this work in IE?

 Thanks

 Jamie

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

2007-09-14 Thread Jamie Stewart
Drop down lists I'm not so sure but check boxes and radio buttons
definitely.

They use JavaScript and CSS and it is a form of image replacement that is
used.

Here is one example:

http://www.whatstyle.net/articles/18/pretty_form_controls_with_css

But there are many out there and as long as your check boxes degrade to the
default you will be fine.  So I suggest styling up your form using the
defaults and use the example above to enhance the look of the form only.
The example above uses CSS 3 pseudo classes but I believe he provides a
suitable alternative if you don't want to use CSS 3.

I hope this helps

Jamie.



On 14/09/2007, Mohamed Jama [EMAIL PROTECTED] wrote:

 As I recall those are controlled by the operating system so if you using
 MAC they will look nice shiny blue etc, hope that helped

 M. Jama

 big:interactive
 91 Princedale Road
 Holland Park
 London W11 4NS
 Email: [EMAIL PROTECTED]
 Direct: +44 (0)20 7313 2262
 www.biggroup.co.uk

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Maarten stolte
 Sent: 14 September 2007 14:29
 To: wsg@webstandardsgroup.org
 Subject: [WSG] prettier forms

 Hello,

 I'm looking for pointers towards tutorials on how to make a form look
 prettier; especially the selectbox/pulldown and checkboxes are of
 interest.

 Thanks for any help,

 Maarten



 ***
 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] Speaking of alt tags . . .

2007-09-11 Thread Jamie Stewart
Hi Bob,

Excellent question and I am sure you are going to receive many different
answers which may confuse the matter more!!

From my point of view I would suggest any decorative images should be styled
as CSS background images, granted this brings with it the issue of losing
it's place within the document and it becomes very hard when working with a
CMS to allow a user to have varying heights.  However, there are ways around
this.  My reasoning behind this is purely based on the fact that if an image
has no semantic meaning to a page it shouldn't exist on the page.

With regards to your logo question, I am of the belief a logo should have
alt text as this is probably the most important thing about a page, it
indicates to the user who is providing the information and they can
determine from that whether or not it is a trusted source.

Jamie.

On 11/09/2007, Designer [EMAIL PROTECTED] wrote:

 Hi all,

 What is the current wisdom about the syntax of alt tags?  I believe that
 if I have a decorative image I am supposed to put a blank tag. But I've
 also been told that the tag should be alt=  , NOT alt=, because with
 no spaces (or one) the screen reader will announce 'blank' whereas with
 two spaces it remains silent.  Other folk have said that logo's etc
 should have a descriptive alt tag whereas some say  a blank should be
 used.  Google answers vary somewhat.

 So, in summary, my questions are:

 1.  When should one use an empty tag?  and, more importantly,
 2.  What is the recommended syntax of the empty tag?

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