Technology, Web & Business Forum

You are here: Technology, Web & Business Forum : Web Development : Design : HTML IE6 rendering error


Welcome to the Technology, Web & Business Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Design Talk about web design techniques and ideas in CSS, HTML, etc.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-17-2009
Junior Member
 
Join Date: Sep 2009
Posts: 1
Default HTML IE6 rendering error

The layout is the way I want it in firefox and IE7.
I am willing to change my CSS as long as I can keep this layout.


I am including the css code hereunder:
PHP Code:
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #708F82;

margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
}
p {
text-align: left;

}

.twoColFixLtHdr #container {
width: 780px; /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
background: #8BB0A1;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.twoColFixLtHdr #header {
background: #DDDDDD;
padding: 0px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
}
.twoColFixLtHdr #header2 {
background: #DDDDDD;
padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
}
.twoColFixLtHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.twoColFixLtHdr #sidebar1 {
float: left; /* since this element is floated, a width must be given */
width: 350px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;
height: 250px;

}
.twoColFixLtHdr #sidebar2 {
float: left; /* since this element is floated, a width must be given */
width: 370px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;
height: 250px;
}
.twoColFixLtHdr #sidebar3 {
float: left; /* since this element is floated, a width must be given */
width: 250px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;
height: 430px;
}
.twoColFixLtHdr #sidebar4 {
float: left; /* since this element is floated, a width must be given */
width: 470px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;
height: 430px;
}
.twoColFixLtHdr #sidebar5 {
float: left; /* since this element is floated, a width must be given */
width: 350px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;

height: 250px;
}
.twoColFixLtHdr #sidebar5 p {
text-align: center;
}
.twoColFixLtHdr #sidebar5 h3 {
text-align: center;
}
.twoColFixLtHdr #sidebar6 {
float: left; /* since this element is floated, a width must be given */
width: 370px;
/* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;
height: 250px;
}
.twoColFixLtHdr #sidebar6 p {
text-align: center;
}
.twoColFixLtHdr #sidebar6 h3 {
text-align: center;
}
.twoColFixLtHdr #sidebar7 {
float: left; /* since this element is floated, a width must be given */
width: 750px;
/* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;
height: 600px;
}
.twoColFixLtHdr #sidebar8 {
float: left; /* since this element is floated, a width must be given */
width: 250px;
/* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;
height: 650px;
}
.twoColFixLtHdr #sidebar9 {
float: right; /* since this element is floated, a width must be given */
width: 470px;
/* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px;
height: 650px;
}


.twoColFixLtHdr #mainContent {
margin: 0 0 0 0px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
background: #EBEBEB;
padding: 0px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
}
.twoColFixLtHdr #footer {
padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
}
.twoColFixLtHdr #footer p {
text-align: center;
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
div#navbar2 {
height: 30px;
width: 98%;
margin-left: 1%;
padding: 0px;
background-repeat: repeat-x;
text-align: center;
background-image: url(navbar.jpeg);



}
div#navbar2 ul {
margin: 0px;
padding: 0px;
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #FFFFFF;
line-height: 30px;
white-space: nowrap;
font-weight: bold;
}

div#navbar2 li {

list-style-type: none;
display: inline;
}
div#navbar2 li a {
text-decoration: none;
padding: 0px 10px;

color: #FFFFFF;
font-weight: bold;
}
div#navbar2 li a:link {
color: #FFFFFF;
}
div#navbar2 li a:visited {
}

div#navbar2 li a:hover {
font-weight: bold;
color: #FFFFFF;
background-color: #003D6B;
line-height: 30px;

}
div#navbar2 li a:active {
font-weight: bold;
color: #FFFFFF;
background-color: #33CC66;
}


a {
color: #1346C2;
text-decoration: none;}


a:hover {
color: #AAAAAA;}
__________________
Call center software
Reply With Quote
  #2 (permalink)  
Old 10-08-2009
Junior Member
 
Join Date: Oct 2009
Posts: 1
Default hai

Nice work--thank you for sharing-
Thanks so much for this. I appreciate the effort. It really helps a lot.
Glad to hear you're using this: I plan to keep it much more aggressively up-to-date than has been the case in the past, but don't hesitate to let me know if you find errors or need clarifications.
__________________
health insurance in California
Reply With Quote
  #3 (permalink)  
Old 10-26-2009
Junior Member
 
Join Date: Oct 2009
Posts: 5
Default hai

Great little topic.
thank you for sharing- for me this makes perfect sense though.
__________________
Maritime Settlements
Reply With Quote
  #4 (permalink)  
Old 06-29-2010
Senior Member
 
Join Date: Mar 2010
Posts: 186
Default How to Play Better Dominoes

Hi,
How to Play Better Dominoes
Train your logic and challenge your brain and your opponent's brain as well! You can sharpen your domino skills so you'll win far more often! You will learn both general dominos principles and advanced domino techniques. Lots of illustrations guide you through every aspect of dominoes.
Start by learning what are domino suits and scoring procedures. Learn when to add your domino bone to the "skeleton" or if you need to develop the structure. You will see diagrams with acceptable plays and examples of entire domino games. Playing tips will improve your chances of winning. You will also learn exercises that will help strengthen your memory and powers of deduction. When you are done with the basics there, there's plenty of material on intermediate and advanced skills and strategies!
'How to Play Better Dominos' is extremely useful for those who play dominos online.
And I can recommend you a good Dominoes Site to help you recording Top Score in this game. If you play Dominoes for fun, here's your opportunity to 'spice-up' the game and use your skill to try and win some money!
Thanks
_____________________
Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT -5. The time now is 09:53 AM.