php - Why is using a Spry menu killing my <p> tags? -


in reference testing site's page:

http://thepfjstudios.com.au/testing/content/newabout.php

i have spry menu on left side, when being used, seems kill <p> tags in content section on right side.

the .css file used is:

http://thepfjstudios.com.au/testing/spryassets/sprymenubarvertical.css

and .js file in same folder sprymenubar.js

i've been playing 2 days , can't figure out why there no longer space between paragraphs in content section on right side. if don't use spry menu, content section shows fine.

i post code here 3 pages relevant question , take large space.

sprymenubarvertical.css on 12 line defines:

* { margin:0; padding:0} 

margin:0 affecting paragraphs. suggest delete line , adjust menu's styles suit needs.

edit: think should tell how figured out in case encounter similar problem in future. here steps google chrome, , should similar in other browsers.

  • right click on affected element (in case, of paragraphs).
  • select inspect element.
  • under styles tab, can see styles or apply element. try unchecking of them see do.
  • under computed tab, can see styles element using.

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -