
In short, unless all browser gurus agree to make standard rules all this is just a waste of time and a lot of wasted effort by idiots, like us, trying to make perfect web pages. Lets learn more about using CSS syntax in the next section. The file above will add a blue background to the body of our document and it will center align our paragraphs.

On tables I use to hyphenate long words, otherwise on tablets and smartphones the result is a disaster. And now your paragraph will be aligned to the center thanks to the inline CSS.

Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say Whatever you say WhateverĪdditional CSS required (to make the image responsive). The best approach is to justify text and pray for the best. This means that the grid system will manage it all for you, instead of trying to work with floats and manage it yourself.įloats which are not ideal in this situation because they take the element out of the flow which can introduce other issues, like extending out of the container, messing up the layout, etc.Įxample of adding the image and text into a new row with 2 columns:

I realize this might not be possible, but Im. Text Alignment using CSS: the CSS Text-Align property is used for justifying text For users who like to justify web content, you leave its contents intact. You are already using a grid, so put the image into a column. Instead, the justification spaces all the words evenly, even though Ive wrapped each tag in its own span.
