HTML & CSS
if you pls visit this link ( http://aone.lk/demos/pc_detail.php?pcid=31) you can see 4 thumbnail images. it has a horizontal aliment problem.
how to fix it :rolleyes:
You need to fix the faulty code and set a hight and width for the images first, as this may solve the problem.
you felt lazy to open ur firebug and shoot at those thumbs right
frankly i did not get ur point. if there is a faulty code which i know, i would have fixed it already
Well, I don't use Firebug. I am old-fasioned, so I debug by looking at the code
For starters, go through the list at http://validator.w3.org/check?uri=http%3A%2F%2Faone.lk%2Fdemos%2Fpc_detail.php%3Fpcid%3D31&charset=%28detect+automatically%29&doctype=Inline&group=0
You should also change your DOCTYPE to strict, rather than transitional. And ideally to HTML 4.01 too, but that's a different story intirely, and XHTML 1.0 Strict will do for all practical purposes.
Specifically, you have a problem here:
You don't have a closing
>. While this is technically valid in HTML, it's invalid XHTML, and in either case you shouldn't rely on it HTML, as no commercial browsers support it.
thanks C. Ankerstjerne for the valuable suggsions.
how do i missed that >. hmm.. now i fixed it.
sure ill take a look at doc type think also. coz i never bother about those declarations.
my dream vewr just put the doc type and all for me when i take a new html or php page.
This topic is now closed. New replies are no longer allowed.