Jump to content

[SOLVED] Firefox DIV problem


abch624

Recommended Posts

Hi There,

 

I have attached a screenshot of the problem. The code is

		<div style="float:left;">
		<div class="top"></div>
		<div class="middel">
			<div class="content">
				<div class="blogSmall">
					<h1>your blogs</h1>
				</div>
				<div class="blogSnap">
					<div style="float:left; width:97.5%;">
						<div class="blogTop">
							<div>
								<img src="./images/interface/blogs/blog.png" height=100 style="padding-right:10px; padding-bottom:10px;" align="left">
								Again folks it is time for another instalment of Chris’s travel adventures. 
								Or as some may like to call it ‘Chris’s sedate bludge-fest’. But regardless of 
								what others may think I tend to put myself into the same category as Captain Cook, 
								boldy heading into uncertainty, ever so fraught with peril… seriously take this 
								morning for…
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="bottom"></div>
	</div>

and the css is

.content {
padding: 0 30px 0 30px;
}

.top {
background: #fff url("/TableFind/images/interface/topblue.jpg");
height: 15px;
width:900px;
}

.bottom {
background: #fff url("/TableFind/images/interface/bottomblue.jpg");
height: 15px;
width:900px;
}

.middel {
background: url("/TableFind/images/interface/middleblue.jpg");
background-repeat: repeat-y;
width:900px;
}
.blogSnap {
width:98%; 
padding-top:5px;
margin-left:16px;
}

.blogSmall {
width:94%;
padding-left:15px; 
margin-left:16px;
}

.blogTop {
width:50%;
padding-left:15px; 
margin-left:16px;
}

 

DO you have any idea why the div does not stretch out in Firefox and Chrome???

 

Regards,

 

Zahid

 

 

[attachment deleted by admin]

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.