Using html, css to create a google search page look alike

Using html, css to create a google search page look alike

By : StriveBoy
Date : November 22 2020, 03:01 PM
I hope this helps you . Given the way your current footer looks I am kind of operating under the assumption that you want even dispersement. Please take a look at the following code. This was implemented with bootstrap 3, but if you are new to this I'd recommend giving bootstrap 4 or materialize a try and practicing with that.
code :
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: transparent;

li {
  display: block;
  float: right;

li a {
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;

button a {}

.google-logo {
  position: absolute;
  margin: 10em 32.5em;

.feeling-lucky {
  position: absolute;
  margin: 20em 32.5em;
  width: 400px;

#searchbar {
  position: absolute;
  top: 260px;
  left: 375px;
  width: 580px;
  height: 30px;
  border: 1px solid #cdcdcd;

#search_button {
  position: absolute;
  top: 310px;
  left: 550px;
  border: 1px solid #dcdcdc;
  border-color: rgba(0, 0, 0, 0.1);
  color: #444!important;
  font-size: 11px;
  font-weight: bold;
  padding: 8px;
  background: -webkit-linear-gradient(top, #f5f5f5, #f1f1f1);
  border-radius: 2px;

#lucky_button {
  position: absolute;
  top: 310px;
  left: 680px;
  border: 1px solid #dcdcdc;
  border-color: rgba(0, 0, 0, 0.1);
  color: #444!important;
  font-size: 11px;
  font-weight: bold;
  padding: 8px;
  background: -webkit-linear-gradient(top, #f5f5f5, #f1f1f1);
  border-radius: 2px;

.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  background-color: #efefef;
  text-align: center;
  margin: : 20em;

.footer-link {
  margin-left: 10px;
  color: #000;

.move-left {
  float: left;

.move-right {
  float: right;
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<nav class="header">
  <div class="col-xs-8">
      <li><a href="#"><i class="fa fa-2x fa-user-circle-o" aria-hidden="true"></i></a></li>
      <li><a href="#"><i class="fa fa-2x fa-bell" aria-hidden="true"></i></a></li>
      <li><a href="#"><i class="fa fa-2x fa-bars" aria-hidden="true"></i></a></li>
      <li><a href="#">Images</a></li>
      <li><a href="#">Mail</a></li>
<div class="google-logo">
  <img src="images/google-logo.jpg" height="85px" width="250px" alt="google-logo" title="google-logo">
  <input type="text" name="searchBar" id="searchbar" placeholder="Search Google or Type URL">
  <input type="button" value="Google Search" id="search_button">

<input type="button" value="I'm Feeling Lucky" id="lucky_button">
<div class="footer">
  <div class='container-fluid'>
    <div class='col-md-4'>
      <a href="#" class='footer-link move-left'>Advertising</a>
      <a href="#" class='footer-link move-left'>Business</a>
    <div class='col-md-8'>
      <a href="#" class='footer-link move-right'>Settings</a>
      <a href="#" class='footer-link move-right'>Terms</a>
      <a href="#" class='footer-link move-right'>Privacy</a>


Share : facebook icon twitter icon
Create a html-js UI GCalendar alike in java

Create a html-js UI GCalendar alike in java

By : johndie
Date : March 29 2020, 07:55 AM
hope this fix your issue I'm trying to replicate a UI like a gcalendar (only the layout not any of its functions) how to build a loop with a calendar to build a cute layout like that? with saturdays marked and holidays too. , the java code:
code :
public class CalendarUI {
    public static String Dias[] = { "", "DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB" };
    public static String Meses[] = { "JAN", "FEV", "MAR", "ABR", "MAI", "JUN", "JUL", "AGO", "SET", "OUT", "NOV", "DEZ" };

    public static void printCalendar(int currMonth){
        int i = 1;      
        Calendar c = Calendar.getInstance();
        NumberFormat formatter = new DecimalFormat("##00");

        c.set(Calendar.YEAR, 2009);
        c.set(Calendar.MONTH, currMonth);
        c.set(Calendar.DATE, i);

        // cabecalho com o mes
        System.out.println(" - " + Meses[currMonth] + " - ");

        // ajuste para o primeiro dia
        for (; i < c.get(Calendar.DAY_OF_WEEK); i++) {
            System.out.print("           ");

        // principal
        for (i = 1; i <= 31; i++) {
            c.set(Calendar.DATE, i);

            if (c.get(Calendar.MONTH) == currMonth) {       
                if (c.get(Calendar.DAY_OF_WEEK) == 1)

                System.out.print("[ " + Dias[c.get(Calendar.DAY_OF_WEEK)]
                        + ", " + formatter.format(i) + " ]");


    public static void main(String[] args) {
        for (int j = 0; j < 12; j++) {


 - MAI - 
                                                       [ SEX, 01 ][ SAB, 02 ]
[ DOM, 03 ][ SEG, 04 ][ TER, 05 ][ QUA, 06 ][ QUI, 07 ][ SEX, 08 ][ SAB, 09 ]
[ DOM, 10 ][ SEG, 11 ][ TER, 12 ][ QUA, 13 ][ QUI, 14 ][ SEX, 15 ][ SAB, 16 ]
[ DOM, 17 ][ SEG, 18 ][ TER, 19 ][ QUA, 20 ][ QUI, 21 ][ SEX, 22 ][ SAB, 23 ]
[ DOM, 24 ][ SEG, 25 ][ TER, 26 ][ QUA, 27 ][ QUI, 28 ][ SEX, 29 ][ SAB, 30 ]
[ DOM, 31 ]
Google-alike search algorithm

Google-alike search algorithm

By : user3147356
Date : March 29 2020, 07:55 AM
I wish this helpful for you You could use a kind of Bloom filter (at least this is part of Google's strategy). First you look up for entries with all of the entered tags. If you find nothing, try out all combinations with one tag missing, then with two tags missing ... until you have enough matches. The lookup in the Bloom filter is very fast, so it's okay to do many lookups.
Google custom search: Query limit, create links to search result page?

Google custom search: Query limit, create links to search result page?

By : user3262048
Date : March 29 2020, 07:55 AM
use selector search on html code(string) on PHP variable or ways alike

use selector search on html code(string) on PHP variable or ways alike

By : vikingPro
Date : March 29 2020, 07:55 AM
like below fixes the issue You can look at SimpleHTMLDom Parser (manual at http://simplehtmldom.sourceforge.net/manual.htm). This is a powerful tool to parse the HTML code to find and extract various elements and their attribute.
For your particular case, you can use
code :
// Create a DOM object from the input string
$htmlDom = str_get_html($html);
// Find the required element
$e = $htmlDom->find($selector);
Google search alike SearchView

Google search alike SearchView

By : konefsta
Date : March 29 2020, 07:55 AM
With these it helps The search view, that you want to achieve in fact is not a SearchView. It's a custom component. Here's the view tree that can be obtained using Hierarchy Viewer tool:
Related Posts Related Posts :
  • Jumping background
  • align icon on top of text inside button tag
  • Working with local language in HTML
  • Mobile responsive design--> Img-responsive not working
  • Display a fix number of row item depending on screen size using bootstrap
  • EditorConfig for VS Code not working
  • Make second image 50% smaller than first with CSS
  • CSS Align logo same height as text
  • How can I write this layout with flexbox?
  • Truncating an individual block of text within a list item
  • Making Wordpress Site 100% Browser Width
  • Move links within a navbar
  • Float div left and button right
  • Vertically and horizontally centering two items within a parent div that is part of a flex-row
  • Why images and text with links keep moving on hover
  • How do I make different buttons in css?
  • Input border effecting the position of span why?
  • bootstrap.min.css X in top right corner
  • Why can browsers infer certain omitted HTML elements, but not all omitted elements required to form valid markup?
  • Strange behaviour involving Closure commands and "text-align:justify"
  • Get button to hover over image
  • flexbox prevent wrapping of rows
  • How to use CSS to give a circle a "partial border"
  • Float left vs float right - why does the order change?
  • css vertical align not working correctly
  • Bootstrap 4 grid issue
  • Eliminate margin when commenting
  • CSS Properties rules are not working in HTML file
  • Position footer div at bottom inside table-cell with 100% width
  • How to align one element to bottom and other one to top in bootstrap 4
  • Using Bootstrap, how do I center my navigation bar?
  • VBA Excel Content into HTML (create an HTML file from Excel)
  • minimum height of div and contents at least 100%
  • Absolute position div goes out of window when opening console
  • Make my background-image in the middle
  • Bootstrap col-sm-6 icons alignment
  • Nav bar won't stay in header when made smaller. How can I achieve this?
  • How to right align a hyperlink in a <div>?
  • Links with tables doesn't quite work
  • How to make <tr>'s height of position:fixed column follow its content's height?
  • Is an empty meta refresh tag ignored or equivalent to 0?
  • CSS How can I make this height responsive?
  • DIV moves when it has children elements
  • How to set first table column as bold (CSS)
  • Bootstrap Fieldset Legend is getting Covered by Panel Panel-default completely
  • Blogspot remove black line above posts
  • Usage of picture tag for svg types
  • Angular 4 toggle fontawesome button inside ngFor
  • CSS code not working on one single page
  • Place footer on bottom page while printing
  • Google maps API doesn't change language
  • Fade out previous :target after :target changed
  • Display flex, make image same height with another columns
  • Flexbox grid with multi-width columns
  • CSS flex grow does not work with added div on top
  • Change font color of Dynamic Item In Text area Spotfire
  • Enable text-box according to a combo-box select
  • create a one line text table with auto scroll horizontally fit div width
  • What's the best way to center an SVG horizontally and vertically inside a div tag?
  • List element not encompassing entire ul
  • shadow
    Privacy Policy - Terms - Contact Us © voile276.org