Jump to content
Stef's Coding Community

yaniv81

Member
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About yaniv81

  • Rank
    Member
  1. yaniv81

    Streching div height

    thanks a lot for he info guys, I will follow the tutorials ben - if u know a good tutorial about how to do it with JavaScript I'd like to see it...
  2. yaniv81

    Streching div height

    Hi, I want to make a two columns website, where the right column and the left column stretch to height of the main content div, and basically if one div is higher than the other I want the shorter column to stretch with it (just like if I do it with a table, then both of the tds have the same height) here is a simple code of what I'm trying to do, also I was wondering if this is possible without setting height to the main div? thanks for any help <!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=utf-8" /> <title>Untitled Document</title> <style type="text/css"> #main{ margin:0 auto; background-color:#000; width:700px; } #left{ background-color:#F00; float:left; width:300px; } #right{ background-color:#00F; float:right; width:350px; } </style> </head> <body> <div id="main">blah <div id="left"> </div> <div id="right">blah<br />blah<br />blah<br />blah<br /></div> </div> </body> </html> here is a simple code where I tried to do it...
  3. yaniv81

    xml and php

    thanks Ben, I manage to do it with fopen and fwrite any way, I guess what I wanted to do is best done with mysql...
  4. yaniv81

    xml and php

    Hi, I just started watching the videos about loading data from XML file, and I was wondering, how can I add data to the XML file with php? I googled it, and basically found nothing useful(does it so complicated???), I thought it's a common thing...
  5. yaniv81

    problem with include

    well I don't know how...but it works thanks!!! :D
  6. yaniv81

    problem with include

    that's right....Dreamweaver makes it look perfect anyway I found out this at the company I work I looked at the Hebrew websites we have and I found out that in the include files they actually type unknown symbol/letters to make it look good,it looks like that <li><a href="reshet.html">øùú à'</a></li> <li><a href="reshet-b.html">øùú á'</a></li> <li><a href="reshet-g.html">øùú â'</a></li> <li><a href="bil.html">øùú ã' (òøáéú)</a></li> <li><a href="kol.html">÷åì äîåæé÷ä</a></li> I have no idea what those letters are or how to make them...any idea????
  7. yaniv81

    problem with include

    no...the include letters/symbols are same in both pages as I said before if i just put it as pure HTML is 100% ok... I tried "google" this... and found that if i put this in the top, the "include Hebrew" works good but then all the "other Hebrew" is ruined <?php header('Content-Type: text/html; charset=utf8'); ?> really weird...
  8. yaniv81

    problem with include

    btw, I don't mind giving u the accesse to the hosting, I just wanna solve this ASAP
  9. yaniv81

    problem with include

    well... please don't don't laugh, this is like 20 minutes of working on a template, I just got stuck in the middle of changing it form English to Hebrew I don't know how will u differ form Hebrew and Gibberish, but I'll give it a shot anyway... http://shina411.t35.com/ this is the code <!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" dir="rtl" lang="he"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"> <meta http-equiv="Content-Language" content="he"> <title>Flex Bones</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body dir="rtl"> <div id="main"> <div id="main_support"> <?php include("include/topmenu.php"); ?> <div id="headpanel"> <div id="headleftpanel"><div class="headtext01"><span dir="rtl">מיגרנה היא חלק מחייכם?</span></div></div> <div id="headcentrepanel"><div class="headtext01"> נתפס לכם הצוואר? </div></div> <div id="headrightpanel"><div class="headtext01"> סובלים מכאבי גב? </div></div> </div> <div id="bottompanelblank"> <div id="loginpanel"> <div id="loginleft">user login</div> <div class="logintext">username</div><div class="txtblank"><input name="txt1" type="text" class="txtinput" /></div> <div class="logintext">password</div><div class="txtblank"><input name="txt2" type="password" class="txtinput" /></div> <div id="loginbutton"><a href="#" class="loginbutton">LOGIN</a></div> <div id="logincentre">New User? Register now for</div> <div id="loginright"><a href="#">FREE</a></div> </div> <div id="contentpanel"> <div id="leftpanel"> <div id="leftpaneltext01"> <p align="center" dir="rtl"><strong>אוסטאופתיה- איזון מכני של הגוף – </strong><strong><span dir="ltr">osteopathy</span></strong></p> </div> <div id="leftpaneltext02">Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus </div> <div id="testimonialpanel"><div id="testimonialtext01">“Dolor sit amet, consectetur adipisicing elit sed do eiusmod tempor senet incididunt ut labore et dolore magna aliqua”</div><div id="testimonialtext02">Jim David & Della Watson <span class="testimonialtext03">Member, Flexbones</span></div> </div> <div id="leftpaneltext03">Sed ut perspiciatis unde omnis iste natus <a href="#">error sit voluptatem</a> accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto <a href="#">beatae vitae dicta sunt</a> explicabo sed quia consequuntur magni dolores eos qui ratione</div> <div id="trainingpanel"> <div id="trainingpic"></div> <div id="trainingrtext1">Training Methods</div> <div id="trainingrtext2">Neque porro quisquam est qui dolorem ipsum quia dolor sit amet consectetur.</div> <div id="traininglist"> <div class="sublist"> <ul> <li><a href="#">Lorem ipsum dolor sit amet consectetuer</a></li> <li><a href="#">Aenean accumsan ligula</a></li> <li><a href="#">Suspendisse auctor magna sit amet ante</a></li> <li><a href="#">Nullam imperdiet nibh</a></li> </ul> </div> </div> </div> <div id="fitnesspanel"> <div id="fitnesspic"></div> <div id="fitnesstext1">Fitness Zone & the Trainer</div> <div id="fitnesstext2">Quisquam est qui dolorem ipsum quia dolor sit amet consectetur fellista sed amet nonoece.</div> <div id="fitnesslist"> <div class="sublist"> <ul> <li><a href="#">Dolor sit amet consectetue fiesta sed amet</a></li> <li><a href="#">Accumsan ligula norman lingula fiesta lullamore</a></li> <li><a href="#">Auctor magna sit amet ante nenos</a></li> <li><a href="#">Imperdiet nibh senetore corbista fellus</a></li> </ul> </div> </div> </div> </div> <div id="rightpanel"> <div class="righttext1">Doctors Advice</div> <div class="righttext2">officiis debitis aut rerum necessitatibus</div> <div id="rightlistpanel"> <div id="rightlist"> <ul> <li><a href="#">Sed feugiat lectus </a></li> <li><a href="#">Eget mistore</a></li> <li><a href="#">Nulla egestas interdum nisl</a></li> <li><a href="#">Vestibulum convallis mauris ac lorem</a></li> <li><a href="#">Donec sollicitudin</a></li> </ul> </div> </div> <div class="righttext1">News & Events</div> <div class="newspanel"><div class="righttext3">Diagnostic Fellus corbnis hellentroupe</div><div class="righttext4">Lorem ipsum dolor sit amet, consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div><div class="righttext5"><a href="#">read more</a></div></div> <div class="newspanel"><div class="righttext3">Accustomed lingula ametors</div><div class="righttext4">Consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Fellista corbildum in order to settle down heath for the genral purpose no other people can survive the trauma. Stallos corbista lullam no other force can developista.</div><div class="righttext5"><a href="#">read more</a></div></div> <div class="newspanel"><div class="righttext3">Forbideden laullam canvastore sed amet</div><div class="righttext4">Consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div><div class="righttext5"><a href="#">read more</a></div></div> </div> </div> </div> </div> <div id="footer"> <div id="footmenublank"> <div id="footmenuinner"> <div id="footmenu"> <ul> <li><a href="#">Home</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">About</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">Diet</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">Fitness</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">Mind</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">Tips</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">Test</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">Books</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">Sitemap</a></li> <li class="fspace"><div class="fblank"></div></li> <li><a href="#">Contact</a></li> </ul> </div> </div> </div> <div id="copyright">© Copyright Information Goes Here. All Rights Reserved.</div> <div id="validation"><div id="validationinner"><a href="#" class="xhtml">xhtml</a><a href="#" class="css">css</a></div></div> </div> </div> </body> </html> and this is the include <div id="toppanel"> <div id="topmenu"> <ul> <li class="space"><div class="blank"></div></li> <li><a href="#">עמוד הבית</a></li> <li class="space"><div class="blank"></div></li> <li><a href="#">מהי אוסטיאופתיה?</a></li> <li class="space"><div class="blank"></div></li> <li><a href="#">אודות</a></li> <li class="space"><div class="blank"></div></li> <li><a href="#">מאמרים</a></li> <li class="space"><div class="blank"></div></li> <li><a href="#">צור קשר</a></li> <li class="space"><div class="blank"></div></li> </ul> </div> </div>
  10. yaniv81

    problem with include

    Hi, I'm trying to include my top menu, I've done this many times before, but this is the first time I'm doing it with Hebrew language. the menu works perfect when it's just pure HTML, yet when I use the "include" I get gibberish...any idea how to solve this?
  11. yaniv81

    About php and Forms

    great! thanks for your help
  12. yaniv81

    About php and Forms

    ok... so let say I want to set the action to a different file to process it, but want the user to stay in the same page and also print the results, is there a way to do that? I guess I can just use "include" to keep the code clean...but still I was wondering if such thing is possible?
  13. yaniv81

    About php and Forms

    Hi, I'm really at the beginning of the php tutorials so it's really a basic question... when processing the forms in the videos you set the "action" of the form to a different php file, does it make any difference if I decide to set the "action" to the same file itself? I just find it much more useful...
  14. Hi again I'm pretty new with PHP... any way after I restarted my pc it worked... next time I'll have a question I'll post the code as well 10X
  15. Hi, When I'm trying to use the POST method I can't get any result, but when changing to GET or REQUEST there's no problem... what could be the reason??
×
×
  • Create New...