Web Design Forum: Page larger than it needs to be - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Page larger than it needs to be

#1 User is offline   ashley_90 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 267
  • Joined: 23-March 09
  • Reputation: 1
  • Gender:Male
  • Experience:Advanced
  • Area of Expertise:Web Designer

Posted 14 March 2010 - 06:21 PM

http://www.ashleymos...ding1/home.html

Can anybody explain why my page is wider than it needs to be? I have looked through the code and can't seem to find why it is extending the scroll bar towards the right.

Thanks
0

#2 User is online   mteam 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,814
  • Joined: 07-November 09
  • Reputation: 244
  • Gender:Male
  • Location:Manchester
  • Experience:Nothing
  • Area of Expertise:Nothing

Posted 14 March 2010 - 07:10 PM

Try removing your margin from your body

and adding
*{margin:0;padding:0;}
#wrapper{margin:0 auto; overflow:hidden;}

1

#3 User is offline   ashley_90 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 267
  • Joined: 23-March 09
  • Reputation: 1
  • Gender:Male
  • Experience:Advanced
  • Area of Expertise:Web Designer

Posted 14 March 2010 - 07:39 PM

Success!

Thank you very much :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users