Website

Status
Niet open voor verdere reacties.

RonnieV1987

Gebruiker
Lid geworden
18 nov 2010
Berichten
206
Hallo allemaal :D

Ik heb een Webwinkel.
via software van logivert nu zijn heen ontwerpen natuurlijk oer lelijk.
der zit wel een soort ontwerp dingetje bij maar dat is op basis van bestaande lay-outs.

Met een beetje knuttselen is dit het resultaat www.voorhorst-bestrating.nl/ Niet spectaculair maja beter als dan het was.

maar ik kan nergens vinden hoe ik die lelijke zoek button inruil voor een vergroot glasje ofzo.

iamand een idee?


CSS

Code:
/*------------------------ Common ------------------------*/

* {
  margin: 0 auto;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #000000;
  background-color: #FFFFFF;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
}

a {
  color: #000000;
}

a:hover {
  color: #000000;
}

a img {
  border: 0;
}

.clearfloat {
  clear: both;
  height: 0;
  font-size: 1px;
  line-height: 0px;
}

.tXt {
  padding-bottom:3px;
  color: #fff
}

.lOg {
  width: 180px;
  border: 1px solid #ccc;
  padding: 2px;
  margin-bottom: 3px;
}

.error {
  text-decoration: none;
  color: #FF0000;
  text-align: center;
}

.dropdown {
}

.field {
  background: url(seachfield.jpg) no-repeat;
  border: none;
  height: 27px;
}
/*------------------------ Container ------------------------*/

#container {
  margin: 0 auto;
  position: relative;
  text-align: left;
  width: auto;
}
/*------------------------ Header ------------------------*/

#header1 {
  display: block;
  width: auto;
  position: relative;
  height: 80px;
  background-color: #FFFFFF;
  background-image: url("header1bgimage.jpg");
  background-repeat: repeat-x;
  text-align: left;
  vertical-align: top;
  padding: 10px 10px 10px 10px;
}

#header2 {
  display: block;
  width: auto;
  position: relative;
  height: 20px;
  background-color: #C0C0C0;
  background-image: url("header2bgimage.jpg");
  background-repeat: repeat-x;
  text-align: left;
  vertical-align: top;
  padding: 5px 10px 5px 10px;
}

#header3 {
  display: block;
  width: auto;
  position: relative;
  height: 25px;
  background-color: #FFFFFF;
  background-image: url("header3bgimage.jpg");
  background-repeat: repeat-x;
  text-align: right;
  vertical-align: top;
  padding: 2px 10px 10px 10px;
}

.logo {
  padding: 20px 0px 0px 10px;
}

.language {
  float: right;
  padding-right: 15px;
}

#menu2 {
  padding: 0;
  height: 45px;
  padding-left: 5px;
  background: transparent;
}

#menu2 ul {
  margin: 0;
  padding: 0;
  list-style:none;
}

#menu2 li {
  display: inline;
  margin: 0 2px 0 0;
  padding: 0;
}

#menu2 a, #menu2 strong {
  float: left;
  padding: 0px 4px 0px 9px;
  text-decoration: none;
  background: url("h2menulstdleft.jpg") transparent no-repeat left top;
}

#menu2 a span {
  float: left;
  display: block;
  padding: 8px 20px 13px 10px;
  background: url("h2menulstdright.jpg") transparent no-repeat right top;
}

#menu2 a:hover {
  background: url("h2menulhovleft.jpg") transparent no-repeat left top;
}

#menu2 a:hover span {
  background: url("h2menulhovright.jpg") transparent no-repeat right top;
}

#menu3 {
  padding: 0;
  height: 45px;
  padding-left: 5px;
  background: transparent;
}

#menu3 ul {
  margin: 0;
  padding: 0;
  list-style:none;
}

#menu3 li {
  display: inline;
  margin: 0 2px 0 0;
  padding: 0;
}

#menu3 a, #menu3 strong {
  float: left;
  padding: 0px 4px 0px 9px;
  text-decoration: none;
  background: url("h3menulstdleft.jpg") transparent no-repeat left top;
}

#menu3 a span {
  float: left;
  display: block;
  padding: 8px 20px 13px 10px;
  background: url("h3menulstdright.jpg") transparent no-repeat right top;
}

#menu3 a:hover {
  cursor: inherit;
  background: url("h3menulhovleft.jpg") transparent no-repeat left top;
}

#menu3 a:hover span {
  background: url("h3menulhovright.jpg") transparent no-repeat right top;
}

.title2 {
}

.title2Sitetitle {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.title2Sitesubtitle {
  font-size: 16px;
  color: #ffffff;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.title3 {
}

.title3Sitetitle {
  font-size: 12px;
  color: #000080;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.title3Sitesubtitle {
  font-size: 12px;
  color: #0000FF;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}
/*------------------------ sidebars ------------------------*/

#sidebar1 {
  float: left;
  width: 225px;
  background-color: #FFFFFF;
  text-align: left;
  vertical-align: top;
  padding: 10px 10px 10px 10px;
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar1 .top_box {
  margin-top: 5px;
  width: 225px;
  background: url("mlbodyimage.jpg") repeat-y;
}

#sidebar1 .cont_box {
  padding-top: 25px;
  background: url("mltopimage.jpg") no-repeat top;
}

#sidebar1 .fot_box {
  height: 15px;
  width: 225px;
  background: url("mlbottomimage.jpg") no-repeat top;
}

#sidebar1 .sidebarBoxheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar1 #submenu {
  margin-top: 3px;
}

#sidebar1 #submenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebar1 #submenu li {
  margin: 0 7px 0 7px;
  list-style: none;
  border-bottom: 1px solid #FFFFFF;
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar1 #submenu li a {
  list-style: none;
  padding: 6px 10px 6px 25px;
  display: block;
  text-decoration: none;
  cursor: pointer;
  background: url("mlbulletimage.jpg") 5px 10px no-repeat;
  font-size: 12px;
  color: #000080;
  font-weight: normal;
  font-style: normal;
  text-decoration: underline;
}

#sidebar1 #submenu li a:hover {
  font-size: 12px;
  color: #0000FF;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar1 .menuShoppingcartitemheader {
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar1 .menuShoppingcartitem {
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar1 td.menuShoppingcartitem {
  text-align: right;
  vertical-align: top;
}

#sidebar1 .menuShoppingcartempty {
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar1 .tXt {
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar1 input.text {
  width: 85px;
  margin: 0;
  padding: 1px 5px 3px 5px;
  border: 1px solid #CCC;
  color: #333;
  font-size: 11px;
  vertical-align: middle;
}

#sidebar1 input.login {
  padding: 1px 5px 3px 5px;
  vertical-align: middle;
  background: url(defaultbutton.gif) repeat-x;
}

#sidebar2 {
  float: right;
  width: 225px;
  background-color: #FFFFFF;
  text-align: left;
  vertical-align: top;
  padding: 10px 10px 10px 10px;
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar2 .top_box {
  margin-top: 5px;
  width: 225px;
  background: url("mrbodyimage.jpg") repeat-y;
}

#sidebar2 .cont_box {
  padding-top: 25px;
  background: url("mrtopimage.jpg") no-repeat top;
}

#sidebar2 .fot_box {
  height: 15px;
  width: 225px;
  background: url("mrbottomimage.jpg") no-repeat top;
}

#sidebar2 .sidebarBoxheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar2 #submenu {
  margin-top: 3px;
}

#sidebar2 #submenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebar2 #submenu li {
  margin: 0 7px 0 7px;
  list-style: none;
  border-bottom: 1px solid #FFFFFF;
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar2 #submenu li a {
  list-style: none;
  padding: 6px 10px 6px 25px;
  display: block;
  text-decoration: none;
  cursor: pointer;
  background: url("mrbulletimage.jpg") 5px 10px no-repeat;
  font-size: 12px;
  color: #000080;
  font-weight: normal;
  font-style: normal;
  text-decoration: underline;
}

#sidebar2 #submenu li a:hover {
  font-size: 12px;
  color: #0000FF;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar2 .menuShoppingcartitemheader {
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar2 .menuShoppingcartitem {
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar2 td.menuShoppingcartitem {
  text-align: right;
  vertical-align: top;
}

#sidebar2 .menuShoppingcartempty {
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar2 .tXt {
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#sidebar2 input.text {
  width: 85px;
  margin: 0;
  padding: 1px 5px 3px 5px;
  border: 1px solid #CCC;
  color: #333;
  font-size: 11px;
  vertical-align: middle;
}

#sidebar2 input.login {
  padding: 1px 5px 3px 5px;
  vertical-align: middle;
  background: url(defaultbutton.gif) repeat-x;
}

.pad {
  padding: 0 15px;
}
/*------------------------ shoppingcart ------------------------*/

.basKet {
  padding-top: 10px;
  font-size: 12px;
}
/*------------------------ newsletter ------------------------*/

.menuNewsletterheader {
  margin: 0px;
  height: 40px;
  color: #fff;
  margin: 0px;
  width: 145px;
  padding-right: 145px;
  background-image: url(box3.gif);
  background-repeat: no-repeat;
  line-height: 32px;
  font-weight: bold;
  vertical-align: middle;
  float: left;
  padding-top: 0px;
  padding-left: 10px;
}

.menuNewsletter {
  font-weight: normal;
}
/*------------------------ topLanguages ------------------------*/

A.topLanguages {
  text-decoration: none;
}

A.topLanguages:hover {
  text-decoration: underline;
}
/*------------------------ login ------------------------*/

.login {
  padding: 1px 5px 3px 5px;
  background: url(defaultbutton.gif) repeat-x;
}

.login1 {
  padding-top: 5px;
}

.loginerror {
  text-align: left;
  color: red;
}

.menuLoginheader {
  font-weight: bold;
}

.menuLogin {
  font-weight: normal;
}

A.menuLogin {
  text-decoration: none;
  font-weight: normal;
}

A.menuLogin:hover {
  text-decoration: underline;
  font-weight: normal;
}
/*------------------------ maincontent ------------------------*/

#mainContent {
  height: auto;
  overflow: hidden;
  text-align: justify;
  background-color: #FFFFFF;
  text-align: left;
  vertical-align: top;
  padding: 10px 10px 10px 10px;
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#mainContent a {
  font-size: 12px;
  color: #000080;
  font-weight: normal;
  font-style: normal;
  text-decoration: underline;
}

#mainContent a:hover {
  font-size: 12px;
  color: #0000FF;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#mainContent ul {
  margin: 0;
  padding: 0;
  list-style:none;
}

#mainContent li {
  padding: 6px 10px 6px 20px;
  display: block;
  text-decoration: none;
  list-style: none;
  background: url(bullet.gif) 5px 10px no-repeat;
}
/*------------------------ pageAttentionarticles ------------------------*/

.pageAttentionarticlesheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.pageAttentionarticles {
  text-decoration: none;
  font-weight: normal;
}

A.pageAttentionarticles {
  text-decoration: none;
  font-weight: normal;
}

A.pageAttentionarticles:hover {
  text-decoration: underline;
  font-weight: normal;
}

img.pageAttentionarticles {
  border: 0px;
  margin-bottom: 10px;
  margin-right: 10px;
}
/*------------------------ pagePromotionarticles ------------------------*/

.pagePromotionarticlesheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.pagePromotionarticles {
  text-decoration: none;
  font-weight: normal;
}

A.pagePromotionarticles {
  text-decoration: none;
  font-weight: normal;
}

A.pagePromotionarticles:hover {
  text-decoration: underline;
  font-weight: normal;
}

img.pagePromotionarticles {
  border: 0px;
  margin-bottom: 10px;
  margin-right: 10px;
}
/*------------------------ pageWelcome ------------------------*/

.pageWelcomeheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.pageWelcome {
  text-decoration: none;
  font-weight: normal;
}
/*------------------------ footer ------------------------*/

#footer {
  background-color: #0080FF;
  text-align: center;
  vertical-align: top;
  padding: 10px 10px 10px 10px;
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#footer a {
  font-size: 12px;
  color: #000080;
  font-weight: normal;
  font-style: normal;
  text-decoration: underline;
}

#footer a:hover {
  font-size: 12px;
  color: #0000FF;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

#footer u {
}

#footer p {
}

.bottomFootertext {
}

P.bottomFootertext {
}
/*------------------------ extrapages ------------------------*/

.bottomExtrapages {
  font-weight: normal;
}

A.bottomExtrapages {
  text-decoration: none;
  font-weight: normal;
}

A.bottomExtrapages:hover {
  text-decoration: underline;
  font-weight: normal;
  color: #fff;
}

P.bottomExtrapages {
  text-align: center;
}

A.topExtrapages {
  text-decoration: none;
}

A.topExtrapages:hover {
  text-decoration: underline;
}

A.menuExtrapages {
  margin: 0px;
  text-decoration: none;
  background-image: url(box4.gif);
  background-repeat: no-repeat;
  width: 145px;
  line-height: 27px;
  float: left;
  padding-top: 0px;
  padding-right: 0;
  padding-bottom: 0px;
  padding-left: 35px;
}

A.menuExtrapages:hover {
  color: #f00;
}
/*------------------------ pageStandard ------------------------*/

.pageStandardheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.pageStandard {
  text-decoration: none;
}

.pageStandardmarked {
  text-decoration: none;
  background-color: yellow;
}

table.pageStandard {
  text-decoration: none;
  width: 95%;
}

td.pageStandard {
  text-decoration: none;
  text-align: left;
}

td.pageStandardheader {
  text-decoration: none;
  text-align: left;
  font-weight: bold;
}

td.pageStandardcenter {
  text-decoration: none;
  text-align: center;
}

td.pageStandardright {
  text-decoration: none;
  text-align: right;
}

td.pageStandardgray {
  text-decoration: none;
  text-align: left;
  background-color: #CCCCCC;
}

A.pageStandard {
  text-decoration: none;
  font-weight: normal;
}

A.pageStandard:hover {
  text-decoration: underline;
  font-weight: normal;
}
/*------------------------ menuSearch ------------------------*/

.menuSearchheader {
  font-weight: bold;
}

.menuSearch {
  font-weight: normal;
}

A.menuSearch {
  text-decoration: none;
  font-weight: normal;
}

A.menuSearch:hover {
  text-decoration: underline;
  font-weight: normal;
}
/*------------------------ pageProductlisting ------------------------*/

.pageProductlistingheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.pageProductlistingcurgroupstruct {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlistingcurgroupstruct {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlistingcurgroupstruct:hover {
  text-decoration: underline;
  font-weight: normal;
}

.pageProductlisting {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlisting {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlisting:hover {
  text-decoration: underline;
  font-weight: normal;
}

img.pageProductlisting {
  border: 0px;
  margin-bottom: 10px;
  margin-right: 10px;
}

img.pageProductlistinggroupimage {
  border: 0px;
  vertical-align: text-top;
  padding: 5px;
  margin-bottom: 10px;
  margin-right: 10px;
}

.pageProductlistingsubgroup {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlistingsubgroup {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlistingsubgroup:hover {
  text-decoration: underline;
  font-weight: normal;
}

ul.pageProductlistingsubgroup {
}

li.pageProductlistingsubgroup {
}

.pageProductlistingpages {
  text-decoration: none;
  font-weight: bold;
}

A.pageProductlistingpages {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlistingpages:hover {
  text-decoration: underline;
  font-weight: normal;
}

A.pageProductlistingpagesprevious {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlistingpagesprevious:hover {
  text-decoration: underline;
  font-weight: normal;
}

A.pageProductlistingpagesnext {
  text-decoration: none;
  font-weight: normal;
}

A.pageProductlistingpagesnext:hover {
  text-decoration: underline;
  font-weight: normal;
}
/*------------------------ article ------------------------*/

.article {
  text-decoration: none;
  font-weight: normal;
}

A.article {
  text-decoration: none;
  font-weight: normal;
}

A.article:hover {
  text-decoration: underline;
  font-weight: normal;
}

img.article {
  border: 0px;
  vertical-align: text-top;
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
}

img.articleNofloat {
  border: 0px;
  vertical-align: text-top;
  margin-bottom: 10px;
  margin-right: 10px;
}

.articleDescription {
  text-decoration: none;
  font-weight: normal;
}

A.articleDescription {
  text-decoration: none;
  font-weight: normal;
}

A.articleDescription:hover {
  text-decoration: underline;
  font-weight: normal;
}

.articlePrice {
  font-size: 16px;
  color: #000000;
  font-weight: bold;
  font-style: normal;
  text-decoration: none;
}

.articlePriceseccurr {
  font-size: 16px;
  color: #000000;
  font-weight: bold;
  font-style: normal;
  text-decoration: none;
}

.articlePricerecommended {
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
}

.articlePriceecotaxes {
  text-decoration: none;
  font-style: italic;
}

.pageProductheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.articleRelatedartocleheader {
  text-decoration: none;
  font-weight: bold;
}

.articleCrossmarketingheader {
  text-decoration: none;
  font-weight: bold;
}
/*------------------------ pageCart ------------------------*/

.pageCartheader {
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

td.pageCartheader {
  text-decoration: none;
  font-weight: bold;
  text-align: left;
  font-size: 12px;
  color: #000000;
}

td.pageCartheaderright {
  text-decoration: none;
  font-weight: bold;
  text-align: right;
}

.pageCart {
  text-decoration: none;
}

A.pageCart {
  text-decoration: none;
  font-weight: normal;
}

A.pageCart:hover {
  text-decoration: underline;
  font-weight: normal;
}

table.pageCart {
  text-decoration: none;
  width: 95%;
}

td.pageCart {
  text-decoration: none;
  text-align: left;
}

td.pageCartright {
  text-decoration: none;
  text-align: right;
}

td.pageCartcenter {
  text-decoration: none;
  text-align: center;
}

.pageCartsteps {
  text-decoration: none;
}

.pageCartstepscurrentstep {
  text-decoration: none;
  font-weight: bold;
  color: #F00
}
/*------------------------ neutral ------------------------*/

.h1neutral {
  padding: 0;
  display: inline;
  background-image: none;
  font-size: 18px;
  color: #000000;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.h1neutral a {
  color: inherit;
  text-decoration: underline;
  background-image: none;
}

.h1neutral a:hover {
  color: inherit;
  text-decoration: none;
  background-image: none;
}

.h2neutral {
  color: inherit;
  font-weight: bold;
  font-size: 12px;
  display: inline;
  background-image: none;
}

.h2neutral a {
  color: inherit;
  text-decoration: underline;
  background-image: none;
}

.h2neutral a:hover {
  color: inherit;
  text-decoration: none;
  background-image: none;
}
/*------------------------ artlcompdisplay ------------------------*/



/* ------------------------ Code added by LogiVert ------------------------ */

.artlcompdisplay {
  display: inline;
  float: left;
  overflow: hidden;
  width: 190px;
  height: 300px;
  margin: 0 10px 10px 0;
  padding: 10px 3px;
  text-align: center;
  position: relative;
}
.artlcompdisplaybtm {
  bottom: 10px;
  width: 190px;
  position: absolute;
  left: 0px;
}
.submenulvl2 {
  padding-left: 2ex;
}
.submenulvl3 {
  padding-left: 4ex;
}
.attcompdisplay {
  display: inline;
  float: left;
  overflow: hidden;
  width: 170px;
  height: 200px;
  margin: 0 10px 10px 0;
  padding: 10px 3px;
  text-align: center;
  position: relative;
}
.attcompdisplaybtm {
  bottom: 0px;
  width: 170px;
  position: absolute;
  left: 0px;
}
.crossmcompdisplay {
  display: inline;
  float: left;
  overflow: hidden;
  width: 190px;
  height: 150px;
  margin: 0 10px 10px 0;
  padding: 10px 3px;
  text-align: center;
  position: relative;
}
.crossmcompdisplaybtm {
  bottom: 0px;
  width: 190px;
  position: absolute;
  left: 0px;
}
 
Laatst bewerkt:
Dat zit niet in de css, als je een button wil vervangen door een image moet je dat in de HTML doen. Gewoon kijken waar de button zit en dan type="image" ipv "submit" gebruiken (en een src opnemen)
En controleren of je script het nog doet na afloop...
 
Hier is ie al:
search.jpg

search.jpg
Met vriendelijke groet,
CSShunter

@Frats: het was al een img, dat maakt het makkelijk. ;)
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan