navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

css hacks and accessibility

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Accessibility >> css hacks and accessibility
Page: [1]
 
d a v e

 

Posts: 4167
Joined: 7/24/2002
From: England (but live in Finland now)
Status: online

 
css hacks and accessibility - 8/27/2005 5:38:15   
ok - so you've made your shiny new accessible site, tested it in other browsers and tweaked your css to play nicely in most of them, shoving in one or two hacks along the way. you go to place the valid (X)html and css 1 and 2 on your site and click the link and - oh dear! your css hacks don't vaildate!!!

well you know that it's 'valid' to use things like the voice-hack but anyone seeing your site doesn't know that so what do you do?? put a disclaimer on saying that the w3c validator doesn't undertand things like those hacks and it's all ok really?

_____________________________

David Prescott
Gekko web design
Tailslide

 

Posts: 6270
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: css hacks and accessibility - 8/27/2005 6:13:01   
There are usually valid ways of doing stuff anyway without resorting to the invalid ones. If you absolutely can't get your site to work without using an invalid hack in your CSS then as long as you understand any possible consequences of the hack then do it - possibly stick 'em in a IE only stylesheet (and it is usually IE that causes this sort of thing) so that they can be removed at a later date. I'd also comment it so that if someone looks at it they know why you've used it.

I don't put those badges on my site anyway - asking for trouble! The only one I use is the Firefox badge - just in a desperate attempt to encourage people to dump IE.

I'll go to some lengths to avoid having to do hacks like the box model hack etc in the first place. If I really can't get IE to play nice then I'd rather feed it a separate stylesheet.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to d a v e)
womble

 

Posts: 5702
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: css hacks and accessibility - 8/27/2005 6:17:46   
Good point Dave. There's a similar problem with the "-moz-border-radius:" too. Doesn't affect accessibility and other browsers just get the standard square boxes, but the css won't validate with it in there.

_____________________________

~~ "A cruel god ain't no god at all" ~~
~~ Erase hate. Practice love. ~~
:)

(in reply to d a v e)
Page:   [1]

All Forums >> Web Development >> Accessibility >> css hacks and accessibility
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts