SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : HTML and CSS :

Previous DiscussionNext Discussion
 <div> boxes
Hi,

I want to show a box that contains small boxes of data
#main is a bigger box that contains smaller boxes called #deatails.

The bigger box encloses the smaller boxes in internet explorer.
In moxilla, the bigger box has a small height (say 50 pixels)
and does not enclose the smaller boxes. Obviously, i cannot specify
the height of the bigger box in pixels as it is variable
Could you please suggest a solution?

Thank you very much in advance.

Please take a look at the code
css:
#main
{
padding:15px;
width: 763px;
border: 3px solid silver;
background-color: rgb(250,254,254) ;
border: 1px solid lightsteelblue ;
}


#details
{
border: 1px solid rgb(250,254,254) ;
padding:7px;
width: 238px;
height: 120px;
float:right;
background-color: white ;
}



html:


loop start-

a few lines of data

loop end-


Started By emsiva on Dec 5, 2006 at 8:07:51 AM

10 Response(s) | Reply

View All Replies | Goto Page: 2 1
bod1467 on Dec 6, 2006 at 2:19:49 AM

Several divs with the same ID? Or did you mean to use class="details" and change the CSS declaration from #details to .details? :-)


View All Replies | Goto Page: 2 1

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2000 InsideDHTML.com, LLC. All rights reserved.