Jump to content

niche

Members
  • Posts

    3,671
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by niche

  1. Why does changing font-size, from 8px to 9px, in the button class, stagger the buttons? Firebug says there's plenty of room. In-line styles are used for convenience.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><?php session_start(); ?><html xmlns="http://www.w3.org/1999/xhtml"><head><meta name="description" content="Save money" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>ebop </title><style type="text/css">.button {margin:0px;padding:0px;width:60px;height:60px;font-size:8px;text-align:center;}</style></head><body><?phpecho '<div style="margin:0px 0px 0px 0px;float:left;overflow:visible;width:195px;height:160px;">';//right div   //button div   echo '<div style="margin:0px 0px 0px 0px;float:left;overflow:visible;width:180px;height:100px;">';  	  echo '<button class="button" >Item Details';	  echo '</button>';	   echo '<button class="button" >Phone';	  echo '</button>';	   echo '<button class="button" >Hours';   echo '</button>'; 	   echo '</div>'; //closes button divecho '</div>'; //closes right div?></body></html> 

  2. I'm currently using that to define the script that's connected to the link. For example the link "Bob" currently has href attribute of "bob.php". What's the thinking that will connect the "Bob" link to the href attribute "direct_all_links_from_here.php" so when "Bob is clicked the user gets sent to the "Bob" page from "direct_all_links_from_here.php"? I need it to work similarly for the "Barbara" link, same way for the "Barney" link and the "Beatrice" link. I need to avoid having a separate script for each firstname. I also want to avoid using a dropdown box to populate an input field.

  3. I modified the script at: http://www.w3schools...hp_ajax_php.asp to the script found at: http://www.lincolnsr...est_120506.html It only works with names that start with a "B". This requires a separate script for each link in the div called link_container. That will be a lot of scripts someday. I can't think of a way to channel all the links to a single script that sends the user to the same place they'd go as if they just clicked on the original link. Can you think of a way? If so, what's your thinking?

  4. thescientist, good point on the checked="checked". I'm sure you just helped me avoid a validation issue. Anyway, I was just trying to make use of the archive. Interestingly, it was the only topic that came back on my search. I expected more topics on the subject.

×
×
  • Create New...