🔒 Closed Web developers pahelp naman!

Status
Not open for further replies.

zentrix06

Honorary Poster
**disclaimer** di ako PRO . trip ko lang talaga gumawa and I'm in the process of learning things in CSS and HTML

may ginagawa lang kasi akong cheat sheet na web page. tanong ko lang kung pwedeng mainherit ng sidebar div ang height ng main div??



/* Sidebar/left column */
.sidebar {
background-color: #AED6F1;
padding: 20px;
float:left;
width: 400px;
height: 100%;
margin-left: none;
overflow-x:hidden;
overflow: scroll;
position:absolute ;
font-size: 16px;
}

/* Main column */
.main {
background-color: #5499C7;
padding: 20px;
float:right;
width:100%;
margin-left: 400px;
color:white;
position: relative;
}

problem kasi is may filter table ako sa side div. sa main div naman may collapsible. so kapag nagexpand yung collapsible, hindi siya pumapantay kay side div. vice versa. is there a way na kapag nag expand si collapsible, mag auto expand din si side nav?
 
Status
Not open for further replies.

About this Thread

  • 0
    Replies
  • 235
    Views
  • 1
    Participants
Last reply from:
zentrix06

Trending Topics

Online now

Members online
1,089
Guests online
839
Total visitors
1,928

Forum statistics

Threads
2,274,955
Posts
28,959,562
Members
1,233,493
Latest member
Alluneediswalk
Back
Top