Text centering in all browsers but Internet Explorer (Link included)
I am having trouble getting the text to center inside of a list item. This seems to only be happening in internet explorer and I just can't figure ou开发者_运维问答t why... Any help would be greatly appreciated.
Image Example:
Site (see problem area at bottom): http://www.levelsetsolutions.com/optimize/swa/
IE is entering in quirks mode. You can avoid that using a doctype like for example:
<!doctype html>
The width you set on the A tags is too small.
I'd recommend moving all the CSS properties having to do with dimensions (height, width, margin, padding, etc.) to the LI tag and adding a BR tag between each word in the list items. This is the only way to guarantee the line-break will happen where you want it to.
精彩评论