aniDB css conversion.

Want to help out? Need help accessing the AniDB API? This is the place to ask questions.

Moderator: AniDB

fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

aniDB css conversion.

Post by fahrenheit »

Hi all, i've been doing some work on the conversion of anidb to css html.

So that anyone can contribute with their knowledge as mine in css is not much, i decided to create this thread in development where everyone can check the current developmet and comment and where also i can update the status of the current devolpment.
files wrote:html:
page0.htm
page2.htm

css:
animedb.css
animedb0.css
animedb1.css

html+css:
page.htm [old version, images not styled, columns not independent]
page1.htm [new version, images styled, columns independent]
status wrote:(04.12.2004 - 13:25)
[+] fixed the search box problem, i can now place it.
[+] CSS is now all valid, except for the scrollbars colors.
[-] HTML is not all valid.. But anyway is much more valid than before.

Note: can't upload files atm, my isp ftp server is down..

(29.11.2004 - 01:21)
[+] noticed that there is no styling of scrollbars, don't quite get it..

(28.11.2004 - 16:06)
[-] fixed the image problem on Moz browsers, added a src="na00000.gif" (transparent image) to all img tags and then css styled it.
[+] got a new bug, search thingie doesn't want to go where i want..
Anyway anyone can try to dev other templates to the current files:
html: page1.htm
css: animedb1.css
Last edited by fahrenheit on Sat Dec 04, 2004 1:43 pm, edited 5 times in total.
pelican
AniDB Staff
Posts: 234
Joined: Wed Aug 11, 2004 11:19 pm

Re: aniDB css conversion.

Post by pelican »

fahrenheit wrote:Hi all, i've been doing some work on the conversion of anidb to css html.
Well, if you must, but I should inform you that your samples are unusable with a browser that does not support css.
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

hmmm, what browser?

I've tested http://pwp.netcabo.pt/fahrenheit/projec ... /page1.htm with IE6, FireFox 1.0 and Opera 7.6p3 and they all work, i suppose that every browser based on ie 5.0, possibly ie4.0, NS 5.0+, Opera 5.0+ and any version of Mozilla/Firefox, should be able to use css.
pelican
AniDB Staff
Posts: 234
Joined: Wed Aug 11, 2004 11:19 pm

Post by pelican »

fahrenheit wrote:I've tested http://pwp.netcabo.pt/fahrenheit/projec ... /page1.htm with IE6, FireFox 1.0 and Opera 7.6p3 and they all work
And, surprise, surprise, they all support css; there's a world of other browsers out there, and breaking pages on those browsers for a feature like style sheets isn't really on.
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

i know they support css and the majority of other standarts on the net, that's why they are used by 90% of the users.

Anyway i was just trying to do this has a free time ocupation having in mind these minimum requirements, which you all ready noticed are met.

The whole point of this thread and of what i'm doing is basicaly trying to give exp reasons to change for css, giving him reasons why css is nice and can be used as a plus point for the site, the point of the thread is to give other users that wish and want to contribute to this alternative to give their opinions about what i'm doing or what they are doing over the subject.

So basicaly i know that CSS is not a supported by every browser existing, and that if you change the layout to css some browsers wouldn't support it, but check the news it allready happened when exp forced gzip compression, some browsers didn't support it, whose fault is it?

Anyway there is still hope for your non-compilant css browser, the change is posponed for the time being ;)
Elberet
Posts: 778
Joined: Sat Jul 19, 2003 8:14 pm

Post by Elberet »

Well, in the end, the goal should be to use plain HTML 3.2 plus <div> and <span> that works in any and all browsers - and have a CSS turn that into a nicely styled page like the current one. That's the zen of CSS design, so to speak. :P
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

pelican wrote:And, surprise, surprise, they all support css; there's a world of other browsers out there, and breaking pages on those browsers for a feature like style sheets isn't really on.
IMHO the small amount of users with such browsers does not warrant not implementing improvements for all others.
And after all we're already enforcing gzip support by the browser in a non HTTP conform way :P

BYe!
EXP
Skywalka
Posts: 889
Joined: Tue Sep 16, 2003 7:57 pm

Post by Skywalka »

errm... html 3.2 is deprecated and _should_ be replaced with html 4 and css usage especially because that way you can get rid of all the span tags. that's what the w3c thinks and that how it should be done.

that way we finally will be able to have pages working in all browsers that support that standard. before html 4 every browser producer could do what they wanted because the graphical rendering was kinda ffa, you could do what you wanted with the kind of wide limitations.
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW »

exp wrote:
pelican wrote:And, surprise, surprise, they all support css; there's a world of other browsers out there, and breaking pages on those browsers for a feature like style sheets isn't really on.
IMHO the small amount of users with such browsers does not warrant not implementing improvements for all others.
And after all we're already enforcing gzip support by the browser in a non HTTP conform way :P
Agreed, people using non css compliant browsers in this age need to upgrade.
Elberet
Posts: 778
Joined: Sat Jul 19, 2003 8:14 pm

Post by Elberet »

@skywalka: If you follow the puristic approach to it all, then you'll only use a subset of the HTML 4 tags and properties anyways and remove any and all color and background image definitions from the HTML and even do stuff like replacing text labels with images by CSS rather then using an <img> tag.
raevel
Posts: 8
Joined: Sat Jul 31, 2004 3:51 pm
Location: Sweden
Contact:

Post by raevel »

exp wrote:IMHO the small amount of users with such browsers does not warrant not implementing improvements for all others.
And after all we're already enforcing gzip support by the browser in a non HTTP conform way :P
I agree, you've already ditched IE by using gzip (which I'm perfectly fine with, since it makes users look for other, better, browsers)
CSS2 is considered a web standard by W3, and since it saves some precious bandwidth, why not use it?

And a question, are there any gzip-compatible browsers that doesn't support CSS2 and/or CSS1?
pelican
AniDB Staff
Posts: 234
Joined: Wed Aug 11, 2004 11:19 pm

Post by pelican »

raevel wrote:And a question, are there any gzip-compatible browsers that doesn't support CSS2 and/or CSS1?
Yes, absolutely; gzip support is trivial, while css is anything but, so there are many such browsers... including the one I currently use (which admittedly only supports gzip because I hacked that into it... but lynx supports gzip and not css without changes).
rowaasr13
Posts: 415
Joined: Sat Sep 27, 2003 4:57 am

Post by rowaasr13 »

raevel wrote: I agree, you've already ditched IE by using gzip (which I'm perfectly fine with, since it makes users look for other, better, browsers)
What? Do I see illusions of AniDB or all sites that run mod_gzip in IE?
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

rowaasr13 wrote:
raevel wrote: I agree, you've already ditched IE by using gzip (which I'm perfectly fine with, since it makes users look for other, better, browsers)
What? Do I see illusions of AniDB or all sites that run mod_gzip in IE?
only some versions of IE are affected.

BYe!
EXP
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW »

exp wrote:only some versions of IE are affected.
You forgot the magic word: bugged.
Locked