layout problem in IE only

This is a discussion on "layout problem in IE only" within the Web Page Design section. This forum, and the thread "layout problem in IE only 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 Nov 16th, 2006, 09:32
Up'n'Coming Member
Join Date: Mar 2006
Location: UK
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
layout problem in IE only

www.wildside-creative.co.uk/reservetemplate.html

I have a page that displays fine in Firefox, Safari, IE on the mac. However on PC it loses its top banner in IE only (fine in Firefox).
Can anyone solve? Link above or code below
HTML: Select all
<body>
<div id='mainframe'>
<div id='container'>                              

<div id='maintextarea'>
<br />
<p><b>Small broad-leaved woodland on Afon Deri.</b><br /><br />
A small part of a larger wood, lying in a steep sided valley, a footpath runs through the site, travelling over the River Deri via a narrow footbridge.
<br /><br />For further information on this reserve,
<a href="Contact.html">email.</a> </p><hr />
<div id="sustranslink"><p><img src="imagesOct/NCN_logo_english.gif" alt="link to Sustrans route information" />To access a map of the reserve's exact location and nearby cycle routes, click on the NCN link>><br />provided by Sustrans</p><br /></div><a href="otherReserves.html">Other NWWT nature reserves >></a></div>  <!-- End of maintextarea -->

<!-- Right-hand panel content goes in here. -->
<div id='imagepanel'><br />
<img src="imagesOct/BPW.jpg" /><p class="caption"></p>
</div>
</div>  

<!-- End of container -->

<div id='dummy'>  <!-- Without this redundant div, IE looses its layout.-->

<!-- Footer content goes in here. -->

<div id='reservefooter'>

<p></p> 
</div>

<!-- Header content goes in here. -->
<div id='reserveheader'><p><img src="imagesOct/NWWTlogo.gif" alt="NWWT logo" /></p>
<p  class="pagetitles"><b>North Wales Wildlife Trust</b><br />Nature Reserve</p><br /><p class="pagesubtitles">Three Cornered Meadow
SJ 402 581 (13 acres)<br />permit required to access</p>
</div>

</div>  <!-- End of mainframe. -->

</div>
</body>
Code: Select all
#reserveheader { width: 758px;  /* Always 2px less than #mainframe */
background-color: #bbccaa;
height:105px;
position: absolute;  /* DO NOT CHANGE */ 
margin-top: 0px;
top: 0; left: 0;
padding: 10px;  } 

#reserveheader img{
width:80px;
margin: 0px 20px 0px 0px;
float: right;
}
ieonly.css
Code: Select all
#reserveheader {width: 100%;}
Reply With Quote

  #2 (permalink)  
Old Nov 16th, 2006, 16:33
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: layout problem in IE only

Check your opening and closing divs from the footer dummy down. I think you will find you have one in the wrong place.
Reply With Quote
  #3 (permalink)  
Old Nov 16th, 2006, 18:13
Up'n'Coming Member
Join Date: Mar 2006
Location: UK
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Re: layout problem in IE only

Hi Geoff,
You're right of course. I had a missing /div.
I feel suitably embarassed.
Thankyou v.v.much
Snappy
Reply With Quote
  #4 (permalink)  
Old Nov 17th, 2006, 00:11
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,713
Blog Entries: 1
Thanks: 0
Thanked 16 Times in 16 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: layout problem in IE only

It happens man, it happens. My favorite is doing something stupid like forgetting to link my style sheet and wondering why it won't work. Oh yeah, I did that!
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #5 (permalink)  
Old Nov 17th, 2006, 09:39
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: layout problem in IE only

Quote:
Originally Posted by moojoo View Post
It happens man, it happens. My favorite is doing something stupid like forgetting to link my style sheet and wondering why it won't work. Oh yeah, I did that!
Ahahahahahaha!

I've done something similar, mainly because of Transmit. Once in a while I rename a file but continue to edit the open skEdit file. When it saves it via Transmit, it creates the file I renamed, so no changes are reflected on the web.
Reply With Quote
Reply

Tags
css

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
CSS layout problem in FF benracer Web Page Design 4 Mar 28th, 2008 16:30
CSS Layout Problem AlexDS Web Page Design 7 Aug 14th, 2007 10:48
layout problem samv Web Page Design 21 Feb 17th, 2007 10:21
Problem with Layout dg81 Web Page Design 3 Jan 15th, 2007 03:31
layout problem bean_2k1 Web Page Design 3 Sep 13th, 2006 02:53


All times are GMT. The time now is 06:28.


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