Hi! Thanks for your reply. I know that this code is really messy, I really not enjoy it. It is generated by WYSIWYG editor in CMS of company which this page is. I know XHTML and CSS quite good but I really dont like to work on project which was made before me by someone else, but now I must to fight with it.
Thanks again, I will try it. Erik Gunlaug Sørtun wrote: > Erik Gyepes wrote: > >> Look here: http://pripisa.sk/stranka/oddych-vo-vode/ ... why is the >> text over image in IE? In FF is everything allright. Can my anyone >> help? >> > > 1: you have triggered 'hasLayout'[1] on the paragraphs. > > Cleaning up and restyling those paragraphs, which includes getting rid > of the <p><strong> </strong></p> those paragraphs are nested in, and > also the <span style="font-weight: normal;"> </span> inside those > paragraphs... > > <p style="width: auto;">Areál oddychu a zábavy... > <p style="width: auto;">V areáli nájdete 7... > > ...will fix that minor problem. > > Yes, it is an IE-bug, but it won't go away so you better learn how to > lay out your pages with that bug in mind. > > > 2: Your entire source-code is a mess of wrongly nested elements and > non-strict attributes... > <http://validator.w3.org/check?uri=http%3A%2F%2Fpripisa.sk%2Fstranka%2Foddych-vo-vode%2F> > ...which make rendering in any browser *a gamble* based on the art of > 'error recovery'. > > Your CSS can't be validated because of all the errors in the source-code. > > If you intend to write 'xhtml Strict', then you should take the time > necessary to study what that DTD demands of you. It will pay off. > > > 3: You use a lot of 'inline styling' which makes debugging and > maintenance almost hopeless. > > Styles belong in external, or internal, CSS stylesheets, and such > 'inline-styles' should only be used in exceptional cases - which are > rarely found. > > regards > Georg > > [1]http://www.satzansatz.de/cssd/onhavinglayout.html > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/