Jump to content


  • Posts

  • Joined

  • Last visited

About bubazoo

  • Birthday 09/21/1970

Contact Methods

  • AIM
  • MSN
  • Website URL
  • ICQ
  • Yahoo

Profile Information

  • Location
    Warsaw, Indiana
  • Interests
    I didn't do it!!

bubazoo's Achievements


Newbie (1/7)



  1. bubazoo

    Html 5

    so it follows the same rules as XHTML with the added features?thats cool, its about time they clear up the XHTML/HTML confusion.
  2. bubazoo

    Html 5

    So is MTML 5 replacing XHTML 1.0? or is it just replacing the old HTML 4?I read on webware today about Google being in favor of HTML 5 over Gears, and that for the wave project, there trying to submit to the HTML 5 standard.what happened to XHTML then? is HTML 5 replacing that? er whats the scoop?
  3. bubazoo

    relative fonts

    oh, well section 508 guidelines says we're supposed to use percentages, instead of em's or px'sI don't see how you can write a CSS enabled site using nothing but percentages in fonts. I think there pulling our leg on that one.
  4. bubazoo

    relative fonts

    I have been reading about using relative font sizes when coding in CSS, rather then using absolute font sizes.So I went on the w3schools page, and couldn't find a decent example of "how" to code relative font sizes in CSScould someone possibly give me an example of how to do this?for example, okif I do something likeh1 {font-size: 160%;}h2 {font-size: 120%;}p {font-size: 100%;}I am fine, that much I understand, but what if I want to go smaller then the default?because I tried say for examplep.smaller {font-size: 80%;}but my pages froze up in Mozilla Firefox when I tried that for some reason.so, seriously, how are you supposed to do it? I don't understand, and they don't give youany decient examples anyplaceI mean, what I don't understand, in order to use percentages in fonts, do you have to set an actual font size in the body of your CSS first? or is it just the percentage of the default, like I said I don't understand at all, and the w3schools website doesn't go into this at all. I don't want to use absolute font sizes because then if someone zooms in and out on the page it doesn't look right, and we're all supposed to be using relative font sizes anyway according to section 508 guidelines, but it doesn't say anywhere how to "code" this?its like arrgh!!! hehethanks
  5. bubazoo

    CSS help

    nevermind, had to take out the "nowrap" DUH me!
  6. bubazoo

    CSS help

    if you are doing a simple table, like lets say <table> <tr> <td>row1 </td> </tr> <tr> <td>row2 </td> </tr> <tr> <td>row3 </td> </tr></table> lets say you want the TD's to be a fixed width, is there a way to do it (using CSS or something) so that, if the text is too long on the right, it will wrap around to the next line?because right now what is happening, is in row3, the table width is continuing on to the right instead of wrapping around.example: My Guestbook notice how comment 6 and 8 extend past the right like that? is there a way to get it to wrap around to the next line, without inserting breaks into the MYSQL table? What I actually want, is a fixed width, so it doesn't matter how long (or short) the comment is.right now I'm using: <ul style="font-size: small;list-style:none;margin:0;margin-left: 2.5em;padding:0"><li>'.$comment.'</li></ul> which works good for short comments. I tried using a "margin-right: " but that didn't seem to work.The first comment is how I actually want it to look. LOLthanks
  7. bubazoo

    PHP Help

    Hey guys,ok, well, so far I have this bit of 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"><head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>Directory Contents</title></head><body>// Set the directory name and open it.$search_dir = '.';$dp = opendir ($search_dir);// List the files.while ($item = readdir ($dp) ) { if ( (is_file ($item)) AND (substr ($item, 0, 1) != '.') ) { // Print the information. print $item; } // Close the IF.} // Close the WHILE.closedir ($dp); // Close the directory.?></body></html> that I made up using the PHP Manual mostly,but instead of printing out the files to the screen, how do I convert the filenames into an array? and how do I limit the listing to only jpg, gif, and png file extensions?I realize that PHP 5 uses the "scandir()" function that automatically does this, but my host has me on PHP 4.4.4 so I am forced to figure this out the manual waythanks guys, Basically what I am trying to do, is a Photo gallery like this one except, instead of using XHTML to insert the image filenames manually, get a list of image files inside the current directory and display them to that CSS style photo gallery.. I'll probably also remove the "mouseover" thing so the gallery always stays on the current page, but thats basically what I am trying to do.then I'll name that file "index.php" and put it inside my "/photos/home_pics" directory with a bunch of images in it. thanks guys.almost forgot.I know to create arrays you do like$variable = array (1 => 'something', 'something2');etc but I don't understand how to put $item into an array thats within a while loop like thatthanks
  8. I don't care one way or the other, I don't think my wife noticed that... I'll ask her about it.It was code she copied from DynamicDrive to make text links look like buttons is all.. If you thinkit looks better without, we can take that out no problem.how does it look now? http://tcoburn.com/testing/testing.htmlI think she wanted some padding inbetween the buttons, but not sure how to do that. I tried using"padding: 10px" inside the .pic routine, but that seemed to have no effect. "shrugs"
  9. it didn't. I took out the <p> tags and tried my approach with the nested <div's, and it still didn't work.Not in IE 7 and Firefox either one.Here is what she has..... http://tcoburn.com/testing/testing3.html Its what she wanted me to make into 2 columns. Its what she wants, just split into 2 or 3 columns, so we thought since there are 10 links it would be best to split them into 2 columns.in IE it looks terrible, in firefox it looks fine, so we don't know what to do about that either) so I tried this:http://tcoburn.com/testing/testing.htmland it isn't working... See what I mean?
  10. Hey guys,my wife has some buttons she made for her site using only CSS, and She's trying to figure out how to position them on the page so that they align into 2 columnshere is the CSS she is toying with .cssbutton{background-color: #BDB5FF;border: 2px #BDB5FF outset;padding: 1px 2px;color: black;text-decoration: none;font: bold 100% "cursive", Verdana, sans-serif; display: block; margin: 0 370px;}.cssbutton:visited{color: black;}.cssbutton:hover{border-style: inset;background-color: aqua;padding: 2px 3px 0 5px; /*shift text 1px to the right and down*/}.cssbutton:active{color: black;} Normally what I do for images, is set the style all around a container field, and float them to show up into 2 columns.. for instance, for images I normally use container { margin: 0px auto; width: 415px; height: 115px; }.pic { float: left; margin: 5px; text-align: center; } but as I found out, with links you cannot do that...for the HTML I normall do lke <div class="container"> <div class="pic"> <img src="row 1 column 1"> <img src="row 1 column 2"> </div> <div class="pic"> <img src="row 2 column 1"> <img src="row 2 column 2"> </div></div> but that doesn't seem to be working in this case.. right now for her HTML she has <p><a href="http://www.dynamicdrive.com" class="cssbutton">Photo Gallery</a></p><p><a href="http://www.dynamicdrive.com" class="cssbutton">Links</a></p><p><a href="http://www.dynamicdrive.com" class="cssbutton">About Me</a></p> which I told her she would have to put around div tags, but it didn't seem to work when we tried it.does anyone have a clue what we are doing wrong here? er what we are missing?she wants the links to look like buttons, that change color when you hover over them, which is working now, but straight down the page.. What she wants is to position them 2 columns across, anyone know how to do this?I tried float and setting the margin to 0px auto but that didn't work, so I don't know what to try now, any suggestions? normally this works with images, but it isn't with text links, so I must be missing something.thanks
  11. onload alone wouldn't tell when the page is done loading though. I've seen a few pages like this around.
  12. Hey guys,I've seen on some websites, where they have a box that comes up that says something like"one moment please" while the page is loading, then disappears when the page is done loadinganyone know how this is done? thanks
  13. cool, I triedfloat: left in div.commentname, but that didn't work, so I tried display: inline; and that worked perfectly. weird I never would have thought it was that simple.thanks
  14. Hey guys,I am having trouble getting this to display correctly in Firefox.Works fine in IE 6 and 7, but i can't get it to work in Firefox?this is how its supposed to lookand this is whats happening in Firefox/Mozilla The CSS code I'm using for this is: img.gravatar { float: left; margin-top: 4px; margin-right: 8px; padding: 2px; width: 40px; height: 40px; border: 1px solid #ccc; background-color: #E0E1CE;}div.commentmeta { float: left;}div.commentname { margin-top: 10px; font-size: 14px; font-weight: bold;}div.commenttime { color: #000000;}div.commenttext { clear: left; padding-top: 1em;}#commentlist li { list-style-type: none; margin-bottom: 10px; padding: 10px; background-color: #E0E1CE; border-top: 1px dashed #999966; border-bottom: 1px dashed #999966; } and the XHTML is this <ol id="commentlist"> <li id="comment-<?php comment_ID() ?>"> <div class="commentmeta"> <div class="gravatar">the question mark image here</div> <div class="commentname">jayme</div> <div class="commenttime">Date, Time line here</div> </div> <div class="commenttext"> The rest of the text here </div> </li></ol> Anyone know what I am doing wrong here? Looks fine in IE, just firefox as you can see from the screenshots :)thanks
  15. Hey guys,I am having a problem with my blog. wordpress specifically.The content (the actual blog post) isn't following XHTML standards, I get 8 errors on one page, 16 on another, and there all problems I can't do nothing about, so I tried this..<![CDATA[ <div class="post"> the_content(); </div> ]]>but for some reason (have no idea why) the browser isn't rendering whats inside the CDATA tags,why?? and what can I do about it?thanks
  • Create New...