Centered Site?
- Started
- Last post
- 27 Responses
- radar
I have a site that is centered so the content/large images can be as wide or tall as they need be, but the logo and nav stay in the same place.
In Firefox if you dont have a scrollbar, which only happens on like 3 pages the center is obviously different which shifts the logo and navigation like 15 pixels - is there a way to make the scrollbars stay, but greyed out like in IE so the center point doesn't shift?
- radar0
no one got a simple CSS fix for this?
- seed0
If you find something post it because that really annoys me also. It really throws off the whole site while navigating through it.
- bradpitt0
I know what you are talking, but there is no way to keep the scrollbar on page in FireFox.
Looked for it a while back.
- weestu0
try this:
html {
height: 101%;
}
- radar0
thanks for the responses, weetsu that will put a full scrollbar down the left though right? I was more looking for a grayed out scrollbar.
- seed0
"I was more looking for a grayed out scrollbar."
Can you do that in IE?
- radar0
yeah seed like Newstoday for example show a blank/grayed out scrollbar track on the right even though the page doesn't scroll, Firefox does away with the track if scrolling isn't needed.
- bulletfactory0
maybe in the body {} css tag
overflow: scroll;
that may have been brought up already...
- JazX0
speaking of which I have some h5 tage that shows in IE but not FF
Grrrrrrrrrrrrrrr
- radar0
thanks bulletfactory, I'll give that a shot.
- jakeyj0
that is frustrating. i know exactly what you're talking about but can offer no help :(
let us know if you come up with a solution
- JazX0
why can't these sh*tbags just agree on something and keep things compatible.. standards
- jaylarson0
this is the problem with my site. i am thinking of placing the table in from the left margin x pixels so it remains consistant per page.
i usually don't like left aligned pages, but it sure beats the 'jerkiness' in navigating different-length pages...
hope this helps spur some creativity!
- craic_whore0
div#scroll {
position:absolute;
top:0;
bottom:-0.1px;
width:1em;
z-index:-1;
}
- craic_whore0
and
- craic_whore0
sorry " "
- craic_whore0
sorry " "
- craic_whore0
bollocks
Is there an escape character to display code here
This'll do
div id="scroll">
- mikotondria20
dont you mean " " ?
- craic_whore0
that's what I did and all that was displayed was " "