Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-22-2011, 01:48 PM   PM User | #1
mefarsem
New Coder

 
Join Date: Jul 2011
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
mefarsem is an unknown quantity at this point
My website container moves like 20px left, Please Help.

ty for help.

Last edited by mefarsem; 07-22-2011 at 03:16 PM..
mefarsem is offline   Reply With Quote
Old 07-22-2011, 02:53 PM   PM User | #2
butlins
Regular Coder

 
Join Date: Aug 2006
Location: Cardiff, UK
Posts: 141
Thanks: 15
Thanked 2 Times in 2 Posts
butlins is an unknown quantity at this point
You'll need to post samples of the HTML and CSS too, before anyone's going to have any idea about why that might be happening.
__________________
If anyone asks my boss, this counts as work, okay?
butlins is offline   Reply With Quote
Old 07-22-2011, 02:54 PM   PM User | #3
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
Its moving because the scroll bar appears and takes up 16px or whatever the exact width is and so moving the page content over by that amount. You can set every page to have a scrollbar regardless of how much content, or you can just leave it like it is.

html {overflow-y: scroll;}
__________________
Teed
teedoff is offline   Reply With Quote
Users who have thanked teedoff for this post:
mefarsem (07-22-2011)
Old 07-22-2011, 03:08 PM   PM User | #4
mefarsem
New Coder

 
Join Date: Jul 2011
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
mefarsem is an unknown quantity at this point
thank you very much
mefarsem is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:37 AM.


Advertisement
Log in to turn off these ads.