Jump to content

ishan_shah

Members
  • Posts

    90
  • Joined

  • Last visited

Everything posted by ishan_shah

  1. ishan_shah

    Bootstrap3

    Hello, Placehold is useful whenever your source image is not found at that time it will display. 150 X 80 is the size of that image or we can say alternate thing to be displayed.
  2. Hello, You have problem in CSS with width property. You should give px after width value i.e. 300px. You should follow following code. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <style> #wrapper { padding: 15px; } #header { background-color: #000; height: 100px; -maz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; } #content { margin-top: 15px; } #content::after { content: " "; display: block; clear: both; } #left-panel { width: 20%; height: 400px; float: left; } #navbar { background-color: #e68800; height: 400px; -maz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; } #news { background-color: #b8b894; height: 200px; -maz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; margin-top: 15px; } #right-section { background-color: #009999; height: 615px; -maz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; width: 400px; float: right; } #footer { height: 100px; background-color: #003333; -maz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; margin-top: 15px; } </style> </head> <body> <div id="wrapper"> <div id="header"></div> <div id="content"> <div id="left-panel"> <div id="navbar"></div> <div id="news"></div> </div> <div id="right-section"></div> </div> <div id="footer"></div> </div> </body> </html>
  3. Hello, You can use the convert() function in SQL to convert your string date into date time object. You can use different date-time objects for displaying date and time in different format. E.x. SELECT CONVERT(varchar, 'yourstringcolumn', 113);
  4. date_default_timezone_set('GMT'); $start = '2014-06-01 14:00:00'; echo date('Y-m-d H:i',strtotime('+1 hour +20 minutes',strtotime($start)));
  5. SQL stands for Structured Query Language. It’s a standard language for accessing and manipulating databases. MySQL is a database management system, like SQL Server, Oracle, Informix, Postgres, etc. MySQL is an RDMS (Relational Database Management System). When considering a utility for data management the two most popular choices are MySQL and SQL Server. Both are efficient at keeping your data organized and readily available through a user interface. Both technologies have the concept of the schema (that is table storage) for data storage.
  6. Hello, I think you should try as per the following way: <input name="txtName" type="text" id="txtName" class="" autocomplete="off" value="" required="" placeholder="" pattern="[a-zA-Z0-9]+" maxlength="10">
  7. print("<select name='title' class='dropdown'> <option style='color:maroon; font-size:bold' name='title'>$title</option>"); while ($row = mysql_fetch_row($Results)) {print("<option value=$row[1]>$row[1]</option>");} print("</select>"); In external CSS file: .dropdown{ width:150px; }
  8. Hello, You can try following code <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script> </head> <body> <div class="container"><br> <table class="table table-bordered"> <tbody> <tr> <th rowspan="6" style="width:400px; text-align: center; line-height: 270px" >Bootcamp Workout <th>DAUER</th> <th>PREIS</th> </th> <tr> <td>Ein</td> <td></td> </tr> <tr> <td>3</td> <td></td> </tr> <tr> <td>6</td> <td></td> </tr> <tr> <td>12</td> <td></td> </tr> <tr> <td>Fir</td> <td>Auf</td> </tr> </td> </tr> </tbody> </table> </div> </body> </html>
  9. Hello, According to me, it simply says that when you run the file, at that time in the browser it will not display as a form. You have to apply style as per your convenience.
  10. Hello, If you already have duplicate values in the particular column then it will not allow you to put unique constraint into the table. Otherwise, it will be changed through the following query. ALTER TABLE table_name ADD CONSTRAINT constraint_name UNIQUE('column_name');
  11. Hello, you can change the font color applying CSS. you can write like the following code. #tuscaloosa-river-market-vendors{ font-color:white; background-color:black; }
  12. ishan_shah

    sql-DDL

    Yes, an admin can grant/revoke the privileges from other users that may include DDL rights to Create/Alter/Drop the View or Tables.
  13. I think you should check your reference once. Also, check whether your HTML file and External CSS file is in a single folder or not. If both files are in a single folder then you should write a link tag between head tag as follows: <link rel="stylesheet" type="text/css" href="yourcssfilename.css">
×
×
  • Create New...