MyBB Community Forums

Full Version: css code issues?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All,
I have been messing with a css code but cant control it.
The problem is
#pm_sub li
{
	float:left;
    margin:2px 5px;
	
}

when i write this code it and preview is different in IE
[attachment=10932]
and (Fire Fox and chrome)
[attachment=10931]
IE is doing the same as i need but neither mozila nor chrome

Can someone tell me why it is so and how to make these difference in browsers normal ?
Which IE is it?

And did you try padding-bottom at all?
this is IE 6.

i did use this also but doing this it pushes the div cell down but no effect on the text.
text remains where it is.

any other clue?
Try this...

#pm_sub li {
text-align: center;
margin: 10px auto;
padding: 5px 20px;
}

Change the numbers around and see if that works.
no its not working it still pushing the cell down but not no change in the text and also i have to keep test align left ........ Smile

so.........?
Know one know???????

Please solve this to remove my head ache Sad
oki i got it Smile
I just created separate CSS files from IE and other browsers Wink
http://en.wikipedia.org/wiki/Internet_Ex..._model_bug

^ That is pretty much what all web developers hate about IE...well that and everything else about IE that doesn't work.
yes IE is quite annoying sometimes............

Dennis Thanx nways for your help Smile