-
Posts
312 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Cronthenoob
-
-
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.
-
Valign
in HTML/XHTML
<td valign="middle">Should vertically center everything in that cell.Don't know why its not working
-
Valign
in HTML/XHTML
in the <td> tag you should just be able to putvalign="top" valign="botton"orvalign="middle"Edit: accidently put center instead of middle.
-
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.
-
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
-
Lists
in HTML/XHTML
<!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.
-
Lists
in HTML/XHTML
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.
-
Lists
in HTML/XHTML
Try running it throug the validator and see what it says :)I could be wrong.
-
Lists
in HTML/XHTML
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>
-
I lol'd in real life. haha. :ph34r: you forgot this smilie though!When you can snatch the pebble from my hand Grasshopper you will be ready! :) -
not at all
-
Damn, he beat me too it, lolTwice!
-
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.
-
No problem! Happy coding!
-
simple enough.no there is many td's in the page and I want just one of them to be like this...blacktable {background-color:black;}
then in the HTML
<td class="blacktable">Content</td>
-
in the image tag, just add border="0"<a href="www.site.com"><img src="image.gif" border="0" /></a>
-
To make the background color in CSStd { background-color:#FFFFFF;}
-
The best way to do this would be to make the window pop-upThen have the file start downloading on the page load.
-
if you use td {font-size:12px;}It should overwrite the body font size.
-
so how would I make it size 3, color balck and face arial?
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.
-
body {font-family:family;color:color;}I think that works.
-
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" />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! -
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
-
When I voted, Chocolate had 3 votes and now he only has one.Also, the RSS thing had the most votes as well, and it seems to have lost 2 votes.
Any good IDE's out there?
in HTML/XHTML
Posted
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!