I'm failry new to CSS, just read through Eric Meyer's Definitive Guide and browsed in a few other places.
I'm building a site for a graphic designer friend.
I had created a layout based on absolute positioning, but realised that it would be better to use floated elements to solve a problem with fonts forcing areas to overlap when resizing a window.
I previously had this arrangement to center a large image both vertically and horizontally within a div, basing the markup & styles on this http://www.w3.org/Style/Examples/007/center-example.html
It's clearly a horrible case of div-itis... :eek:
<div id="viewing" >
<div id="outer" >
<div id="inner" >
<img class="fullimage" href="..." alt="..." />
really ugly but it worked, the problem is I have now changed the style:
and this breaks the vertical centering.
Can anyone help?