Solved

google add showing too low Stumped

Posted on 2013-11-24
7
97 Views
Last Modified: 2013-12-24
I have made a new header used on over 100 pages.
Everything looks good with firefox on my xp machine
but
Viewing on win 7 and ipad the top wide add is too low  covering part of the top of the content.
This has got me stumped

typical problem page: http://roofgenius.com//test4.asp
This page seems to  displays correctly:
http://roofgenius.com/sidebyside.asp
What is the cause ?
0
Comment
Question by:isnoend2001
  • 3
  • 2
7 Comments
 
LVL 42

Expert Comment

by:Chris Stanyon
ID: 39672967
I think it's because your maths are a little out. The wrapper for the Google Ads has a left-margin of 20px; which pushes it too far right to fit in the space available. Drop that to 0px and it'll all fit in nicely:

//Roof2.css / line 1456
#xGoogleWideAdd { margin-left: 0px; }

Open in new window

It works OK on other pages because the graphic to the right of the Ads is narrower.
0
 

Author Comment

by:isnoend2001
ID: 39672986
Thanks a lot easy fix thought i was going edit over a 100 pages
0
 
LVL 42

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 39672991
That's the beauty of keeping all the CSS in one external file.

If your header is consistent, then you should also keep that in one file and just 'include' it in all your pages - then a change to the header will still only be a change to one file instead of a 100 :)
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:isnoend2001
ID: 39673013
Gotcha Thanks
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 39737967
I've requested that this question be closed as follows:

Accepted answer: 500 points for ChrisStanyon's comment #a39672967

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 

Author Closing Comment

by:isnoend2001
ID: 39737968
thanks did not know this was not closed
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now