It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming CSS Forum

Page slightly shifting and I don't know why?

Page slightly shifting and I don't know why?

Postby johnyct9760 on Mon Feb 02, 2009 9:16 pm

I'm working on a site:

http://www.hsgsphoto.com/

when you click the entire page moves slightly when you go to the services link:

http://www.hsgsphoto.com/services.html

I've tried attaching the CSS file that is linked to the index page (main.css) to the services page (its currently linked to the main_services.css file) and the shifting is still going on so I'm kind of confused on what might be causing this. The main.css and main_services.css file are pretty much entirely the same other then a few extra rules for the text classes so I'm not sure why the page would be jumping like that and even more importantly I'm not sure what to do to stop it

Thanks for any feed back you can give

John
User avatar
johnyct9760
 
Posts: 22
Joined: Sun Mar 02, 2008 6:21 am
Location: USA, Michigan

Re: Page slightly shifting and I don't know why?

Postby Johnathan on Mon Feb 02, 2009 10:34 pm

In main CSS for #header you have margin: 10px 0px 5px 0px;
In main_services.css you got margin: 10px 0px 10px 0px;
So change the 5px to 10px
Johnathan
1000+ Club
 
Posts: 1207
Joined: Thu May 31, 2007 4:28 pm
Location: Belfast, Northen Ireland


Who is online

Users browsing this forum: No registered users and 1 guest