How to display numbers in the upper right corner of the image with a tag_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:41:16
Original
3006 people have browsed it

As shown in the picture: I want to display numbers in the upper right corner of the cart
The code is as follows



.headerButton
{
position: relative;
float: right;
padding-right: 50px;
font-size: 20px;
}

.headerButton a.but-on{
background: url(../../img/ShoppingCart2. png) #FFF no-repeat 10px center;
padding-left:50px;
color:#1351b4;
}


Reply to the discussion (solved Solution)

Write another span in headerButton...use absolute positioning. . .

You can put an a tag in a div but not in

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template