Re: How to center a group of DIV's on a page?
- From: Michael Winter <m.winter@xxxxxxxxxxxxxxxx>
- Date: Mon, 10 Oct 2005 15:15:58 GMT
On 10/10/2005 14:55, roel.schreurs@xxxxxxxxx wrote:
[snip]
I have been testing with IE6.0 [...]
That's generally a non-starter right there, especially if you're set on conforming to HTML 4.01 and using CSS. You would be better off starting with a conforming user agent like Opera or Firefox. Later, go back to IE and fix any of its rendering bugs.
[snipped markup]
It's preferable that you post a URL to examples, rather than posting code. Anyway, if you fix your CSS, your immediate problems go away. You cannot expect
width=10%
to work. Replace the equals with a colon, just like with all of the other properties.
Remember not to use in-line styles in your markup, and specify the background and color properties in pairs. Finally, if your content is based around text, it's better to use em rather than px units.
Mike
-- Michael Winter Prefix subject with [News] before replying by e-mail. .
- References:
- How to center a group of DIV's on a page?
- From: roel . schreurs
- How to center a group of DIV's on a page?
- Prev by Date: Re: form question
- Next by Date: Re: form question
- Previous by thread: Re: How to center a group of DIV's on a page?
- Index(es):
Relevant Pages
|