I have an issue on my website . If you go to the consulting page you'll notice that the li are aligned left. Firebug yields the follow in regards to the styles being applied:
text-align: -webkit-match-parent;
How do i get rid of that so that it has a natural indent like regular li's?
This is part of the of the default display properties in HTML5 .
If you wish to "give up" on HTML5 you can use the previous version:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
This is HTML 4.01 strict - I believe you won't get that default value using it.
It looks like you reference a few css pages so open up the one that has the element with the
text-align: -webkit-match-parent
and comment out that piece to start. then review the site and see if that returns things to a normal LI indent.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.