Jump to content

Cronthenoob

Members
  • Posts

    312
  • Joined

  • Last visited

Everything posted by Cronthenoob

  1. Cronthenoob

    scandir()

    I figured out how to get the file to exclude itself from the list, that was pretty simple.I would really like to not have to put a copy of this file into every single folder for it to work. Thats the main problem.
  2. 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!
  3. Cronthenoob

    scandir()

    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.
  4. <td valign="middle">Should vertically center everything in that cell.Don't know why its not working
  5. in the <td> tag you should just be able to putvalign="top" valign="botton"orvalign="middle"Edit: accidently put center instead of middle.
  6. Dreamweaver is fine, but its rather expensive.Programmers notepad also has a projects window pane you can enable. It shows you the folders list and files of what you are working on.
  7. 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
  8. <!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.
  9. 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.
  10. Try running it throug the validator and see what it says :)I could be wrong.
  11. 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>
  12. I lol'd in real life. haha. :ph34r: you forgot this smilie though!
  13. Damn, he beat me too it, lolTwice!
  14. 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.
  15. simple enough..blacktable {background-color:black;} then in the HTML <td class="blacktable">Content</td>
  16. in the image tag, just add border="0"<a href="www.site.com"><img src="image.gif" border="0" /></a>
  17. To make the background color in CSStd { background-color:#FFFFFF;}
  18. The best way to do this would be to make the window pop-upThen have the file start downloading on the page load.
  19. if you use td {font-size:12px;}It should overwrite the body font size.
  20. body {font-family:arial;color:black;font-size:3px;} by 3 you mean 3 px? Thats really small. I guess you could put in whatever unit you wanted.
  21. body {font-family:family;color:color;}I think that works.
  22. 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" />
  23. 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...