Customizing Google search results for your own page

Discussion in 'HTML & Website Design' started by mike323, Aug 22, 2006.

  1. #1
    Hi,

    I've just made a test page for google adsense search results that can now be displayed on your own sites' pre-made page.

    unfortunately, there is a square white border framing the search results I'm not sure how to get rid of. i would like the page to be all the one green color. Here is the link to my search results page:

    results page

    could someone tell me how i could get rid of all the white sections ? thank you
     
    mike323, Aug 22, 2006 IP
  2. alrightpeter

    alrightpeter Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your content divider has a 2px white border style in the external css.
     
    alrightpeter, Aug 22, 2006 IP
  3. kentuckyslone

    kentuckyslone Notable Member

    Messages:
    4,371
    Likes Received:
    367
    Best Answers:
    0
    Trophy Points:
    205
    #3
    Look at the style:

    <style type="text/css">
    #search { border-style: solid;
    border-top-width: 2px;
    border-right-width: 2px;
    height: 55px;
    background-color: #9c0;
    width: 332px;
    text-align: left;
    float:left;
    border-left-width: 2px;



    }
    </style>

    You have this set to show a border.

    By the way, someone correct me if I am wrong, I think that it's agains Googles policies to frame the search results page.
     
    kentuckyslone, Aug 22, 2006 IP
  4. mike323

    mike323 Well-Known Member

    Messages:
    1,594
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #4
    Okay, thanks guys. I'll change that right away.

    However, I've also noticed that my logo background color is green even though, in the code, it's set to black. Go figure.
     
    mike323, Aug 22, 2006 IP
  5. mike323

    mike323 Well-Known Member

    Messages:
    1,594
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #5
    actually that was a piece of extraneous code that i've now removed. it wasn't effecting the page and the white border is still there. :confused:
     
    mike323, Aug 22, 2006 IP
  6. mike323

    mike323 Well-Known Member

    Messages:
    1,594
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #6
    that did the trick. thanks!
     
    mike323, Aug 22, 2006 IP
  7. mike323

    mike323 Well-Known Member

    Messages:
    1,594
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #7
    Hey, does anyone know why my search results would be truncated in Internet Explorer?

    I'm only displaying 6 results per search on IE and only one page of results are available. Yet in Mozilla I get 10 results per page and multiple pages of results. What gives? :confused:
     
    mike323, Aug 22, 2006 IP
  8. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It's not that you are getting less results, it's that the way the data is displayed prevents IE from realizing you should be able to scroll down.
     
    Gordaen, Aug 22, 2006 IP
  9. mike323

    mike323 Well-Known Member

    Messages:
    1,594
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #9
    i agree with your rephrasing of the problem. that's exactly what it is.

    unfortunately, i've tried several alterations to the code and still don't have a clue what is causing it. again, it's, for the most part, fine in mozilla and that's really throwing me off.:(
     
    mike323, Aug 22, 2006 IP