Servus,
Ich wollte fragen ich habe ein suchfeld erstellt mit grafik und css, aber das problem ist das auf leptop richtig gezeigt wird auf rechten seiten und auf Bildschrim von rechner wird es auf mitte das such feld gezeigt wie muss ich es einstellen das es bei beiden auflösungen gleich gezeigt wird.
Meine Webseite LINK:
MTA-WEBSEITE-TEST
Pfad zu CSS:
http://mta-webseite.24.gp/HOME/CSS/home.css
Ich wollte fragen ich habe ein suchfeld erstellt mit grafik und css, aber das problem ist das auf leptop richtig gezeigt wird auf rechten seiten und auf Bildschrim von rechner wird es auf mitte das such feld gezeigt wie muss ich es einstellen das es bei beiden auflösungen gleich gezeigt wird.
HTML:
.such_background {
position: absolute;
background-image: url(/HOME/PNG/such.PNG);
background-repeat: no-repeat;
padding: 0px;
float: left;
height: 38px;
width: 363px;
margin-top: -4.5em;
margin-right: 74px;
margin-bottom: 0px;
margin-left: 55em;
}
.searchname {
font-family: Arial;
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
float: left;
height: 20px;
padding-top: 12px;
padding-right: 8px;
padding-bottom: 0px;
padding-left: 50px;
}
.searchbox {
font-family: Arial;
font-size: 14px;
font-weight: bold;
color: #9a2500;
text-decoration: none;
float: left;
height: 20px;
padding-top: 8px;
padding-right: 8px;
padding-bottom: 0px;
padding-left: 0px;
margin: 0px;
}
.searchtextbox {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #333333;
text-decoration: none;
margin-left: 2.2em;
margin-top: -0.4em;
padding: 0;
float: left;
height: 16px;
width: 153px;
border: 1px solid #CCCCCC;
}
.searchtextbox:hover {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #333333;
text-decoration: none;
float: left;
height: 16px;
width: 153px;
border: 1px solid #999999;
}
.go {
position:absolute;
font-family: Arial;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-image: url(/HOME/PNG/go.png);
background-repeat: no-repeat;
margin: -0.3em;
margin-left:-2px;
float: left;
height: 19px;
width: 25px;
text-align: inherit;
text-transform: capitalize;
padding-top: 2px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: -9px;
}
.go:hover {
font-family: Arial;
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-image: url(/HOME/PNG/go1.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 19px;
width: 34px;
text-transform: capitalize;
padding-top: 2px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
Meine Webseite LINK:
MTA-WEBSEITE-TEST
Pfad zu CSS:
http://mta-webseite.24.gp/HOME/CSS/home.css