homepage Welcome to WebmasterWorld Guest from 54.196.159.11
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
dreamweaver - Div not showing up
blueman2




msg:3772356
 10:03 pm on Oct 23, 2008 (gmt 0)

Can someone tell me why my Div "3buttons" is not showing in previews while "features" div is?

Thanks

Mike

<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;
}

 

Bert36




msg:3773331
 10:44 am on Oct 25, 2008 (gmt 0)

id and classnames cannot begin with a number, just rename "3buttons" to something else.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved