Re: [WSG] Using cursor:default; on the whole page but links

2007-01-10 Thread Anders Nawroth



Mihael Zadravec skrev:
that is rigt. I will stop doing that... But than again... Opera displays 
arrow even when cursor is positiond over the text...



There are people who have problems to spot the cursor when it's the 
vertical bar. That would be a reason to use the arrow.


/anders




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



Re: [WSG] Using cursor:default; on the whole page but links

2007-01-10 Thread Anders Nawroth



Patrick H. Lauke skrev:

Quoting Anders Nawroth [EMAIL PROTECTED]:


There are people who have problems to spot the cursor when it's the
vertical bar. That would be a reason to use the arrow.


Some people have very specific problems, but will have to learn how to 
adapt their user agent, or themselves, to cope with them. Breaking 
default functionality in browsers to aid these users is not a 
sustainable solution...and in an attempt to help these people, you're 
creating problems for an other section of users who actually rely on the 
browser's default behaviour.


OK, I have now changed the text marker cursor on my own system, much 
easier to see it now :-)


/anders


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



Re: [WSG] Off-Topic: Javascript for Dummies

2006-11-03 Thread Anders Nawroth


Joseph R. B. Taylor:

my_field.focus;


my_field.focus();

/AndersN


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



Re: [WSG] remove links to self the easy way

2006-10-23 Thread Anders Nawroth


Terrence Wood skrev:
Here's the easy fix: just remove the href attribute. An anchor element 
sans ANY attribute is perfectly acceptable HTML[3]. It inherits CSS as 
expected and doesn't appear in any link collection.


I use this a lot.

Still one problem:
Sometimes it is confusing, not beeing able to tab into the menu item.
(Like in a tree menu, where the current item is a folder in the menu.)
In that case I set the href to javascript:; and use a class or id to 
style it.
(actually, I do this with client-side scripting, and have no href 
attribute in the markup)


/AndersN


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



Re: [WSG] Valid characters in class names

2006-10-20 Thread Anders Nawroth

Charles Roper skrev:

Can anyone point me to a reference (or simply post here) of characters
that are valid to use in HTML class attribute values.


Be aware that there are different rules for class names in CSS vs. HTML!

http://www.w3.org/TR/CSS21/syndata.html#q6


In CSS 2.1, identifiers  (including element names, classes, and IDs in 
selectors) can contain only the characters [A-Za-z0-9] and ISO 10646 characters 
U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot 
start with a digit, or a hyphen followed by a digit.



/anders


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



Re: [WSG] Pure CSS dropdown Menu, take II

2006-10-17 Thread Anders Nawroth

Hello!

Kepler Gelotte skrev:
What I don't want to see is people packaging the menu to resell it

or

to include it in commercial web templates.



You may want to use the GNU public license:
http://www.gnu.org/copyleft/gpl.html

or the even less restrictive GNU lesser public license:
http://www.gnu.org/licenses/lgpl.html



The LGPL would allow packaging and reselling of the menu.


/Anders


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



[WSG CMS] Etomite

2006-09-12 Thread Anders Nawroth

Hi!

Anybody here tried Etomite CMS?
http://www.etomite.org/

This is what they claim regadring web standards:
As the Etomite site itself shows, Etomite Content Management System 
respects W3C standards. There is absolutely nothing in Etomite to 
prevent you from having a fully compliant website. Remember, this site 
itself is managed with Etomite and we are currently validated to XHTML 
1.0 Strict standard.

I tried the demo, and found it pretty easy to get started with.


/AndersN



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



Re: [WSG] PNG support cross browser

2006-09-05 Thread Anders Nawroth



Tony Crockford skrev:
I understand the limitations of alpha transparency and 24 bit png, but 
is it safe to use 8bit png in place of gif files?


You can get problems with colors not matching between PNG and HTML/CSS 
colors. It has to do with Gamma values, read more here:


The Sad Story of PNG Gamma Correction
http://hsivonen.iki.fi/png-gamma/


/AndersN


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



Re: [WSG] More than one style in one class atribute ?

2006-08-26 Thread Anders Nawroth

Hi!

Raven skrev:

I create script whith some kind of WYSIWYG editor. It use BBCODE to
set text block justification, color, etc.
So, as a result, i have BBCODE like this:
[J=right][C=red]text[/C][/J]
and html code:
div class='c_red'div class='j_right'text/div/div
  


You'd better use an editor that handles classes, like TinyMCE:
http://tinymce.moxiecode.com/

Then you can set up sematic classes and use them directly in the editor.

/AndersN


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



Re: [WSG] paramter passing in HTML

2006-08-21 Thread Anders Nawroth

http://lists.evolt.org/archive/Week-of-Mon-20040126/154773.html

Maybe this will work.

/AndersN

nishak skrev:


Can u tell me how I can use JavaScript for this purpose???

-Original Message-
*From:* listdad@webstandardsgroup.org 
[mailto:[EMAIL PROTECTED] Behalf Of *Richard Conyard

*Sent:* Monday, August 21, 2006 6:47 PM
*To:* wsg@webstandardsgroup.org
*Subject:* RE: [WSG] paramter passing in HTML

As a simple answer no.

Depending on what you want to do you can get access to passed 
parameters via JavaScript (that can sit in / be linked from), a plain 
old HTML page, otherwise you have to look at programming on the server 
side.


Richard.



*From:* listdad@webstandardsgroup.org 
[mailto:[EMAIL PROTECTED] *On Behalf Of *nishak

*Sent:* 21 August 2006 14:09
*To:* wsg@webstandardsgroup.org
*Subject:* [WSG] paramter passing in HTML

Hi All,

I need to know whether it’s possible to pass parameter from plain HTML 
to other plain HTML. May be in format of var=value in URL or anything 
else??


Regards,

Nisha Kumari.


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



**
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] div in li

2006-07-14 Thread Anders Nawroth


Tee G.Peng:

Is it legal to place a div in .li?


You'll find the answers to such questions here:

http://htmlhelp.com/reference/html40/
http://htmlhelp.com/reference/html40/lists/li.html

If you learn to read DTD:s the same information is in them.
Here:
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict
you can find this line:
!ELEMENT li %Flow;
in the DTD, that states that %flow; goes inside li, and following the 
link from %flow; provides this information:

!ENTITY % Flow (#PCDATA | %block; | form | %inline; | %misc;)*

A tutorial on DTD writing/reading can be found here:
http://www.w3schools.com/dtd/


/AndersN


**
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] html validation: exactly what is it good for?

2006-07-06 Thread Anders Nawroth


Shlomi Asaf:
I have a question that crossed my mind, and i wish to get help from 
you guys: HTML Validation- what is it good for?
It saves me a lot of time. While I keep my HTML/CSS validated I can 
*immediately* spot any new errors that I have introduced and fix them 
(with help from  Firebug and HTML Tidy Firefox extensions).


This way I spend much less time trying to find out why a page doesn't 
work as intended in one of the target browsers.


/AndersN


**
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 CMS] Re: [WSG] SEC: UNCLASSIFIED:-

2006-05-30 Thread Anders Nawroth


Lachlan Hunt skrev:
We have a basic framework that provides things like XML parsing, DOM 
Manipulation and a basic database interface, but it still needs a lot 
of work and we really need more competent PHP developers with 
relatively good knowledge of web standards.

I'm a skilled Php developer with strong web standards knowledge.

I have a working closed-source standards-compliant CMS that I'm 
rewriting a bit and moving to an OSS project:

http://nornix.sourceforge.net/
https://sourceforge.net/projects/nornix

There's no Php source uploaded for now, but you can find some of it 
inside the API documentation:

http://nornix.sourceforge.net/api/
(pre-alpha!)

In the downloads area and SVN repository you can find a CSS/JS treemenu 
that is part of Nornix CMS.


I share almost all the goals of the Fidelis project. Strange :-)

/AndersN


*
The CMS discussion list for http://webstandardsgroup.org/
*



Re: [WSG] Character Set(s)

2006-05-30 Thread Anders Nawroth

Hi!

Dean Matthews skrev:

Is there a standard …or emerging standard?

I'd say you should have strong reasons to choose anything other than UTF-8.

W3C has information about encodings on the web:
http://www.w3.org/International/tutorials/tutorial-char-enc/

/AndersN

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

2006-04-12 Thread Anders Nawroth



Patrick H. Lauke skrev:

Joseph Bernhardt wrote:
I run an apache server and utilize the .htaccess file to run a php 
script on a 404 error.  This php script grabs the contents of the 
current uri to display information.  (example: 
www.joughslife.com/Rockport.html) My question is, will this have any 
effect as far as usability? 


One question: why not use mod_rewrite instead? It's cleaner from a 
conceptual point of view, and won't send out an http status of 404. 
Using the error document functionality for this seems a bit of a 
perversion of its intended use...
I thought this was the intended use of the ErrorDocument directive?! 
(what else could it be?)

And sending a 404 for a page that doesn't exist is a good thing, in my view.

I use mod_rewrite and Php for all handling of URIs, but send a 404 when 
a page is not found. You can send a normal web page with a 404 http 
status, just be careful to make the resulting HTML long enough, 
otherwise IE will display it's own error message instead. I can't 
remember the number of bytes right now ...


/AndersN

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

2006-04-12 Thread Anders Nawroth

OK, now I get it :-)

/Anders

Joseph Bernhardt skrev:

Anders,

Obviously you did not read the initial post :).  That's alright.  I am 
using a php script to display data depending on the current page.  
Example: www.joughslife.com/Rockport.html displays the page that is 
titled Rockport while www.joughslife.com/otherstuff.html would 
display the page titled otherstuff.  So, these aren't supposed to be 
404's.  I was simply using this technique to display the pages.


Anders Nawroth wrote:


Lindsay Evans skrev:
To stop the validator/robots/etc. seeing it as a 404 error, you need 
to send a 200 OK HTTP status code, you can do that in PHP using this 
line of code:


header(HTTP/1.1 200 OK);

Why would you want to see 404 pages in search results?

If you need to validate the (X)HTML, you can upload it to the 
validator in this case.

Shouldn't be any need to validate your error pages too often!

/AndersN
**
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] Max/min width for IE

2006-04-11 Thread Anders Nawroth


Ricci Angela skrev:

Following the late discussion about fluid/elastic layouts, I was wondered if 
somebody out there has some feedback concerning the use of Microsoft's Dynamic 
properties proprietary solution for fixing the lack of min/max-width support.
  
To use JScript inside CSS for IE works good, as long as scripting is 
enabled.


I do max-width in ems this way:
HTML (ignored by other browsers):

!--[if lt IE 7]span id=em—/span![endif]--

CSS (served for IE only with conditional comments in the head section 
of the HTML):

#wrapper
{
width: 740px;
width:expression(
(document.getElementById(em).offsetWidth*59 
document.body.clientWidth) ? 59.5em : auto
);
}

The span should be inside the element you want to set max-with on (to 
make the width of the em-dash correct).


Live example:
http://www.forum-antroposofi.info/

Not tested with IE in quirks mode.

/AndersN
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**