Jump to content

[SOLVED] Div resize to image


FlyingIsFun1217

Recommended Posts

Ok, I've made it to automatically expand, but now the column next to it doesn't expand downward with it (I want them to always be the same height):

 

body
{
min-width:		800px;
width:			auto;
margin:			0%;
padding:		0%;
font-family:		georgia;
height:			auto;
}

div.boxSingle
{
padding:		5px;
background: 		#E4E3FE;
border:			1px solid #666581;
width:			100px;
font-family: 		georgia;
color: 			#47465A;
}

div.boxDouble
{
padding:		5px;
background:		#E4E3FE;
border:			1px solid #666581;
width:			200px;
font-family: 		georgia;
color: 			#47465A;
}

div.adminBox
{
padding:		5px;
background: 		#E4E3FE;
border:			1px solid #666581;
width:			40%;
font-family: 		georgia;
color: 			#47465A;
}

div.sidebarMenu
{
padding:		5px;
background:		#E4E3FE;
border:			1px solid #666581;
width:			95%;
font-family:		georgia;
color:			#47465A;
}

div.imageTitle
{
color:			#47465A;
text-decoration:	underline;
font-weight:		bold;
}

table.main
{
border-collapse:	collapse;
border-style:		solid solid solid solid;
border-width:		1px 1px 1px 1px;
padding:		0px 50px 50px 0px;
border-color:		#666581 #666581 #666581 #666581;
border-spacing:		10px;
background-color:	#E4E3FE;
}

table.main td
{
border-width:		1px 1px 1px 1px;
padding:		1px 25px 1px 25px;
border-style:		none none none none;
-moz-border-radius: 	0px 0px 0px 0px;
}

#header
{
background:		#ddd;
min-height:		100px;
max-height:		125px;
height:			17%;
text-align:		center;
text-decoration:	underline;
}

#header h1
{
margin:			0%;
}

#sidebar
{
float:			left;
width:			20%;
background:		#99c;
min-height:		500px;
height:			auto;
}

#container
{
float:			right;
width:			80%;
background:		#9c9;
min-height:		500px;
height:			auto;
}

#footer
{
clear:			both;
background:		#cc9;
height:			5%;
}

#footer p
{
margin:			0%;
padding:		10px;
background:		#ddd;
}

a:link
{
color: 			#4F6A90;
text-decoration: 	underline;
}

a:visited
{
color: 			#374A64;
text-decoration: 	underline;
}

a:active
{
color: 			#374A64;
text-decoration: 	underline;
}

a:hover
{
color: 			#374A64;
text-decoration: 	underline;
}

 

Thanks!

FlyingIsFun1217

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.