...

View Full Version : Padding problem



Dmitriy
02-05-2005, 08:00 PM
I'm trying to make my box look the same in FireFox and IE. Padding-right works in IE but i get problem when i'm using FireFox.
Is there a way to solve this problem.
Thank You in advance

http://dmitriy.uni.cc/new/test.htm


CSS:


.newsitem p
{
margin: 0px;
width: 574px;
}

.newsitem_top
{color: #fff;
width: 574px;
height: 13px;
font-size: 10px;
text-align: left;
background-image:url(images/top.jpg);
text-indent: 15px;}

.newsitem_middle
{
width: 574px;
text-align: left;
font-family: sans-serif;
padding: 0px 15px 0px 15px;
background-image:url(images/middle.jpg);
background-repeat: repeat-y;

}


.newsitem_bottom

{
font-size: 10px;
width: 574px;
height: 17px;
background-image:url(images/bottom.jpg);
}

_Aerospace_Eng_
02-05-2005, 10:42 PM
make the relavant css this

.newsitem_top
{color: #fff;
width: 574px;
height: 13px;
font-size: 10px;
text-align: left;
background-image:url(images/top.jpg);
text-indent: 15px;
margin:0px;
}
.middle
{
width:574px;
background-image:url(images/middle.jpg);
background-repeat: repeat-y;
}
.newsitem_middle
{
width: 550px;
height:300px;
font-family: sans-serif;
padding:0px 15px 0px 15px;
}

.newsitem_bottom

{
font-size: 10px;
width: 574px;
height: 17px;
background-image:url(/bottom.jpg);
margin:0px;
}
and add another div with class middle around your newsitem_middle paragraph

Dmitriy
02-05-2005, 11:41 PM
Thank you...I'm gonna try it out i hope it works



Test....works Thank you



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum