Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why is my div not showing? 1

Status
Not open for further replies.

Blueman2

Technical User
Aug 5, 2008
27
US
Can someone tell me why my Div "3buttons" is not showing in previews?

Thanks


<title></title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="sax-style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="wrapper">
<div id="header"></div>
<!-- InstanceBeginEditable name="main" --><div class="fltlft" id="3buttons"></div>
<div class="fltrt" id="feature"></div>
<!-- InstanceEndEditable --></div>
</body>
<!-- InstanceEnd --></html>

---------------------------------------------------
CSS FROM STYLE SHEET


body {
background: #000000;
margin: 0;
padding: 0;
text-align: center;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#wrapper {
background: #E1CC95;
height: 768px;
width: 1000px;
margin: 20px auto;
position: relative;
}
#header {
background: url(images/slices/header-bk.jpg) no-repeat;
height: 134px;
width: 1000px;
}
#feature {
height: 376px;
width: 764px;
background: url(images/slices/rack-feature.jpg) no-repeat;
}
#3buttons {
height: 376px;
width: 236px;
background: url(images/slices/3buttons.jpg);
}

.fltrt {
float: right;
}
.fltlft {
float: left;
}




 
Because there is no content in it.

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
Thanks, that makes sense but I guess my follow up has to be; why is the div "feature" showing up. There is no content in that one other than a background image?
 
Please ignore my earlier comment. I didn't notice the specified height and width.

It is because an id cannot start with a number.

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top