[thelist] CSS question

Raymond Camden jedimaster at macromedia.com
Thu Jun 13 08:43:01 CDT 2002


I've got (what I hope is) a simple CSS question. On my personal home
page I use a 'block' style effect to wrap my content. However, my image
on the home page (I'm the older one ;) bleeds out of the box on both IE
and Mozilla. Any ideas? .jeff suggested this CSS style:

.content img {
  display: block;
}

but it didn't work for me. .content is:

.content {
/*	width:100%;*/
	min-width:120px;
	/* height: 100%; */
	/* top, right  */
	margin:0px 20px 20px 20px;

	border:1px solid black;
	background-color:white;
	padding:10px;
	}

and the source using it is:

	<div class="content">
	<h1>Welcome</h1>
	<img src="images/ray6.jpg" width="280" height="290" alt="My son
and I" border="0" align="left" hspace=6>
	<p>Welcome to the personal home page of Raymond K. Camden,
Principal Spectra
	Compliance Engineer for <a
href="http://www.macromedia.com">Macromedia, Inc</a>.
	On my home page you will find links to my ColdFusion development
as well as
[deletia]
	</p>

	</div>

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email    : jedimaster at macromedia.com
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda




More information about the thelist mailing list