EduGeek Joomla 1.5 Package Thread, What have I done?? in Projects:; Hi,
Hopefully someone can help. My site shifts several pixels to the right when selecting certain top menu items.
I'm ...
-
5th July 2011, 04:17 PM #1
- Rep Power
- 0
What have I done??
Hi,
Hopefully someone can help. My site shifts several pixels to the right when selecting certain top menu items.
I'm pretty sure it's something I've tweaked in the css (this site has had much tweaking) but where to start I do not know. I'm not getting obvious clues from Firebug.
The site in devlopment is here: Welcome to SMRT
And the offending menu items, if I can call them that, are Whats' Happening and Faith.
Thanks all.
-
-
IDG Tech News
-
5th July 2011, 04:26 PM #2 Looks to me simply that some pages have scrollbar, others don't. Scroll bar reduces page size a bit, and thus "centering" moves. Take a look and you'll see what I mean :P
Those with long bar look "normal", those without move "left" as such.
If that's what you're referring to, a simple workaround is to always make scrollbar show, even when it's not needed
Code:
html
{
overflow-y: scroll;
} style.
Steve
-
Thanks to Steve21 from:
nickjelly (6th July 2011)
-
5th July 2011, 04:27 PM #3 Does this happen in all browsers or is it just FF? If it's just FF then it may be the scrollbars. FF only shows a scrollbar if there's content to scroll, and that's what makes your page shift. Try inserting "html {overflow-y: scroll;}" into your template.css file, but remove the quotes.
-
Thanks to beeswax from:
nickjelly (6th July 2011)
-
6th July 2011, 01:19 PM #4
- Rep Power
- 0
D'oh. So simple! Thank you both. That's saved me a whole lot of time and digging.
-
SHARE:
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules