viewer into the browser
window:
header("Content-type: application/pdf");
header("Content-Disposition: inline");
readfile('test.pdf');
So I'd recommend a link with a pdf icon and the file siz
d start with
>
> download.php?filename=../htpasswd&type=
>
It's not just you! - Very insecure - breaks all the rules
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http
g it maps to a
legitimate resource. However, I guess the point is that there may be
people on this list with limited server side knowledge who would cut and
paste something like this, so we should all be careful when submitting code.
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***
Paul Minty wrote:
> I'd like to see a microformat for this, and an external javascript, so
> that people who author these links without the aid of server side
> scripting can develop this user experience easily. Anyone seen anything
> like that?
>
> Cheers
> Paul
>
heres a generic javascript f
Kit Grose wrote:
> Just a note:
> Your function doesn't currently use the RegExp function for anything
> useful (you might as well use indexOf). RegExp is the right way to do
> it, though, so you can enforce word boundaries to match complete
> classNames only (if I want all a.pop to be new window
Nick Fitzsimons wrote:
> Word boundaries aren't right either; for exmple, they will match a
> hyphen, so matching on some-thing will match some-thing-else. As per the
> HTML spec, class names are space-separated, so you need to match on
> spaces and the beginning or end of the string.
>
of course
Rick Lecoat wrote:
> can anyone tell me what is the best accessible way (if any) of encoding
> a mailto: link? I want to make the email addresses on a site usable to
> screen reader users, but don't want them harvested by spambots.
>
> Javascripted solutions seem like they would create a headach
>> Rick Lecoat
>
>> Is there a way out what seems, to my inexperienced eyes, like
>> a catch-22
>> situation?
>
> Patrick Lauke wrote:
> Fix your spam issues at the mail server + mail client end, not at the web
> page end, would be my advice.
>
This is good advice and raises the question of w
s no solution, so as Patrick said, "Fix
your spam issues at the mail server + mail client end"
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***
Nick Fitzsimons wrote:
> On 17 Oct 2007, at 13:47, Chris Knowles wrote:
>
>> Nick Fitzsimons wrote:
>>> Word boundaries aren't right either; for exmple, they will match a
>>> hyphen, so matching on some-thing will match some-thing-else. As per the
>>>
ddress and reuses it later it may bounce.
Anyway, just an idea to try and tackle the issue differently.
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://websta
fetchPage($url);
// convert any entites in the page to plain text
$html = html_entity_decode($html);
now $html contains plain email addresses - with one line of code
surely any harvester performs this operation first?
--
Chris Knowles
**
os a harvester is sure to be written
to pattern match http://.../com/... or http://.../com/au/... or whatever
at some stage and attempt to construct an email address from it.
--
Chris Knowles
***
List Guidelines: http://w
cursor
> to appear at the start of the field in Firefox?
>
do you mind if I ask why?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***
t the cursor
in the same place in both browsers then thats a different matter. Maybe
you could clarify this?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***
Olajide Olaolorun wrote:
> It doesnt work :(
>
> I just tried it now... placed it in the default.css
>
> On 10/23/07, Tim MacKay <[EMAIL PROTECTED]> wrote:
>> #sidebar a img {border: none}
>>
I haven't looked at your code but you mentioned it not displaying a
border on hover so presumably you n
Chris Knowles wrote:
> #sidebar a:hover img {border: none}
>
I had a look at your code! - try this:
#sidebar .one-image a:hover {
border: 0 !important;
}
in your code you used:
#sidebar a:hover,.blogfoot a:hover{
border:1px solid #FFF !important;
}
because tou used imp
Chris Knowles wrote:
> Chris Knowles wrote:
>
>> #sidebar a:hover img {border: none}
>>
>
> I had a look at your code! - try this:
>
> #sidebar .one-image a:hover {
> border: 0 !important;
> }
Olajide,
because you are resetting a border of 1px to 0
y the case - so
if other links are added outside of a list an extra rule may be required
for them
the solution I have given above may add an extra rule but it solves the
problem without tampering with the existing css - so it's not
necessarily clear
Simon Cockayne wrote:
> Have you come across this "flickering" problem...is there a better
> way? Can I remove the DOM elements before they are displayed?
>
Hi Simon
you need this...
http://dean.edwards.name/weblog/2006/06/again/
Chris Knowles wrote:
> you need this...
> http://dean.edwards.name/weblog/2006/06/again/
>
in fact, I incorporated this into my own library - I found the order in
which the code tests the different browsers to matter - I think if I
remember rightly I had an issue with safari on windo
ult option does not
> change.
>
> Basically i want to center (vertically) the default option in a select box.
Hi James
you can get varying results by setting text-align: center on the select
itself and on the option elements but not in IE - I don't think theres
any way to contro
anybody see what I'm obviously missing? :?
I can see this but I'm not sure if you're obviously missing it or not:
http://www.saxleather.com.au/index.php?page=home&subrange=nipple%20clamps
but I can also see that it's a site that not everyone on
r2 (I don't think you
have one). Because it comes after the dropdown in the source some
browsers may assume it should have a higher z-index than the dropdown so
it may help to set it lower.
--
Chris Knowles
***
List Guidelines
including Outlook 2007. Enjoy!
>
I was going to suggest the same - and they also have free templates that
are already tested:
http://www.campaignmonitor.com/resources/templates.aspx
--
Chris Knowles
***
List Guidelines: ht
Rob Mason wrote:
> I am looking for a really basic, plain English guide to JavaScript.
I highly rate this book - easy to read and understand:
http://www.quirksmode.org/book/
--
Chris Knowles
***
List Guidelines: h
W3C specs[1]:
>
>
>
> Now, I read that as "closing tag optional." So I am wrong. Or am I?
>
Hi David,
there's no closing tag
is XHTML
is HTML
--
Chris Knowles
***
List Guidelines:
x27;t see why you need to do
anything other than generate the HTML with the right amount of space in
it like:
content
the browser will only display one of the spaces in the above but they
will still remain in the source - they won't be stripped out at any stage
or have I
nd maybe add a small disclaimer to
the bottom of every page stating the terms & conditions.
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/un
li {
margin: 0;
padding: 0;
}
then add back in the required amounts
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***
n I'm not sure there's ever really a choice. e.g. in your
example you would need to use both methods to cover a) and b):
a) would need you to set the style to display: none
and b) would need you to try and remove the node
--
Chris Knowles
quot;none";
}
if you're doing a lot of checking throughout your code though set a
global flag...
var DOM = document.getElementById ? true : false;
and then...
if (DOM) {
...
}
email me direct if you want to discuss as it's probably off topic by now.
--
Chris Knowles
*
ld
> only be a few words.
I don't think theres any rules about the length of definitions?
If the list has a specific order, as you've shown, then I would say use
an ordered list, if not a definition list
--
Chris Knowles
**
go ahead
> and use a definition list. If you do care about the user experience, use
> headings.
>
or if it has a specific order, use headings and paragraphs inside an
ordered list
--
Chris Knowles
***
List Guidelines: ht
are?
I would have thought take care of your users first and foremost and then
lobby the vendors is a better approach.
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://web
rticles/best_practice/IamAScreenReaderUser.asp
>
> It takes care of the issue without cheating with the markup.
>
>
thats true and that solution is fine, but looking at the code, it seems
to me you've gone to a hell of a lot of trouble - personally I would
David Hucklesby wrote:
> On Wed, 09 Jan 2008 18:13:13 +1100, Chris Knowles wrote:
>> because thats a different issue. Its an issue of the user not upgrading to
>> software
>> thats available and thats better. ...
>>
>
> Just one niggle here. "The user&quo
ink it's
right to use these client websites as a means to make a stand against
user agent vendors if it means sacrificing any of that usability.
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***
present
so content is passed on as normal. But because HTTP headers can be
changed along the response chain from server to client they can't be
relied upon.
--
Chris Knowles
***
List Guidelines: http://webstan
Chris Knowles wrote:
> Sarah Peeke wrote:
>> Hi Martin and others,
>>
>> On 19/1/08 1:45 AM, Martin Heiden wrote:
>>> 2. HTTP-Header Referrer - may be supressed by proxies/firewalls or the
>>> user
>>>You can access it via (PHP|Java|ASP|...) or
the referer header may not be
set and so if it's not then it can't be referenced.
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join
's a large resource and takes a while to download or if it's a slow
connection, or potentially crashing your browser if it freezes and you
start hitting the back button etc in an attempt to undo your action.
--
Chris Knowles
a tag does
anything for me or anyone else. Except for Microsoft of course, by
allowing them to do the right thing at last and create a decent browser
while at the same time not doing the right thing and ignoring the mess
they created
Chris Broadfoot wrote:
Chris Knowles wrote:
> I don't see how opting-in to standards by adding a meta tag does
> anything for me or anyone else. Except for Microsoft of course, by
> allowing them to do the right thing at last and create a decent browser
> while at the same t
that will break in IE8, then whats
so wrong with adding an HTTP header or a meta tag to say 'use IE7' ?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://we
27;s one of the tenets of good web development that we
embrace forwards compatibility and not backwards compatibility. I think
what they are doing flies in the face of this.
--
Chris Knowles
***
List Guidelines: http://webstandard
eems that what is so quick and simple for one group of people to do
is somehow a huge task for the other group?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandards
to do with javascript libraries that have re-ordering of elements by
drag and drop that tend to work mainly on lists. Therefore lists are
useful to wrap form elements if you are creating form building software
so the form elements can be easily reordered by non-technical users.
--
Chr
Joe Ortenzi wrote:
I would have thought so. Isn't that what the id attribute is used for?
Something for JavaScript to reference?
Chris Knowles wrote:
CK> from what I can see the reason lists have come into use in forms has a
CK> lot to do with javascript libraries that have re-
tart using markup based
on pre-written libraries and not on your natural choice. Hence, maybe
thats where this using lists in forms has come from?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/m
"We've decided that IE8 will, by default, interpret web content in the
most standards compliant way it can. This decision is a change from what
we've posted previously."
http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.asp
only way i see access keys becoming useful is if user agent vendors
agree on and implement some kind of name-spacing scheme for author
defined keys to prevent conflicts
--
Chris Knowles
***
List Guidelines: http://webstandard
Hayden's Harness Attachment wrote:
I am rebuilding a web site and have the following code in it.
.css" />
What am I doing wrong? The web site will not use the layout.css file. The
default directory is http://www.choroideremia.org/new/.
try href= not href()
--
Taco Fleur wrote:
I have a question in regards to styling a submit button.
I have the following HTML
> Would it be acceptable to just use a input of type "submit" and leave
> the value empty?
you could use:
Nancy Gill wrote:
> I can't figure out why it has to load the process three times in order
> to run.
the google explanation:
http://blogoscoped.com/google-chrome/3
--
Chris Knowles
***
List Guide
s adding attributes to tags,
the worst that can happen is your pages no longer validate - but who
cares if you are making them more accessible?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscri
Chris Taylor wrote:
>> From: Chris Knowles
>> I wouldn't be waiting for ARIA to get out of draft before using it :) It
>> has pretty good support in browsers already so get stuck in. And because
>> essentially all you are doing with ARIA is adding attributes to tags,
the changes. So do they get notified
that you've injected ARIA attributes?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.c
osting. As others have stated,
the problem you have is the technologies you require have expensive
licenses and so free hosting is going to be hard to come by. But if you
confirm it's only a small site, maybe someone out there has a bit of
spare space?
-
think
should be...
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***
uch a huge gain?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***
I would have thought the problem would be when you want to use it in a
stylesheet...
.ratingL-4.5 {...}
presumably a browser will read this as two classes. But if it's purely
there for something like javascript to grab hold of and interpret it
should be ok
--
Chris Knowles
Jen
pendent on
javascript. Without it some elements will be styled in IE, some won't
(the above comes from Introducing HTML5 by Remy Sharp and Bruce Lawson)
--
Chris Knowles
On 13/08/10 6:38 AM, Tom Livingston wrote:
List,
Here's a theory question ( i think) for ya. I'm working on a
example would have been to have said that
the content in *might* be more relevant to a search engine
than the content in - compared with and id=sidebar> which would be harder to tell apart.
--
Chris Knowles
***
List Guidelines:
try adding display: block - by default they are usually displayed as inline
in ie you need to add them via javascript before it will recognise them:
document.createElement("header");
--
Chris Knowles
On 27/09/10 8:13 PM, tee wrote:
Only the two Webkit browsers are able to
This works well...
body {
text-align: center;
}
#container {
margin: 0 auto;
text-align: left;
}
But so does this...
#container {
position: absolute;
top: 0;
left: 50%;
width: 60em;
margin-left: 0 0 0 -30em;
}
--
Chris Knowles
apologies, that should of course be...
margin: 0 0 0 -30em;
> But so does this...
>
> #container {
> position: absolute;
> top: 0;
> left: 50%;
> width: 60em;
> margin-left: 0 0 0 -30em;
> }
**
The discussion list for http://
For validation I suggest download the web developer extension for
Firefox from...
https://addons.update.mozilla.org/extensions/showlist.php?application=firefox&category=Developer%20Tools&numpg=10&pageid=3
It's a toolbar you can validate the current page with, disable style
sheets and javascript
o Nonsense
Man!
--
Chris Knowles
On 26/08/11 3:15 PM, Jay Tanna wrote:
Personally I don't go out of my way to do anything special. I design the site
as it comes and if some people can't access it - tough luck. There is no point
in spending any additional time or money in buying special
69 matches
Mail list logo