I am facing an issue with the alignment of my search field. Here is the code snippet:
#menu_search{
position: absolute;
width: 100%;
max-width: 1280px;
display: inline;
float: right;
right: 0px;
z-index: 99;
}
I would like the search field to be on the right side of the screen, but only within a maximum width of 1280px. Beyond that, I want it to stay aligned to the center of the screen.
--------------------------------1480px-----------------------------
XXXXXX----------------------1280px----------[search]XXXXXX