Ryan
Ryan

Reputation: 10121

CSS3 multi-column layout: How to style a particular column

I want **bold** the 1st column in the CSS multi-column layout

<div style="columns:12em">Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat 
nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa 
qui officia deserunt mollit anim id est laborum</div>

Is it possible?

Edit: As the question will give an answer to both my question and the posters question I thought I'll extend the question with mine...

Q: Is it possible through javascript/jquery to know at what character the column gets splited?

Upvotes: 4

Views: 179

Answers (2)

Ridcully
Ridcully

Reputation: 23655

Although the answer to your question is "no", the question remains why you would want to do so? Perhaps it would be enough to make bold the first paragraph of your text? This is often done in magazines etc. and could easily be achieved.

Upvotes: 1

Paulo R.
Paulo R.

Reputation: 15609

Although a little short, the answer is "no" - at least, nothing in the W3C's official spec says it's possible.

Upvotes: 4

Related Questions