html - creating an array of buttons from a query - sizing with CSS -


Note I found this issue, I thought it was not displaying just 2 words, it is not actually in CSS is. I removed all the CSS from the submit button and I'm still showing robert $ _post also Robert if I

  while ($ line = $ Rs-> fetch_assoc ()) Replaces {$ line ['name']. "& Lt; br & gt;"; }  

This shows the Robert table , when the button creates it hidden it starts falling down by the name of tables if I The name changes in the database in robert_tables , then the full name shows just a new question


I will post my first attempt in CSS again and Google will post it again Has not responded to.

To start with a query: $ query = "Select the name from the members where the name = active with the command = 1";

Next I am creating the column 5 column of the table, which is 100% of the page, each column is 20%

  resonance "
fetch_assoc ()) {if ($ column == 0) {echo "<<"; } Echo " = 5) {echo ""; Html {padding: 0; Height: 100%; Border: None; Body {background color: # 93929f; Background-image: url ("shield1.png"); Repeat Background: No Repetition; Background-position: 50% 10%; Margin: 0; Padding: 0; Height: 100%; Border: None; } Form {height: 90%; } .fullheight {height: 85%; Width: 100%; }. Celnopad {Width: 20%; Padding: 0 px 0 px; } / * Copied it with an example and tweak * / .submitbtn {height: 100%; Width: 100%; Opacity: 0.5; Cursor: indicator; / * Forces the cursor to be converted in one hand when the button * hasded / padding: 5px 0px; Add some padding inside / * button * / background: # 35b128; / * Button color * / range: 1px solid # 33842a; / * Is required or the default border will be shown for the browser * / / * button to give round corners, resize as needed / / -mobile-radius: 10px; -WebKit-boundary-radius: 10px; Range radius: 10px; Give the / * button a drop shadow * / -webkit-box-shadow: 0 0 4px rgba (0,0,0, .75); -Move box-shadow: 0 to 4 px RGBA (0,0,0, .75); Box-Shadow: 0 to 4 Px RGBA (0,0,0, .75); / * Style text * / color: # F3F3F3; Font-size: 1.1em; } / *** Now button hover and centered states *** / .submitbtn: hover, .submitbtn: focus {background color: # 399630; / * Make the background a bit darker * / / * Reduce drop shadow size to give a push button effect / / webkit-box-shadow: 0 0px rgba (0,0,0, .75); -MOZ-BOX-SHADOW: 0 0 1 Px RGBA (0,0,0, .75); Box-Shadow: 0 1 Px RGBA (0,0,0, .75); Opacity: 1; / * Style text * / color: #fff 00; Font-size: 1.2em; }

I want to maintain 5 columns, which are spread across the page, I want to change the number of "cells" depending on the results. And I want the buttons to be the same so far I have all this, but the button inside each button can be more than the button's amplitude, so that it can cut some parts of the name. Example: Robert table only robert

showing I did not find an auto text size setting for a button Does anyone exist? If so, what is it, and how will it be used? Apart from this, any help is appreciated for doing better work, but keep in mind that I am starting now, so please take the steps of the child.

Please change the structure below.

  1 #cellnopad tocellnopad 2. #submitbtn .submitbtn 3. & lt; Td id = 'cellnopad' & gt; From & lt; Td class = 'celopepad' & gt; 4. & lt; Input type = 'submit' id = 'submitbtn' name = 'name' value = ". $ Line ['name']." Input type = 'submit' class = 'submitbtn' name = 'name' value = ". $ Line ['name']." / & Gt; You can also & lt; Input & gt; Tag 5. .Submitbtn {Height: 40px; // 100% instead of height; }  

Ensure that you use the ID for elements which are not being repeated. It should be only one

per page:


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -