in
to center the logo "HTML 4.01 check" button at the bottom of the page,
I used
<div style="width: 10px; margin: 0px auto">
</div>
to wrap around that button....
if using HTML, i would have used <center>
However, I know the 10px above is wrong... I could use 60px or
100px... which is closer to the size of that image there.... however,
does that mean I need to know exactly what width that image is to
properly center it?
because while in HTML, I just need to use <centerand forget about
it... how come CSS requires knowing the size... so if Peter comes in
and change to a different image, and he didn't know about changing the
width for the CSS style, then it is not properly centered?
to center the logo "HTML 4.01 check" button at the bottom of the page,
I used
<div style="width: 10px; margin: 0px auto">
</div>
to wrap around that button....
if using HTML, i would have used <center>
However, I know the 10px above is wrong... I could use 60px or
100px... which is closer to the size of that image there.... however,
does that mean I need to know exactly what width that image is to
properly center it?
because while in HTML, I just need to use <centerand forget about
it... how come CSS requires knowing the size... so if Peter comes in
and change to a different image, and he didn't know about changing the
width for the CSS style, then it is not properly centered?
Comment