hi guys,
i know i am really bad at CSS .. i just cant ever get things, the way i want to .. so in the end i have to compromise :(
but i am asking you this question.. cause i cannot compromise in this..
Well i want to adjust texts in to extreme sides of a div
the source of the page is ::
[CODE=html]
<div class='info'>
<img src=./ask/img/cup.gif width=50 height=50 id='uio' />
<div id='dateinfo'>< ul><li>July12,2 009</li><li>kok</li></ul>
</div>
<div class='data'>ad min<br>
39 posts
</div>
</div>
[/CODE]
The CSS for this ::
[CODE=css]
.info{
padding:5px 0px 0px 3px;
background:#F3F 6FB;
height:70px;
margin-top:2px;
border-bottom:1px solid #CDDAEF;
}
#dateinfo ul{
float:right;
position:relati ve;
}
#dateinfo li{
list-style:none;
}
.data{
margin-left:10px;
float:left;
}
[/CODE]
It shows perfect in IE but messed in FFx..
there must be something to do with position and stuff..
can you jus guide me.. thanks :)
AND yeah here is the doctype which i am using
[CODE=html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
[/CODE]
i know i am really bad at CSS .. i just cant ever get things, the way i want to .. so in the end i have to compromise :(
but i am asking you this question.. cause i cannot compromise in this..
Well i want to adjust texts in to extreme sides of a div
the source of the page is ::
[CODE=html]
<div class='info'>
<img src=./ask/img/cup.gif width=50 height=50 id='uio' />
<div id='dateinfo'>< ul><li>July12,2 009</li><li>kok</li></ul>
</div>
<div class='data'>ad min<br>
39 posts
</div>
</div>
[/CODE]
The CSS for this ::
[CODE=css]
.info{
padding:5px 0px 0px 3px;
background:#F3F 6FB;
height:70px;
margin-top:2px;
border-bottom:1px solid #CDDAEF;
}
#dateinfo ul{
float:right;
position:relati ve;
}
#dateinfo li{
list-style:none;
}
.data{
margin-left:10px;
float:left;
}
[/CODE]
It shows perfect in IE but messed in FFx..
there must be something to do with position and stuff..
can you jus guide me.. thanks :)
AND yeah here is the doctype which i am using
[CODE=html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
[/CODE]
Comment