Re: How to center a group of DIV's on a page?



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.
.



Relevant Pages

  • Re: IE Shows Spaces Between Boxes
    ... IE shows spaces between a few boxes made of ul-li elements in CSS ... recommend a fix for IE. ... Remove all those z-index properties ... I removed most z-indexes, removed .htc file, changed doctype to ...
    (alt.html)
  • Re: Needed Web Designer we pay flat-rate of $50 for my site
    ... I'm looking to pay a flat rate of $50 to have someone fix our html (no ... Why no CSS? ... or my expert fly fishing lure designer "please make me a fly ... and expect to pay for expert work. ...
    (alt.html)
  • Re: CSS / Table breaks in one browser but works everywhere else
    ... First thing to do is fix all the errors. ... CSS is strewn with failures to ... but as you say there are units missing and the ... doctype is in the wrong place. ...
    (comp.infosystems.www.authoring.stylesheets)
  • browser compatibility issue
    ... I have some CSS that behaves perfectly in Firefox but not in IE 6.x. ... hoping someone has a suggestion to fix the problem. ... implementation because i'm using a browser detection script to implement ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: duplicate line in IE7
    ... I won't presume to speak for anyone else, but I have found that starting with clean valid HTML and CSS is a prerequisite. ... "Validate and fix your code" is a statement of where each one of these experts would begin, not an indictment of your work so far. ... If valid code still produces the problem, at least they won't have to guess at the cause. ...
    (comp.infosystems.www.authoring.html)