
October 29th, 2007, 05:20 AM
|
 |
Contributing User
|
|
Join Date: Apr 2007
Posts: 288
Time spent in forums: 7 h 51 m 47 sec
Reputation Power: 2
|
|
CSS looks bad?
Any idea how to fix these "LINES" between my "divs"?
This is the css code.
PHP Code:
<STYLE TYPE="text/css" MEDIA=screen>
<!--
div#fact p, div#fact h2 {
margin-top: 0px;
margin-bottom: 0px;
color: #fff;
}
div#fact {
background-color: #009def;
color: #fff;
padding-left: 10px;
padding-right: 10px;
width: 160px;
padding-top: 5px;
padding-bottom: 10px;
}
-->
</STYLE>
This is the div tags:
PHP Code:
<img src="images/top.gif" alt="" width="180" height="5"/>
<div id="fact">
<h2>Fact #1</h2>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
<br />
</div>
<img src="images/bottom.gif" width="180" height="5" alt="" />
What could be the problem?
I have attached the images.
__________________
Cheers
West
|