Why am I getting this indent?

Bruce Gust
Bruce Gust used Ask the Experts™
Head out to http://brucegust.com/portfolio/verizon/bootstrap/what.php. You'll notice as you read down the page, I'm getting an indent with every paragraph that I neither want nor can I explain.

Where is this indent coming from and how can I get rid of it?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2018
Distinguished Expert 2018
Hey Bruce.

The reason is because your paragraphs aren't paragraphs - they're just text inside a DIV, and that DIV has a class of wysiwyg which has the following rule:

.wysiwyg {
    text-indent: 0;
    white-space: pre-wrap;

The white-space rule means the browser will preserve the white space and in your source code you have a number of spaces before the text:

         All the space in front of this text will be preserved.
This text has no space so will be ok

Either remove the white-space rule, put your text in <p> tags, or remove the spaces from your source code.
Bruce GustPHP Developer


And Chris, if you 're in the mood for more points, check out https://www.experts-exchange.com/questions/28939819/How-can-I-get-these-rows-to-toggle.html

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial