Matpatnik Posted May 28, 2008 Share Posted May 28, 2008 Hi guys, I didn't touch the website since a while and now the style doesn't show up properly!The style was fine a while ago.here an address where the problem is oblivious (from the source) http://www.adenak.com/index.php?section=en...pedia&cat=5I forgot to mention that the problem is with firefox Link to comment Share on other sites More sharing options...
Synook Posted May 28, 2008 Share Posted May 28, 2008 Well... it isn't obvious to me, as I never saw the page before it broke. What is wrong? Link to comment Share on other sites More sharing options...
web-service-learner Posted May 28, 2008 Share Posted May 28, 2008 hey i think you should try to validate the site first, your site has got 45 errors try to fix the errors, after fixing the errors your site might become viewable on both ie and ff. Link to comment Share on other sites More sharing options...
Suhail.Mir Posted May 28, 2008 Share Posted May 28, 2008 I agree with Web Learner, your site looks great in Firefox, however you need to fix HTML errors. Try to validate your HTML using CTRL + SHFt + A. Link to comment Share on other sites More sharing options...
Synook Posted May 28, 2008 Share Posted May 28, 2008 that's a shortcut to the validator?!I never knew that you learn something new every day... Link to comment Share on other sites More sharing options...
Matpatnik Posted May 29, 2008 Author Share Posted May 29, 2008 the validation failed only because of the javascript. If I delete the javascript the page is validatedso you guys see the periodic table with all the color, border and font style? how come I don't see it on both of my computer?thx for the shortcut Link to comment Share on other sites More sharing options...
Johnmitchell Posted May 30, 2008 Share Posted May 30, 2008 so you guys see the periodic table with all the color, border and font style? how come I don't see it on both of my computer?that could've been helpful from the start :)i'll have a look at the code now i know what the problem is.edit: apart from you having some really old / wierd styling in there, it's all inline, each TD has it's own style="..." which is silly. you'd be much better off creating two classes (one for the dashed border and one for the solid border) and allocating that class to the relevant datacells.the fact that it doesn't work in firefox suggests that your using outdated styles.also you've assigned the style element text-align to a table wich is odd.i can't actually pinpoint the problem, if i had time then mayb e i could but i don't sorryp.s. i never knew ctrl+shift+a was validator shortcut either Link to comment Share on other sites More sharing options...
Matpatnik Posted May 30, 2008 Author Share Posted May 30, 2008 that could've been helpful from the start i'm sorry I thought it was oblivious you'd be much better off creating two classes (one for the dashed border and one for the solid border) and allocating that class to the relevant datacells.I thought about creating 15 class, 1 for each specific cell style Link to comment Share on other sites More sharing options...
Synook Posted May 31, 2008 Share Posted May 31, 2008 Btw - http://www.google.com.au/search?q=define%3Aoblivioushttp://www.google.com.au/search?q=define%3Aobvious:)I think those style problems have something to do with the parse errors I get when validating... try fixing thosehttp://validator.w3.org/ Link to comment Share on other sites More sharing options...
web-service-learner Posted May 31, 2008 Share Posted May 31, 2008 sorry synook we can't use your old link for the validator, look up for the short cut Link to comment Share on other sites More sharing options...
Synook Posted May 31, 2008 Share Posted May 31, 2008 lol I forgot about that one... Link to comment Share on other sites More sharing options...
Matpatnik Posted May 31, 2008 Author Share Posted May 31, 2008 Btw - http://www.google.com.au/search?q=define%3Aoblivioushttp://www.google.com.au/search?q=define%3Aobvious:)I think those style problems have something to do with the parse errors I get when validating... try fixing thosehttp://validator.w3.org/ thx for the correction heheI toke of the javascript and nothing have changed except it is validated now Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.