Posts

Showing posts from September, 2013

Table-less vetical align of text

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head>   <title>Universal vertical center with CSS</title>   <style>     .greenBorder {border: 1px solid green;} /* just borders to see it */   </style> </head> <body>   <div class="greenBorder" style=" display: table ; height: 400px; #position: relative; overflow: hidden; ">     <div style=" #position: absolute; #top: 50%; display: table-cell; vertical-align: middle; ">       <div class="greenBorder" style=" #position: relative; #top: -50% ">         any text<br>         any height<br>         any content, for example generated from DB<br>         everything is vertically centered  ...

Export a tables from phpMyAdmin (Not the entire database)

You can export the structure of a table, the data of a table or dump both structure and data. Select the database DO NOT click on any of the tables on the left pane Click the export button on top Select 'custom' as the export method Select the required table from the tables box on the right pane Select the format specification option - This could be structure, data or both Click 'Go'