- Impact
- 0
Long story short I'm having a simple problem with divs...
This is the Css:
body {margin:0px;padding:0px;}
div#backa {
height: 323px;
width: 800px;
margin-top: 50px;
margin-bottom: 0px;
margin-left: 50px;
margin-right: 0px;
padding: 0px;
background-image:url(back.PNG);
}
div#st{
margin-top: 69px;
margin-left: 55px;}
div#fl{
margin-top: 59px;
margin-left: 55px;}
.st{font: 18px verdana;color: #666666;margin-top: 0px;margin-left: 0px}
and this is the body of the htm page :
<body>
<div id="backa">
<div id="st"><p class="st">Storcatoare</p></div>
<div id="fl"><p class="st">Filtre</p></div>
</div>
</body>
And here is how mozzila see it
http://img14.imagevenue.com/img.php?loc=loc25&image=81611_mozz.JPG
and how I explorer see it
http://img15.imagevenue.com/img.php?loc=loc139&image=81606_iexpl.JPG
..what am I doing wrong? I also have tried in stead of making 2 divs for the 2 words just set the margins in the p class didn't work does the same thing. For the record I am trying to obtain what iexplorer show
Hope u understand what my problem is.
Thanx in advance
This is the Css:
body {margin:0px;padding:0px;}
div#backa {
height: 323px;
width: 800px;
margin-top: 50px;
margin-bottom: 0px;
margin-left: 50px;
margin-right: 0px;
padding: 0px;
background-image:url(back.PNG);
}
div#st{
margin-top: 69px;
margin-left: 55px;}
div#fl{
margin-top: 59px;
margin-left: 55px;}
.st{font: 18px verdana;color: #666666;margin-top: 0px;margin-left: 0px}
and this is the body of the htm page :
<body>
<div id="backa">
<div id="st"><p class="st">Storcatoare</p></div>
<div id="fl"><p class="st">Filtre</p></div>
</div>
</body>
And here is how mozzila see it
http://img14.imagevenue.com/img.php?loc=loc25&image=81611_mozz.JPG
and how I explorer see it
http://img15.imagevenue.com/img.php?loc=loc139&image=81606_iexpl.JPG
..what am I doing wrong? I also have tried in stead of making 2 divs for the 2 words just set the margins in the p class didn't work does the same thing. For the record I am trying to obtain what iexplorer show
Hope u understand what my problem is.
Thanx in advance





