[Solved] Div Not Displaying
# October 10, 2009 at 3:37 am
I have an interesting issue. I have a div that I’ve defined to be a set height and width that doesn’t display at all. My header, which the CSS for was almost identical has no issue. For some reason, my column div only displays when there’s content in it, and then it only displays around that content. I’m using firefox as my dev browser. I haven’t tested it in anything else. I searched through the forums a little, and wasn’t able to find anything quite like this. On the other hand, it’s pretty hard to formulate a query for a problem like this.
Here’s My CSS. The div in question is the one labeled columbn.
/* CSS Document */
/*Wrapper and general divs*/
margin: 0 auto;
width: 1088 px;
height: 600 px;
width: 600 px;
Here’s my HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="StyleSheet" href="default.css" media="screen" />
<img src="images/logo.png" style="float: left; margin-left: 20 px;"/>
Any responses would be greatly appreciated.
You must be logged in to reply to this topic.