Help - Search - Members - Calendar
Full Version: stupid IE no work :(
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
Phatty
here is a site im doing but the css is screwing up sad.gif

here are some screen shots..

http://i28.tinypic.com/2vmhnut.jpg

http://i30.tinypic.com/ab2nig.jpg

seeee! i told you! sad.gif

here is the CSS

CODE

html
{
  overflow: hidden;
  height: 99%;
}
                        
body
{
  background: rgb(211, 226, 195);
  height: 99%;
  margin: 0;
  padding: 0;
  line-height: 150%;
  text-align: center;
}

*
{
  font-size: 8pt;
  font-family: Tahoma, Verdana, sans-serif;
  color: #000000;
  text-align: left;
}

.list
{
  margin: 5px;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}




/* === Containers === */



#first_container
{
  margin: 0 auto 0 auto;
  display: table;
  height: 100%;  
  position: relative;
  overflow: hidden;
  width: 766px;
}

#second_container
{
  position: absolute;
  top: 50%;
  vertical-align: middle;
  width: 100%;
}

#third_container
{
  position: relative;
  top: -163px;
  width: 766px;
}



/* === Menu === */



#menu
{
  height: 31px;
  padding-right: 2px;
  margin: 0;
  list-style: none;  
}

#menu li
{
  float: right;
  display: block;
  width: 82px;  height: 31px;  
}

#menu a
{
  display: block;
  width: 82px;  height: 31px;  
  background-color: inherit;
  text-decoration: none;
  line-height: 31px;
  text-align: center;
}

#menu a:link, #menu a:visited
{
  color: #008472;
  background-color: #D3E2C3;
}

#menu a:hover, #menu a:active
{
  background-image: url('images/taba2.png');
  color: #ffffff;
}

#menuselected
{
  display: block;
  width: 82px;  height: 31px;  
  background-image: url('images/taba.png');    
  text-decoration: none;
  line-height: 31px;
  color: #ffffff;
  text-align: center;
}



/* === Language menu === */



#submenu
{
  float: left;
  height: 31px;
  width: 300px;
  padding-left: 10px;
  margin: 0;
  list-style: none;  

}

#submenu li
{
  float: left;
  display: block;
  width: 82px;  height: 31px;  
}

#submenu a
{
  display: block;
  width: 82px;  height: 31px;  
  background-color: inherit;
  text-decoration: none;
  line-height: 25px;
  text-align: center;
}

#submenu a:link, #submenu a:visited
{
  color: #008472;
  background-color: #D3E2C3;
}

#submenu a:hover, #submenu a:active
{
  background-image: url('images/tabb2.png');
  color: #ffffff;
}

#submenuselected
{
  display: block;
  width: 82px;  height: 31px;  
  background-image: url('images/tabb.png');    
  text-decoration: none;
  line-height: 25px;
  color: #ffffff;
  text-align: center;
}



/* === Other Divs === */



.border
{
  background-color: #ffffff;
  padding: 15px 15px 15px 100px;
  height: 285px;
  background-image: url('images/back4.png');
  background-repeat: no-repeat;
  background-position: center center;
  text-align: left;
}

.title
{
  position: absolute;
  margin-left: 25px;
  margin-top: 40px;
  width: 32px;
  height: 232px;
  background-image: url('images/Campden.png');  
}

.content
{
  height: 217px;
  overflow: auto;
  padding: 7px;
}

.designinfo
{
  margin-top: 5px;
  text-align: right;
  color: #008472;
  background-color: inherit;
}



/* === Inline Text Styles === */



h1
{
  margin: 10px 0 -40px -2px;
  padding: 0 10px 40px 9px;
  font-size: 16px;
  color: #ffffff;
  background-color: inherit;
  border-left: 5px solid rgb(211, 226, 195);

}

.details
{
  display: none;
  font-size: 9px;
  color: #008472;
}

.text
{
  display: block;
  margin: 5px 5px 20px 12px;
}

.text a
{
  color: #008472;
  text-decoration: none;
  font-weight: bold;
}

.text a:hover, .text a:active
{
  color: #000000;
}

blockquote
{
  margin: 3px 0 3px 0;
  padding: 5px 10px 5px 10px;
}

.note
{
      display: block;
    margin: 10px 15px 10px 15px;
    color: #555555;
}

.bold
{
  font-weight: bold;
}


the bit that is repeating at the bottom is ".designinfo"

thanks!
pandy
Post the URL to the page, please. Also, what version of IE do you see the problem in?
Phatty
http://arcadian-furniture.info/cc/ourClients.html

version 7

thanks for the quick reply biggrin.gif

why cant i edit my first post?
Darin McGrew
QUOTE
why cant i edit my first post?
Posts can be edited for about an hour:
http://forums.htmlhelp.com/index.php?act=boardrules
pandy
QUOTE
version 7


FYI it looks different in IE6, but still screwed up.

QUOTE

thanks for the quick reply biggrin.gif

why cant i edit my first post?


Because you weren't quick enough! biggrin.gif

Valid HTML and CSS, huh? The HTML actually isn't. You could fix that first and see if that helps. I have my doubts, but it's always a first step.

http://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.