body tag not rendering properly

This is a discussion on "body tag not rendering properly" within the Web Page Design section. This forum, and the thread "body tag not rendering properly are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 3rd, 2006, 10:14
New Member
Join Date: Aug 2006
Location: Huddersfield
Age: 27
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
body tag not rendering properly

Hi All,

I'm hoping someone in this forum might be able to save the hair I haven't yet pulled out by showing me a solution to this really annoying css bug. I've been using a hack for a long time that allows a centered box both horizontally and vertically. However I have always used this hack with a white background. I have just started developing two new site that require coloured backgrounds, and found that the css colour for the body tag doesn't render all the way down the screen (particuarlly in IE). It only seems to go as far as the absolutely positioned content box.

the particular site I'm having trouble with at the moment is www.id30.com/pikcells.

The css:

body{
background-color:#484848;
color:#fffffd;
margin:0px;
padding:0px;
}
#content_block{
width:596px;
margin-left:-298px;
left:50%;
height:611px;
margin-top:-306px;
top:50%;
position:absolute;
}
#flash{
height:336px;
margin-bottom:8px;
}
#bottom_content{
height:226px;
border:solid 1px #707070;
}


The html:

<body>
<div id="content_block">

<div id="flash">
<img src="images/flash.jpg" alt="flash banner" />
</div>

<div id="bottom_content">

</div>

</div>

</body>


If anybody could let me know what the problem is it would be much appreciated.

Many thanks

David
Reply With Quote

  #2 (permalink)  
Old Aug 3rd, 2006, 12:53
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: body tag not rendering properly

Dark grey all the way down in my browser (IE6).
Reply With Quote
  #3 (permalink)  
Old Aug 3rd, 2006, 12:58
New Member
Join Date: Aug 2006
Location: Huddersfield
Age: 27
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: body tag not rendering properly

Thanks for checking.

The problem is intermitent though. It renders OK sometimes, but specifically it seems to be a problem on initial page load. I have tested on a number of machines and get varying levels of the same bug. Its really starting to do my head in!!
Reply With Quote
Reply

Tags
body, tag, rendering, properly

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
something like rendering animation w0wsabaw Flash & Multimedia Forum 2 Jul 13th, 2007 00:45
FF-IE rendering problem jomtones Web Page Design 2 Jul 5th, 2007 06:55
Menu not rendering correctly in I.E maxz Starting Out 10 Jun 11th, 2007 17:32
font rendering masonbarge Graphics and 3D 1 May 16th, 2006 15:12
Problem with XML rendering mipadi Classic ASP 1 Aug 9th, 2005 10:54


All times are GMT. The time now is 16:40.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43