Jump to content
php.lv forumi

Līdošais Bannēris Lapas appakšpusē


sandrulis

Recommended Posts

Kāpēc kad pievienoju šo līniju index.php sākumā:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Tapec ka generejamais kods neatbilst XHTML standartiem ...

kautvai shiis fragments

document.write('<table cellspacing=0 cellpadding=0 id="' + tableId + '" style="position:absolute;left:0;top:0;width:' + (bWidth * 4) + 'px"><tr><td>' + bBody + '</td></table></div>');

peec XHTML sandartiem necar buut cellspacing=0 jabuut cellspacing="0" ..

nav nosledzosais </tr> tags ..

 

skjiet ka arii onMouseout vieta jabuut onmouseout, visiem ar mazajiem burtiem. bet to var noskaidroot dotaa DOctype dokumentacija

 

isti nesmu parliecinats ka tieshi shaja vietaa ir problema, bet tas kad kods netiek uzgenerets pareizss gan vretu buut par iemeslu ..

--

Jaskatas ko vinsh uzgeneree, BEZdoctypes, un taalak jau var meklet vainu ...

P.S. vislabak paskaties ar IE 6 (shamais pietiekami stulbs lai nekropljotu kodu ), jo FF medz pielabot koda Validati , ta ka nebuus 100% tas kas tiek pdos ar JS

EDIT:

ja skjiet ka tomer buutu velams to masju eventus ar mazajiem .. jo doctype noradiits ka ir mazie

<!-- attributes for common UI events

onclick a pointer button was clicked

ondblclick a pointer button was double clicked

onmousedown a pointer button was pressed down

onmouseup a pointer button was released

onmousemove a pointer was moved onto the element

onmouseout a pointer was moved away from the element

onkeypress a key was pressed and released

onkeydown a key was pressed down

onkeyup a key was released

-->

Edited by Grey_Wolf
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...