site check/help (html)
- Started
- Last post
- 34 Responses
- unformatted0
it's not neat and tidy, and chocolate coverd that's why!
- protoculture0
for starters:
http://validator.w3.org/check?ur…
http://validator.w3.org/check?ur…
i think a site with a table based layout as simple as yours should at least validate as html 4.01 transitional
- ilmarine0
first: too many cells have width and height attributes - i think, its good to use height and width for some, so that the page would start loading in the correct size and format. but for all - a bad business.
second: don't use those nbsp tags/characters. use 1x1px transparent gifis instead with width and height.
third: its never really good to place many images in one cell - can fuck the layout up nicely on some browsers.
these might not be exatly problems on this site but building larger (especially cms driven) sites like this is a bad habit.
- ilmarine0
protoculture - idon't think that a 100% score on that is always nessecary. for example the stuff it talks about margins and how to place forms. to me it doesn't make much sense and works on every browsers.
but otherwise yes, it shoul validate.
p.s. two ideas. for every image use an alt attribute with value ="" and for larger images add usemap with the same value. first is good for validation and second prevents ie from adding those nasty image icons on mouse over.
- atle0
Thanks for all the tips!
I found the bug, it was a little nbsp that had gotten in there.... I always use transp. gifs. But it seems this trixy little nbsp snuck by me....
- ilmarine0
nownow, most of the html is formed by nbsp on that site...
- atle0
I was talking about the little "views" section.
The rest of the site is not a subject ;)
- protoculture0
you can deal with the margins attributes not validating by using css instead. for browsers that don't adhere to STANDARDS, i say "f' em".
- ilmarine0
well, i'm not a clean boy actually. in estonia there is no point in writing html for macs - not one client asks for it, i don't own one, and there may be only about 300 or so macs in all the country. so i usually check my stuff on ie4 and 6, ns 4.7 and 5 and some newer mozilla. all this on pc. although, the big plan for the future is to start writing more compliant html ;)
- unformatted0
you should start checking on macs. it will catch up to you. but if you validate your css/html, it will make you more prepared for future projects.
ns4.7? fuck that, that doesn't support anything. at work we stopped supporting that POS.
only time i worry about ns4 is when clients tell me it doesn't work in ns4. other then that i don't give a shit.
ie4? wow.
use css, because it separates your content and layout. which in the long run makes it easier on you.
- ilmarine0
see, that's the difference between estonia and where you live. the standards here are ns4.7+, ie 4+ and some newer mozilla. last year i had to create a separate html for a page to work on ns 3 ;)
- atle0
I always check in the site on Opera, IE 5.5, and 5.1 on the Mac. That does it for me...
- unformatted0
ilmarine, that sucks for you. ;)
- ilmarine0
its okay except for the ns 4.7 part. that program has singlehandedly made me loose sleeptime and constantly steals most of the time spent on writing html...