jlodwick Posted April 21, 2012 Share Posted April 21, 2012 I'm having trouble with my page moving a couple centimeters whenever I add a table to my page. Below are 3 of my pages. The last one has a table and shifts the page to the right a couple centimeters when compared to the other pages. I've been trying to figure this out for a long time. Could someone here please help me with this? Thanks. http://www.babyboomermd.com/development/ http://www.babyboomermd.com/development/about-us.html http://www.babyboomermd.com/development/about-us1.html Quote Link to comment https://forums.phpfreaks.com/topic/261388-page-alignment-problem-when-a-table-is-added/ Share on other sites More sharing options...
jlodwick Posted April 21, 2012 Author Share Posted April 21, 2012 Ok this is strange. I must have changed something because now all those pages are the same and the page below is having this problem. If I change the text the problem happens. http://www.babyboomermd.com/development/about-Dr-Kotelko.html Quote Link to comment https://forums.phpfreaks.com/topic/261388-page-alignment-problem-when-a-table-is-added/#findComment-1339432 Share on other sites More sharing options...
jlodwick Posted April 21, 2012 Author Share Posted April 21, 2012 I've narrowed it down to if I remove the bullets from the about us page it makes the page shift. Quote Link to comment https://forums.phpfreaks.com/topic/261388-page-alignment-problem-when-a-table-is-added/#findComment-1339433 Share on other sites More sharing options...
jlodwick Posted April 22, 2012 Author Share Posted April 22, 2012 I've narrowed it down some more. If the text on the right side of the table is longer than the picture on the left side then the shift doesn't happen. Any ideas why this is happening? Quote Link to comment https://forums.phpfreaks.com/topic/261388-page-alignment-problem-when-a-table-is-added/#findComment-1339444 Share on other sites More sharing options...
haku Posted April 22, 2012 Share Posted April 22, 2012 I'm not seeing what you are talking about, but I'm suspecting it's that when the page gets longer than the viewport, the scroll bar is appearing. (My monitor has a short height, so all those pages are longer than my viewport). Quote Link to comment https://forums.phpfreaks.com/topic/261388-page-alignment-problem-when-a-table-is-added/#findComment-1339544 Share on other sites More sharing options...
jlodwick Posted April 22, 2012 Author Share Posted April 22, 2012 Wow I feel like such an idiot! You are right. It was the scrollbar, duh. Sorry for wasting your guys time with this and thank you so much for helping me with this! Quote Link to comment https://forums.phpfreaks.com/topic/261388-page-alignment-problem-when-a-table-is-added/#findComment-1339588 Share on other sites More sharing options...
haku Posted April 22, 2012 Share Posted April 22, 2012 No worries. I think everyone goes through this one once - I did, and I've seen probably 10-20 others too (even one this week on this site I believe). Quote Link to comment https://forums.phpfreaks.com/topic/261388-page-alignment-problem-when-a-table-is-added/#findComment-1339612 Share on other sites More sharing options...
jlodwick Posted April 22, 2012 Author Share Posted April 22, 2012 Thanks for the understanding Quote Link to comment https://forums.phpfreaks.com/topic/261388-page-alignment-problem-when-a-table-is-added/#findComment-1339644 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.