September 1, 201016 yr Does anyone have any idea why the width of my page expands in Safari and Firefox when I place text in "Bold" or in "h1"tags? When its normal text there is no problem. In IE I will say there is no movement. Hope you can help Thanks
September 1, 201016 yr Author Main Site: http://www.pjmmedia.co.uk Compare for instance http://www.pjmmedia.co.uk/aboutus.php with http://www.pjmmedia.co.uk/portfolio.php you will notice the difference in them two pages.
September 1, 201016 yr You don't mean the scrollbar at the side of the page causing it to jolt do you? Go to this http://www.pjmmedia.co.uk/aboutus.php Shrink you're browser vertically (drag the bottom up to cover up some of the text), does the width change again?
September 1, 201016 yr Its the scroll bar as one page is longer and one isnt. Shrink the window so scroll bar is on both pages and it doesnt move IE doesnt do this will the scrollbar (this has caught me out in the past too)
September 1, 201016 yr Author Ahh yes I see. Man that was obvious lol Now what do you mean shrink the window?
September 1, 201016 yr Author Problem fixed using body { overflow: hidden; } Thanks for noticing the problem though! Now for a personal opinion...... www.pjmmedia.co.uk www.pjmmedia.co.uk/default.html Both of these pages are the same other than the banner. .co.uk/ is static and .co.uk/default rotates. Which do you prefer? After this my rant is over Thanks
September 1, 201016 yr The problem now is on long pages where text extends the view port, users won't be able to scroll down the content. Edit: Just clicked the link, i have both vertical and horizontal scrollbars now (Chrome V7) :/
September 1, 201016 yr I wouldn't mess with scrollbars unecessarily. They are there for a reason, you shouldnt try and second guess the user/browser requirments. As for the 2 - I prefer the slider. But I do find jquery sliding horizontal of large images a bit jittery, so if I need to do it I use other transitions and do not include horizontal ones - as with this site http://waterwell.co.uk But thats a personal choice.
September 1, 201016 yr I've never had a problem with horizontal slides, do you use easing? Yes, but its down to the size of the image and actual file size too. I ran lots of tests on various machines with different images of various sizes and for me the horizonatl slide - as used in this page the OP references is not smooth enough for my liking. I have used horizontal transitions on other sites myself with small images which are satisfactory for me.
September 1, 201016 yr Author I ended up setting overflow to scroll. In your opinion is this a fine way to solve the problem? Or is there a better way. With regards the slider suggestion I will look into that tomorrowZ
September 2, 201016 yr I ended up setting overflow to scroll. In your opinion is this a fine way to solve the problem? Or is there a better way. With regards the slider suggestion I will look into that tomorrowZ It's not really a problem, it's default browser behaviour. If you must force the scrollbar, remove the overflow and add this html { height: 100%; margin-bottom: 1px;
Create an account or sign in to comment