Web Design Forum: IE again...hair nearly all gone now...HELP! - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

IE again...hair nearly all gone now...HELP! Rate Topic: -----

#1 User is offline   banjolin 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 11-February 09
  • Reputation: 0
  • Experience:Intermediate
  • Area of Expertise:Designer

Posted 11 February 2009 - 05:17 PM

Er yes this ole chestnut again I'm afraid...please help...

Website www.jillyjarman.co.uk. Looks fine is every browser except IE. IE throws it all over the place. Have tried so many tweaks and changes nothing works...can somebody please help??

Here is my CSS - the HTML source can be viewed at www.jillyjarman.co.uk

body {
background-color: #ffffff;
top:0px;
left: 0px;
text-align: center;
width: 1024px;
height: 100%;
z-index: 1;
}

img.floatLeftClear {
float: right;
margin: 10px;
}

#centered {
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 80%;
text-align: left;
height: 100%;
margin: 0 auto;
}

#header {
width: 800px;
height: 533px;
position: relative;
text-align: left;
background-image: url(images/jilly1.jpg); background-repeat:no-repeat;
z-index: 1;
}


#maintext {
position: relative;
width: 600px;
height: auto;
top: 50px;
text-align: left;
left:160px;
padding: 20px;
z-index: 2;
}

#menucontainer {
position: relative;
width: 100px;
height: auto;
text-align: left;
top: -350px;
left:30px;
padding: 10px;
z-index: 3;

}


h1 {
font-family:arial, sans-serif;
color: #333333;
font-size: 12px;
font-weight: 100;
padding: 0px;
letter-spacing: 0px;
text-align: left;
}
h2 {
font-family:arial, sans-serif;
color: #993300;
font-size: 14px;
font-weight: 100;
padding: 0px;
letter-spacing: 0px;
text-align: left;
}

h3 {
font-family:brushstroke, fantasy;
color: #993300;
font-size: 40px;
font-weight: 120;
padding: 0px;
letter-spacing: 0px;
text-align: right;
}

h4 {
font-family:arial, sans-serif;
color: #333333;
font-size: 14px;
font-weight: 120;
padding: 0px;
letter-spacing: 0px;
text-align: right;
}


a:link {
color: #336699;
text-decoration: none;
cursor: pointer;

}
a:visited {
color: #336699;
text-decoration: none;
cursor: pointer;

}
a:hover {
color: #ff0000;
text-decoration: underline;
cursor: pointer;
}
0

#2 User is offline   BlueDreamer 

  • Web Guru
  • Group: Moderators
  • Posts: 5,797
  • Joined: 23-October 07
  • Reputation: 202
  • Gender:Male
  • Location:Northampton (where?)
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 11 February 2009 - 06:07 PM

Welcome to WDF!

Try removing position: relative; from all your styles, floating is much more reliable...

For #main text add float: right;
For #menucontainer add float: left;
0

#3 User is offline   banjolin 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 11-February 09
  • Reputation: 0
  • Experience:Intermediate
  • Area of Expertise:Designer

Posted 13 February 2009 - 12:29 PM

View Postbluedreamer, on Feb 11 2009, 18:07, said:

Welcome to WDF!

Try removing position: relative; from all your styles, floating is much more reliable...

For #main text add float: right;
For #menucontainer add float: left;


Thank you thats really got IE centralising..in FF and Netscape tho the page is now pinned to the right, any ideas? This forum is awesoem by the way. :D
0

#4 User is offline   BlueDreamer 

  • Web Guru
  • Group: Moderators
  • Posts: 5,797
  • Joined: 23-October 07
  • Reputation: 202
  • Gender:Male
  • Location:Northampton (where?)
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 13 February 2009 - 01:17 PM

Change the "centerd" id to...

#centered {
width: 800px;
margin: 0 auto;
}

0

#5 User is offline   banjolin 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 11-February 09
  • Reputation: 0
  • Experience:Intermediate
  • Area of Expertise:Designer

Posted 14 February 2009 - 09:45 AM

Right I'm winning...thank you SO much for your help so far. Just one little bug left, in IE the menucontainer is pinned to the top of the screen, FF and Netscape are taking heed of my top: 130px; command.

IE is ignoring this, what can I do??? :rolleyes:
0

#6 User is offline   neilp 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 695
  • Joined: 03-January 09
  • Reputation: 46
  • Gender:Male
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 15 February 2009 - 12:35 PM

View Postbanjolin, on Feb 14 2009, 09:45, said:

Right I'm winning...thank you SO much for your help so far. Just one little bug left, in IE the menucontainer is pinned to the top of the screen, FF and Netscape are taking heed of my top: 130px; command.

IE is ignoring this, what can I do??? :rolleyes:



Try taking the float away, i wouldn't have it floated right if you have it absolute positioned.

#menucontainer {
position: absolute;
width: 100px;
height: 600px;
text-align: left;
top: 130px;
left:30px;
padding: 10px;
z-index: 2;

}

Hope that worked? If not then perhaps add another 30 or so to the top declaration: top: 160px;
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users