Hello,
I have the following css and when i enter some text i get for both DIVs in the same line? As you can see both of the DIVs have width:100%
I can't figure out y is that.... any ideas?
Thank you in advance!
I have the following css and when i enter some text i get for both DIVs in the same line? As you can see both of the DIVs have width:100%
I can't figure out y is that.... any ideas?
Thank you in advance!
Code:
#mainMenu { font-size:.8em; text-align: center; margin-right: auto; margin-left: auto; width: 100%; } #mainMenu ul{ list-style-type:none; padding:0; margin:0; } #mainMenu li{ float:center; padding-left:.3; padding-right:.3; } #mainMenu li a{ text-decoration: none; display: block; float: left; padding-top: .2em; padding-right: .5em; padding-bottom: 0.3em; padding-left: .5em; } #mainMenu li a:hover{} #mainMenu li a:current{} #breadcrumbs { font-size: 13px; padding-left: 15px; width: 100%; }
Comment