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
For validation I suggest download the web developer extension for
Firefox from...
https://addons.update.mozilla.org/extensions/showlist.php?application=firefoxcategory=Developer%20Toolsnumpg=10pageid=3
It's a toolbar you can validate the current page with, disable style
sheets and javascript
:
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 size and then set
the headers as in the first example
Chris Knowles
***
List
=
It's not just you! - Very insecure - breaks all the rules
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***
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 function
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 headache
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 whether theres
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
HTML spec, class names are space-separated, so you need
saves the
address 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
= html_entity_decode($html);
now $html contains plain email addresses - with one line of code
surely any harvester performs this operation first?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
/... or http://.../com/au/... or whatever
at some stage and attempt to construct an email address from it.
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org
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 need this:
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 important
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 the image will probably
move so you may need
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 which solution is better
--
Chris Knowles
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
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 windows
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 control it in IE at all.
--
Chris Knowles
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=homesubrange=nipple%20clamps
but I can also see that it's a site that not everyone on the list may
appreciate ;)
--
Chris Knowles
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: http://webstandardsgroup.org/mail
!
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: http://webstandardsgroup.org/mail
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: http
-- form control --
Now, I read that as closing tag optional. So I am wrong. Or am I?
Hi David,
there's no closing tag
input / is XHTML
input is HTML
--
Chris Knowles
***
List Guidelines: http
generate the HTML with the right amount of space in
it like:
tdcontent/td
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 misunderstood your question?
--
Chris Knowles
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/unsubscribe.cfm
Help
;
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]
***
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
***
List Guidelines: http
= 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
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
.
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
***
List Guidelines: http
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: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe
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://webstandardsgroup.org/join/unsubscribe.cfm
Help
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
have just used different markup.
But seeing as you've already written it, then it's a good solution.
--
Chris Knowles
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 might well be using a computer
at work, school
to
standards (why would I be here otherwise?), if that means using heading
and paragraph tags instead of dl's then so be it. And I don't think 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
can be
changed along the response chain from server to client they can't be
relied upon.
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join
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 by JS document.referrer
Just out of interest, what happens when
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
***
List
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 Knowles
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 time not doing
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://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL
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://webstandardsgroup.org/mail
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://webstandardsgroup.org/join/unsubscribe.cfm
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.
--
Chris Knowles
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-ordering
natural choice. Hence, maybe
thats where this using lists in forms has come from?
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help
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://webstandardsgroup.org/mail
/
link rel=alternate stylesheet type=text/css media=screen title=larger Font size
href(layout_large.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()
--
Chris Knowles
empty?
you could use:
button type='submitspanSubmit/span/button
then shift the span off the page and style the button with a sprite -
this gets around having an empty value
--
Chris Knowles
***
List Guidelines: http
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 Guidelines: http://webstandardsgroup.org
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
Unsubscribe: http
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 worst that can happen is your
. 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.cfm
Help: memberh
. 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?
--
Chris Knowles
think
table cellspacing=0 class=guestBook
trtdnbsp;/td/tr
should be...
table cellspacing=0 class=guestBook
trtd colspan='2'nbsp;/td/tr
--
Chris Knowles
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
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
Jens-Uwe
your page dependent 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
to have said that
the content in article *might* be more relevant to a search engine
than the content in aside - compared with div id=article and div
id=sidebar which would be harder to tell apart.
--
Chris Knowles
***
List
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 render the header
!
--
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 specialist tools for people
who
65 matches
Mail list logo