You are here: DEVPPL Forum Programming CSS Forum
NOTIFICATIONS
54.091
MEMBERS
15.687
TOPICS
62.261
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

Page slightly shifting and I don't know why?

0

Loading

Page slightly shifting and I don't know why?

Postby Johnyct » 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
Johnyct
 
Reputation: 0
Posts: 22
Joined: Sun Mar 02, 2008 6:21 am
Location: USA, Michigan
Highscores: 0
Arcade winning challenges: 0

Page slightly shifting and I don't know why? - Sponsored results

Sponsored results

Login to get rid of ads

 

0

Loading

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

Postby Johnathan » 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
 
Reputation: 0
Posts: 1207
Joined: Thu May 31, 2007 4:28 pm
Location: Belfast, Northen Ireland
Highscores: 0
Arcade winning challenges: 0
^ Back to Top