hey guys first of all thanks to everyone for helping me lot of time.

now come to the problem.
I am beginner to HTML. In book i read about the tag MULTICOL but it is not working on Mozilla browser and also on IE.
please can anyone tell me what to do or any alternative tag.

please help me.

<multicol cols=2 gutter=35> all matter......... </multicol>

Dani AI

Generated

: the <multicol> element you tried is an old Netscape-era tag and is not part of modern HTML. For a newspaper-style, flowing multi-column layout use CSS Multi-column. That is the native, browser-supported way now; see the spec and reference documentation for details (W3C multicol spec and the MDN overview (CSS Columns)).

A minimal, practical example to flow text across two columns:

.news {
  column-count: 2;
  column-gap: 35px;
  column-rule: 1px solid #ddd;
  /* optional vendor prefixes for very old browsers */
  -webkit-column-count: 2;
  -moz-column-count: 2;
}

Use a simple block container (div/section) to wrap the paragraphs; content inside will automatically flow from column to column. To prevent awkward breaks inside elements (images, headings, code blocks) add break-inside: avoid (and the vendor-prefixed equivalents) on those child elements.

suggested a grid system like 960gs — that is a reasonable alternative if you need fixed-column layouts or precise control of boxed content. Choose CSS multi-column when you want text to flow like a newspaper; choose CSS Grid or a framework (960gs/Bootstrap) for rigid, component-based layouts. See MDN for CSS Grid (CSS Grid Layout).

Troubleshooting tips: ensure the container is block-level and not using child floats or absolute positioning (those can break column flow), test on current browsers (modern Chrome/Firefox/Safari/Edge support columns), and provide a simple fallback (floats or grid) for very old browsers if needed.

Recommended Answers

All 3 Replies

Member Avatar for Member #120589

AFAIK, multicol was for Netscape, haven't seen it in a very long time. Did it ever become adopted?

I was just trying to write in format like newspapers.

Member Avatar for Member #120589

Use a grid system maybe like 960grid ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.