Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

resizing content frame

Featured Replies

Hey guys,

 

I want to make the frame where my content is published smaller so that when I get a visitor the website doesn't look empty. I know I gotta change something in styles.css, I've messed around as well but can't seem to figure it out. Here is styles.css coding. Any help would appreciated. Thanks

 

* {
margin: 0; padding: 0;
}
body {
text-align: center;
font: 12px Verdana;
color: #e06900;
background: url(images/body.gif) repeat-x 0 0;
}
a {
text-decoration: none;
color: #282828;
}
img {
border: 0;
}

.break {
font-size: 0;
width: 0; height: 0;
clear: both;
}
.alignleft {
float: left;
margin: 4px 10px 5px 0;
}
.alignright {
float: right;
margin: 4px 0 5px 10px;
}
.hidden {
display: none;
}
.noimage img {
display: none;
}

#wrapper {
width: 980px;
margin: auto auto;
text-align: left;
position: relative;
}

#rss {
position: absolute;
width: 54px; height: 69px;
background: url(images/) no-repeat 0 0;
top: 145px; left: 682px;
}

/** BEGIN header **/
#header {
height: 180px;

}
#header ul {
	list-style-type: none;
}
	#header ul li {
		float: left;
		text-transform: uppercase;
		font-size: 0.9em;
	}
	#header ul li a {
		color: #ffffff;
		font-weight: bold;
		display: block;
		padding: 10px 10px 11px;
	}
#header h1 {
	clear: both;
	padding-top: 25px;
	background: #ba6c27;
	font-color: #000000
	width: 1000px; height: 107px;
}
	#header h1 a {
		display: block;
		text-indent: -9999px;
		background: url(images/logo.gif) no-repeat 0 0;
		outline: none;
		width: 652px; height: 200px;
	}
/** END header **/

#body {
background: url(images/wrapper.gif) repeat-y 660px 0;
}

/** BEGIN content **/
#content {
width: 662px;
float: left;
}
#content #categories {
	list-style-type: none;
	height: 34px;
}
	#content #categories li {
		float: left;
		font-size: 0.9em;
		padding-left: 1px;
		background: url(images/divider.gif) no-repeat 0 center;
	}
	#content #categories li.f {
		padding-left: 0;
		background: none;
	}
	#content #categories li a {
		display: block;
		padding: 10px;
	}
	#content #categories li a:hover {

	}
#content .post {
	clear: both;
	padding: 20px 0 30px;
	border-bottom: 1px solid #D4D3CF;
	margin: 0 20px 0 10px;
}
	#content .post .l {
		float: left;
		width: 220px;
		font-size: 0.8em;
		color: #808080;
	}
		#content .post .l p {
			margin-bottom: 5px;
			padding: 0 10px;
		}
		#content .post .l img {
			margin-bottom: 10px;
			width: 200px; height: auto;
		}
		#content .post .l a {
			color: #808080;
		}
	#content .post .r {
		float: right;
		width: 392px;
		padding-right: 20px;
	}
		#content .post h2 {
			font-size: 2em;
			margin-bottom: 15px;
		}
			#content .post h2 a {

			}
		#content .post p {
			margin-bottom: 15px;
			line-height: 1.5em;
		}
		#content .post .r .details {
			padding: 1px;
			border: 1px solid #D4D3CF;
			float: left;
		}
		#content .post .r .details p {
			background: url(images/details_bg.gif) repeat-x 0 0;
			font-size: 0.8em;
			font-weight: bold;
			padding: 0 10px;
			margin: 0;
			height: 29px;
		}
			#content .post .r .details p a {
				display: block;
				float: left;
				padding: 7px 0 8px;
				margin-top: 1px;
			}
			#content .post .r .details p a.readmore {
				background: url(images/details_divide.gif) no-repeat right center;
				margin-right: 5px;
				padding-right: 8px;
			}
/** END content **/

/** BEGIN sidebar **/
#sidebar {
width: 318px;
float: right;
}
#sidebar a:hover {
	color: #9A3316;
}
#sidebar #subscribe {
	background: url(images/navigation.gif) repeat-x 0 0;
	height: 34px;
	margin: 0 3px 10px 0;
	padding: 10px 0 0 88px;
	font-size: 0.9em;
	color: #6A6A6A;
}
	#sidebar #subscribe a {
		font-weight: bold;
		color: #6A6A6A;
	}
	#sidebar #subscribe a:hover {
		color: #9A3316;
	}
#sidebar #ad125x125 {
	text-align: center;
}
	#sidebar #ad125x125 img {
		border: 0;
		margin: 5px;
	}
#sidebar .box {
	background: url(images/horizontal.gif) repeat-x 0 bottom;
	margin-right: 3px;
	padding: 10px 15px;
}
	#sidebar .box form {
		width: 283px; height: 30px;
		background: url(images/search.gif) no-repeat 0 0;
	}
		#sidebar .box form input {
			border: 1px solid #ffffff;
			margin: 6px;
			float: left;
			width: 207px;
		}
		#sidebar .box form button {
			float: left;
			width: 57px; height: 30px;
			text-indent: -9999px;
			border: 0;
			margin-left: 5px;
			background-color: transparent;
		}
	#sidebar .box h2 {
		font-size: 0.9em;
		text-transform: uppercase;
	}
	#sidebar .box ul {
		list-style-type: none;
		padding: 10px 0;
	}
		#sidebar .box ul li {
			font-size: 0.9em;
			padding: 5px 0;
		}
#sidebar .l {
	width: 159px;
	float: left;
	padding-top: 10px;
}
	#sidebar .l h2 {
		background-color: #282828;
		color: #ffffff;
		font-size: 0.9em;
		font-weight: bold;
		text-transform: uppercase;
		padding: 10px;
		margin: 0 4px;
	}
	#sidebar .l ul {
		list-style-type: none;
		margin: 0 2px 10px 4px;
	}
		#sidebar .l ul li {
			background-color: #ffffff;
			padding: 8px 10px;
			border-width: 0 1px 1px;
			border-style: solid;
			border-color: #D4D3CF;
		}
#sidebar .r {
	width: 159px;
	float: left;
	padding-top: 10px;
}
	#sidebar .r h2 {
		background-color: #282828;
		color: #ffffff;
		font-size: 0.9em;
		font-weight: bold;
		text-transform: uppercase;
		padding: 10px;
		margin: 0 8px 0 2px;
	}
	#sidebar .r ul {
		list-style-type: none;
		margin: 0 8px 10px 2px;
	}
		#sidebar .r ul li {
			background-color: #ffffff;
			padding: 8px 10px;
			border-width: 0 1px 1px;
			border-style: solid;
			border-color: #D4D3CF;
		}
/** END sidebar **/

/** BEGIN footer **/
#footer {
background:#ba6c27 url(images/footer.gif) repeat-x 0 0;
color: #000000;
clear: both;
font-size: 0.8em;
padding: 30px 0;
}
#footer div {
	width: 980px;
	margin: auto auto;
	text-align: left;
}
#footer p {
	margin-bottom: 10px;
	padding-left: 30px;

}
#footer a:hover {
	color: #ffffff;
}
/** END footer **/

/** BEGIN misc **/
#postnav {
padding: 20px;
}
#content .post h3 {
margin-bottom: 5px;
}
#content .post ul {
padding-left: 15px;
margin-bottom: 10px;
}
#content .post ul li {
padding: 2px 0;
}
#content .post ol {
padding-left: 20px;
margin-bottom: 10px;
}
#content .post ol li {
padding: 2px 0;
}
#content .post blockquote {
padding-left: 10px;
border-left: 2px solid #e0e0e0;
font-style: italic;
margin-left: 2px;
}
#comments {
padding: 0 20px 10px 10px;
}
#comments h2 {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.9em;
	padding-top: 25px;
	margin-bottom: 20px;
}
#comments p {
	margin-bottom: 10px;
	line-height: 1.5em;
}
#comments form p {
	margin-bottom: 5px;
}
.commentdetails {
	margin-top: 25px;
}
.commentauthor {
	margin-bottom: 5px !important;
	font-weight: bold;
}
.commentdate {
	font-size: 0.8em;
	margin-bottom: 5px;
	color: #909090;
}
.required {
	color: #ff0000;
}
.sdetails {
clear: both;
font-size: 0.8em;
padding-top: 20px;
}
.sdetails p {
	margin-bottom: 5px !important;
	color: #909090;
}
.sdetails a {
	color: #909090;
}
.sdetails a:hover {
	color: #282828;
}
/** END misc **/

  • Author

Back to this again. I thought it was as simple as making the thumbnails smaller but I was wrong.

I want the frame where the image goes in to be smaller in height. An example is like on this site.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.