Jump to content

Cronthenoob

Members
  • Posts

    312
  • Joined

  • Last visited

Posts posted by Cronthenoob

  1. Yes :)In programmers notepad, I usually set the master to hypertext.If i program in javascript, the background changes to blueIf i program in PHP, the background changes to pink.Html is white.It also changes the syntax highlighting!pn2ss.png

  2. Ok i've got this:

     <HTML> <HEAD> </HEAD> <BODY><?phpif ($handle = opendir('.')) {  while (false !== ($file = readdir($handle)))  {   if ($file != "." && $file != ".." && $file != "index.htm"	 && $file != "listfile.php")	   echo "<a href=\"$file\">$file</a><br>";  }  closedir($handle);}?> </BODY></HTML>

    That will get all of the files in the directory and spit them out on the page.How can I exclude the file index.php from the list, and is there an easier way to do this than putting that index.php in every single folder?I also want to add a breadcrumbs navigtion at the top, and I have no idea how I would go about doing that.

  3. I'm using eclipse in order to learn Java. I'm not looking at it right now, but I'm pretty sure you can choose different syntax highlighting depending on wich language you select.I really like programmers notepad a lot. Its a fairly small download, and all of your functions and things can be collapsed. And the syntax highlighting is great.http://www.pnotepad.org/download/Heres a screenshot. You can see the - in the boxes, you can click those and collapse your statements.and the dropdown box that says Perl in it, has about 30 or so different choices for highlighting.http://www.pnotepad.org/wp-content/uploads...6/03/pnperl.png

  4.  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd"> <html> <head>  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /></head><body></body></html>

    There are other types of doctypes, you can do that research on your own :) Or maybe someone else can tell you.But you pretty much need that basic stuff in every html document.

  5. Well thats one of the rules.You need a doctype and a character set specified.And according to the rules of xhtml you need to close every tag you open, so I'm assuming you would close list item tags as well.

  6. Well sort of, but, you need to end your <li> tags after each item.if you wanted to <ul> inside a <li> you do this

    <ul> <li>item 1</li> <li>item 2  <ul>   <li>item 2.1</li>  </ul> </li>

  7. attributes inside any tag can go in any order.you could do<img border="0" height="100" src="image.gif" width="100" /> if you really wanted tooand the /> is there because the rules of Xhtml say that you must close all elements even if they do not have a close tag.

  8. no there is many td's in the page and I want just one of them to be like this..
    simple enough.
    .blacktable {background-color:black;}

    then in the HTML

    <td class="blacktable">Content</td>

  9. Thank you! I didn't know that. I did upload it as a .wmf file and put it on my site. My site is not online yet, but when it is, how would I reference the address for my image?Thanks, I will!
    You can type in the whole address of the image like:<img src="http://www.yoursite.com/images/image1.jpg" />or if your images are in the same folder as your main page you could put<img src="image1.jpg" />but you should probably put an images folder in the same folder as your main page for organizational purposes.<img src="images/image1.jpg" />
  10. I voted for chocolate because, well, he makes sense to me, and seems like a very organized person. Justsomeguy is very smart, but at times maybe a little too technical. I also voted for the RSS idea because it would be a great way to learn xml and ajax, something I havent really worked with before.thats my 2 cents :)

×
×
  • Create New...