|
| |
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: So what is the deal with Doctype? - 4/27/2006 9:04:02
quote:
you've got a lot of inline CSS Thanks. That explaination helps a lot. So what is a lot? Is there a magic number of inline CSS? I tend to think not since there rarely ever is. I tend to generalize about half of my div's and customize each individual div using inline CSS (normally positioning or font tweaking). Most of my inline stuff there has to do with the rounded corners but I can 'class' all of those. And I thought that inline was allowed and encouraged hence the word "Cascading" in CSS.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
c1sissy
Posts: 5094 Joined: 7/20/2002 From: NJ Status: offline
|
RE: So what is the deal with Doctype? - 4/28/2006 17:22:30
quote:
I *should* go back and do it the right way. I uhmm, have to agree with this statement ;)
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://cssinfo.debsplace.org http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: So what is the deal with Doctype? - 4/28/2006 21:22:26
Thanks. OK. Been working on it some more and now it validates XHTML 1.0 Strict. (It really wasn't that difficult to do BTW.) So my next Q is "Is it accesible?" (or should I move this to the appropriate forum?)
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: So what is the deal with Doctype? - 4/29/2006 0:11:47
quote:
When I linearised the page please explain what you mean by that
_____________________________
Dan
|
|
|
|
rubyaim
Posts: 757 Joined: 6/22/2005 Status: offline
|
RE: So what is the deal with Doctype? - 4/29/2006 0:23:49
FireFox dev toolbar >Miscellaneous > Linearize Page.
_____________________________
Sally
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: So what is the deal with Doctype? - 4/29/2006 0:25:42
what happens when you do that - what does it mean?
_____________________________
Dan
|
|
|
|
rubyaim
Posts: 757 Joined: 6/22/2005 Status: offline
|
RE: So what is the deal with Doctype? - 4/29/2006 0:41:58
A good example is a page using tables for layout (and I still have several thousand). Example Here see also http://www.w3.org/TR/WCAG10-HTML-TECHS/#wrapped-text I check my 'css for layout' pages as well and actually can't see much difference between them and the 'tables for layout' as the 'tables for layout' were built to linearise... IMO screen readers fall down on reading tables if they are only displaying the first line in a cell. I have data tables where the text will wrap in cell showing something like a comment field, yet using a table is the logical way to display the data as it's tabular. I've changed most of my data tables to be 'accessible' and they linearise okay, but I've never tested them with a screen reader.
< Message edited by rubyaim -- 4/29/2006 0:52:42 >
_____________________________
Sally
|
|
|
|
yb2
Posts: 653 Joined: 1/30/2006 Status: offline
|
RE: So what is the deal with Doctype? - 4/29/2006 6:08:06
quote:
have a look at this site: http://jasonspage.net/blog/nodiv/ that is a very interesting link - less code = better code, IMO. It has been bookmarked!
_____________________________
it is natural for people not to see one's own faults, and to exaggerate other people's faults and failings. Currently listening to: L'Enfer Des Formes by Stereolab
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: So what is the deal with Doctype? - 4/30/2006 22:20:57
quote:
have a look at this site: http://jasonspage.net/blog/nodiv/ There are absolutely no divs in that design. OK no divs but not very exciting either. quote:
It will take a while to get the hang of making it more flexible and of using as few divs as possible or as necessary And that's where it comes down to the issue. There is a line where you get that "law of diminishing returns' that'll kick in. I could spend eons tweaking a page, rewriting it, and refining it down to the absolut eleast number of divs, possible, the tightest code imaginable, accesable to the wazoo, etc. but will it really make that much difference? quote:
Also - you've got a ton of extra divs in there to support the rounded corners etc. Where is that line? So it takes me 4 divs to round my corners each time. I've been hearing how "too many inlines" and now "too many divs" will cause issues. And now I get shown a page with no divs and it looks very plain IMO. Do I really believe someones gonna' pay me to make a page like that one with no divs? I really doubt it no matter how technically cool it is. And besides, if it's a truly "compliant" language in the strictest sense of the word, it shouldn't matter whether it's 1 div or 1000 divs. If they all use the same rules, it should not matter. (I know in most other "languages" a rule by definition can be relied on to work a certain way every time.) And if this CSS styling works one way sometimes and another way sometimes - but don't use this too often kinda' thing - well it sounds pretty wishy-washy to me. I know that if I use 200 variables in a VBScript, I know I can count on those variables being predictable. But thanks for the other advice - really does help.
< Message edited by rdouglass -- 4/30/2006 22:29:11 >
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
c1sissy
Posts: 5094 Joined: 7/20/2002 From: NJ Status: offline
|
RE: So what is the deal with Doctype? - 5/1/2006 6:36:38
quote:
You'd also need to dump the px font-sizing and switch to a % or ems. best way to do this, and i know you have seen my style sheets, in your body, html put your font size as you see it in my css sheets. IMO, I think divs are fine and there is no problem with them, it depends on your layout. I used a fixed width then floats within, The last pages I did whne I passed them off for the next level of work passed both cynthia tests, so as long as I vailidate and pass cynthia, I am fine with how my pages are done.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://cssinfo.debsplace.org http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
c1sissy
Posts: 5094 Joined: 7/20/2002 From: NJ Status: offline
|
RE: So what is the deal with Doctype? - 5/1/2006 6:58:33
quote:
ORIGINAL: Tailslide quote:
ORIGINAL: c1sissy IMO, I think divs are fine and there is no problem with them, You're right they are - it's a question of not having unecessary ones to make your life easier So far no problem on my end, I comment begining and ending of each one, which I stress, to people on different forums when the post code that you have to wade through, COMMENT, I can't stress it enough, even if you have to put in a hack or soemthing different from your normal code, If something is really complicated create a second style sheet for that item, I comment begining and ending of the navs on my style sheets, It is crucial to comment your stuff both xhtml and css
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://cssinfo.debsplace.org http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
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
|
|
|