I have a feeling I'm asking a really basic question here but the answer is illuding me so here goes...
I am building a site HTML/CSS, centered pages, one style sheet caters for whole site. Here's the obvious bit: pages that don't scroll sit the width of the scroll bar to the right of those that do.
Before I used CSS I would have added some space to the right side of a page that didn't scroll to get it to line up with those that did, possibly not the most elegant way but that's what I did.
I'm sure there must be a more elegant/CSS way to get all pages to line up on each other regardless of whether they scroll or not.
Could anyone point in me the right direction please?
I used to have a handle on life... but it broke. Cpt. Red Bull
I am building a site HTML/CSS, centered pages, one style sheet caters for whole site. Here's the obvious bit: pages that don't scroll sit the width of the scroll bar to the right of those that do.
Before I used CSS I would have added some space to the right side of a page that didn't scroll to get it to line up with those that did, possibly not the most elegant way but that's what I did.
I'm sure there must be a more elegant/CSS way to get all pages to line up on each other regardless of whether they scroll or not.
Could anyone point in me the right direction please?
I used to have a handle on life... but it broke. Cpt. Red Bull