CSS Mozilla center alignment -
i have page, after rendering should return cloud tags. , works fine. alignment of tags not in center in mozilla. tags in center in chrome , i7, in mozilla on left side.
my .html:
{% extends "base.html" %} {% block title %} tag cloud {% endblock %} {% block head %} tag cloud {% endblock %} {% block content %} <div id="tag-cloud"> {% tag in tags %} <a href="/tag/{{tag.name|urlencode}}/" class="tag-cloud-{{tag.weight}}">{{ tag.name|escape }}</a> {% endfor %} </div> {% endblock %}
my .css:
#nav { float:right; } input { display:block; } ul.tags, ul.tags li { list-style: none; margin: 0; padding: 0; color: blue; display: inline; } #tag-cloud { text-align:center; } #tag-cloud { margin: 0 0.2em; } .tag-cloud-0 { font-sie:100; } .tag-cloud-1 { font-sie:120; } .tag-cloud-2 { font-sie:140; } .tag-cloud-3 { font-sie:160; } .tag-cloud-4 { font-sie:180; } .tag-cloud-5 { font-sie:200; }
Comments
Post a Comment