In article <10l8cga5am3obc8@corp.supernews.com>,
lkseitz@see.my.sig
says...[color=blue]
> Take a look at <http://home.hiwaay.net/~lkseitz/hhs/rnb/>. I'm
> In IE, my "margin: auto" causes the div to center itself in
> the space between the left of the page and the floating image to the
> right.[/color]
Yes, there seems to be bug on IE.
[color=blue]
> Most of the relevent CSS information is in the HTML itself.[/color]
BAD. More ugly is that your CSS is 3 places, external file (good),
embedded (OK for tests), inline (hardly ever good idea)
[color=blue]
> Any tips on the proper way to get it? Thanks.[/color]
Easiest way is to wrap blue dashed bordered div to other div, and give
that new div margin-right same size as your image.
If you don't like having elements just for styling, use padding-right for
body etc. and negative margins on other stuff. I don't recommend. You
might also try margin for current div and putting border to its child
elements, but I don't think it will work with dashed border...
[color=blue]
> (And if anyone wants to tell me the proper way to style the table at
> the bottom with CSS, rather than using HTML attributes, feel free to
> speak up! But that's not my primary concern at the moment.)[/color]
tr:first-child {background:#666;color:#000}
tr:first-child > th + th {background:yellow;clor:#000;}
table {border-collapse:collapse}
td,th {border:3px ridge;}
In IE, does not work. Should work on Firefox and Opera, if Table is
marked up correctly. Replace complicated selectors with classes, and IE
should do it too.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>