Solved

google add showing too low Stumped

Posted on 2013-11-24
7
98 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 43

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 43

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

910 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

25 Experts available now in Live!

Get 1:1 Help Now