M
M
Mikhail Faito2013-01-26 14:18:14
css
Mikhail Faito, 2013-01-26 14:18:14

Setting up a Google custom search form

The problem is the following: there is a site written in html + css (not by me, which complicates things), it is necessary to embed a custom Google search into it, after registering on the service and embedding it in the page, for this element, Google loads its css, resulting in the form does not fit into the style of the page at all (moreover, a rather large frame is created around it, which distorts the layout). How can this be corrected?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
@
@antoo, 2013-01-26
@opposite

.gsc-control-cse 
{
padding: 0 !important;
border: 0 !important;
background-color: transparent !important;
}

N
Nikita, 2013-01-26
@Nikita_Sergeevich

Write your CSS using !important;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question