hi all,
whilst creating a mock-up site, i am trying to follow the rules and
guidelines i have been digesting over the last few months with regards to
css positioning and accessibility.
well, i know the journey is far from over and i'm using this mock-up as a
learning process.
the problem stumping me at the moment can be seen here:
using this style sheet:
parts of the content of the right hand column seems to sit under the left
hand column. basically, i like the way it looks now but i want the
header on the right (with the light blue background), and the paragraph,
to have clear white space around them.
for some reason that i can't see, the blue background of the text seems
to draw all the way over to the left of the viewport in ie6, and then the
left hand column is drawn over the top of it. either that, or my graphics
card renders things in an odd order ;) it doesn't seem to render that way
in opera, but then it could just be too fast for me to see.
if i add padding-left to the <h2> element it has no effect. the same
happens with the <p> element in the right hand column.
can anybody tell me why this is? i'm stuck here and would appreciate
pointers.
also, feel free to butcher the rest of my code too and point out any
other errors, incorrect approaches, etc. i'm aware there may be kludges
and bad coding in there - it's early days yet.
i would like to make this as cross-browser compatible and as accessible
as possible eventually. although i'm only testing in ie6 and opera7.1
currently, it pays to get it right early on.
finally, i have validated it so it should be clean.
thanks in advance for any help you can offer.
--
slim
whilst creating a mock-up site, i am trying to follow the rules and
guidelines i have been digesting over the last few months with regards to
css positioning and accessibility.
well, i know the journey is far from over and i'm using this mock-up as a
learning process.
the problem stumping me at the moment can be seen here:
using this style sheet:
parts of the content of the right hand column seems to sit under the left
hand column. basically, i like the way it looks now but i want the
header on the right (with the light blue background), and the paragraph,
to have clear white space around them.
for some reason that i can't see, the blue background of the text seems
to draw all the way over to the left of the viewport in ie6, and then the
left hand column is drawn over the top of it. either that, or my graphics
card renders things in an odd order ;) it doesn't seem to render that way
in opera, but then it could just be too fast for me to see.
if i add padding-left to the <h2> element it has no effect. the same
happens with the <p> element in the right hand column.
can anybody tell me why this is? i'm stuck here and would appreciate
pointers.
also, feel free to butcher the rest of my code too and point out any
other errors, incorrect approaches, etc. i'm aware there may be kludges
and bad coding in there - it's early days yet.
i would like to make this as cross-browser compatible and as accessible
as possible eventually. although i'm only testing in ie6 and opera7.1
currently, it pays to get it right early on.
finally, i have validated it so it should be clean.
thanks in advance for any help you can offer.
--
slim
Comment