kastedilen bu mu acaba?PHP Kodu:<div style="position:absolute; overflow:hidden; left:218px; top:168px; width:253px; height:25px">DIV ile sabit boyutlandırma</div>
katmanı nasıl sabitleyebiliriz yani sağa doğru kaymayıp içine ne yazılırsa yazılsın
alt satıra geçmesini nasıl sağlayabiliriz?
?
kastedilen bu mu acaba?PHP Kodu:<div style="position:absolute; overflow:hidden; left:218px; top:168px; width:253px; height:25px">DIV ile sabit boyutlandırma</div>
şimdi yapmak istediğim şu;resimde gördüğünüz s harfi katmanı geçip sağa kayıyor.ben ben katmanın sonuna geldimi aşağı geçmesini istiyorum.
Kod:<div align="left" class="inputbox" style="width: 544px; height: 88px;" style="border-style:solid; border-width:6px;"> <table border="0" width="80%" align="center"> <tr> <td width="30%" valign="top"><b>Name:</b> {NAME}</td> <td width="60%" rowspan="2" valign="top"><b>Comment:</b><br />{COMMENT}</td> </tr> <tr> <td> <!-- Rating --> Rated Article: {RATINGIMAGE}<br /> <!-- IP --> <img style="cursor: help;" src="{LIVESITE}/components/com_combomax/images/ip.gif" alt="IP Logged as: {IP}" title="IP Logged as: {IP}"/> <!-- URL --> <a href="{URL}" target="_blank"><img src="{LIVESITE}/components/com_combomax/images/home.gif" alt="HomePage: {URL}" title="HomePage: {URL}" border="0" /></a> <!-- Browser --> <img style="cursor: help;" src="{LIVESITE}/components/com_combomax/images/browser.gif" alt="Browser: {BROWSER}" title="Browser: {BROWSER}" /> <!-- Date --> <img style="cursor: help;" src="{LIVESITE}/components/com_combomax/images/clock.png" alt="Dated: {DATE}" title="Dated: {DATE}" /> <!-- Report Comment --> <a href="{REPORTURL}" target="_SELF"><img src="{LIVESITE}/components/com_combomax/images/report.gif" alt="Report This Comment" title="Report This Comment" border="0" /></a> </td> </tr> </table> </div>
?
çok karışık olmuş.
Bence sen olması gerek çıktının resmini ver ona gore bir çözüm uretelim.
Ben şimdi yukarıdaki resimdeki sorundan çok ne olması gerektiğini anlamadım
bu arada senin yukarıda verilen kodlarda {COMMENT} içindeki div ile işin var. orada genişiliği sabitlemen lazım.
<td width="60%" rowspan="2" valign="top"><b>Comment:</b><br />{COMMENT}</td>
tamam yani burayı sabitlemem lazım ama nedir nasıl sabitlicem.ne yazmak gerek
?
kaynak: http://scottonwriting.net/sowblog/posts/2272.aspxKod:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> <title>Untitled Document</title> <style> pre { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } </style> </head> <body> <div style="position:absolute; left:218px; top:168px; word-wrap: break-word; width:253px; height:25px"><pre> asdasdasdasdasd asdasdas asdasdasdasdasdal kasldkalsş kaslşdkaslş askdalşsdkaşlsdkasd </pre></div> </body> </html>
fatihhayri bey bu verdiğiniz kodu php'de nereye koyacam
?
Kod:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> <title>Untitled Document</title> <style> pre { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } </style> </head> <body> <table border="0" width="80%" align="center"> <tr> <td width="30%" valign="top"><b>Name:</b> {NAME}</td> <td width="60%" rowspan="2" valign="top"><b>Comment:</b><br /><div style="word-wrap: break-word; width:253px; height:25px"><pre> asdasdasdasdasd asdasdas asdasdasdasdasdal kasldkalsş kaslşdkaslş askdalşsdkaşlsdkasd </pre></div> </td> </tr> <tr> <td> <!-- Rating --> Rated Article: {RATINGIMAGE}<br /> <!-- IP --> <img style="cursor: help;" src="{LIVESITE}/components/com_combomax/images/ip.gif" alt="IP Logged as: {IP}" title="IP Logged as: {IP}"/> <!-- URL --> <a href="{URL}" target="_blank"><img src="{LIVESITE}/components/com_combomax/images/home.gif" alt="HomePage: {URL}" title="HomePage: {URL}" border="0" /></a> <!-- Browser --> <img style="cursor: help;" src="{LIVESITE}/components/com_combomax/images/browser.gif" alt="Browser: {BROWSER}" title="Browser: {BROWSER}" /> <!-- Date --> <img style="cursor: help;" src="{LIVESITE}/components/com_combomax/images/clock.png" alt="Dated: {DATE}" title="Dated: {DATE}" /> <!-- Report Comment --> <a href="{REPORTURL}" target="_SELF"><img src="{LIVESITE}/components/com_combomax/images/report.gif" alt="Report This Comment" title="Report This Comment" border="0" /></a> </td> </tr> </table> </body> </html>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks