Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 09-18-2006, 01:41 PM IE 7 ate my layout!
Granwalla's Avatar
Average Talker

Posts: 15
Trades: 0
I built this site awhile back and now that people are getting IE 7, I've noticed the layout is goofy. The site is at http://www.villageofmillstadt.org/millstadt/home.htm. Is there something I can do in the css file to fix the problem or will I have to redo the whole site?

Any help is appreciated.
__________________
Me: "Sir, do you have a firewall?"

EU: "Yeah, between the house and the garage . . ."
Granwalla is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-18-2006, 04:37 PM Re: IE 7 ate my layout!
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
The problem with IE7 is most likely due to some hacks you used to make your sites work for pre version 7 IE. You will need to figure out how to make the sites work in IE7, but you don't necessarily need to redo your entire site.

There are ways you can serve different style sheets to different browsers. In this case I think using conditional comments might be the easiest
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 09-18-2006, 05:57 PM Re: IE 7 ate my layout!
Granwalla's Avatar
Average Talker

Posts: 15
Trades: 0
Now I've got IE7 pretty much resolved but in the process, the page is no longer visible in Firefox! I can't figure out how I did this but the whole page is gray. I've validated both the XHTML and CSS so I know the code is good. I just have a booboo. Help?
__________________
Me: "Sir, do you have a firewall?"

EU: "Yeah, between the house and the garage . . ."
Granwalla is offline
Reply With Quote
View Public Profile
 
Old 09-18-2006, 07:22 PM Re: IE 7 ate my layout!
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Let's see the updated code or an update page

You also might want to peruse this page:
http://css-discuss.incutio.com/?page=IE7
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-19-2006, 12:51 PM Re: IE 7 ate my layout!
Granwalla's Avatar
Average Talker

Posts: 15
Trades: 0
The page is at http://www.villageofmillstadt.org/millstadt/home.htm.

Here's my CSS code (and I apologize in advance if it's messy - it was one of my first attempts BUT I did get it and the HTML to validate!).

Code:
html { 
  padding:0px;
  margin:0px;
}
body {
 font-size: 12px;
 font-family: Verdana, Arial, Sans-Serif;
 color: #000000;
 text-align: center;
 margin: 0px;
 padding: 0px;
 background: url(flagbg_mn2.jpg);
}
.style1 {color: #FFFF00}
h1 {
font-size:16px;
padding-top:10px;
padding-left:5px;
text-transform:uppercase;
color: #564b47;
background-color: transparent;
 }
 
h2 {
font-size:11px;
font-weight:normal;
padding-left: 10px;
color: #000000;
background-color: transparent;
 }
 
h3 {
font-size:11px;
font-weight:normal;
padding-top:10px;
padding-left: 10px;
color: #ffffff;
background-color: transparent;
 }
 
h4 {
font-size:11px;
font-weight:bold;
padding-top:5px;
padding-left: 15px;
color: #8B0000;
background-color: transparent;
 }
 
h5 {
 font-size: 11px;
 font-weight: normal;
 padding-top: 0px;
 padding-left: 20px;
 color: #000000;
 background-color: transparent;
}
 
a { 
color: #000099;
font-size: 11px;
font-weight: bold;
background-color:transparent;
text-decoration:underline; 
}
p { 
color: #000000;
font-size: 11px;
background-color:transparent;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
#box {
width:750px;
margin: 0px auto;
padding:0px;
text-align:left;
background: #000153 url(blbg2.gif) repeat-y 50% 0;
}
#left {
width:182px;
padding:0px;
float:left;
background-color: transparent
}
#content {
width:378px;
padding:0px;
float:left;
overflow: auto;
}
#right {
width:165px;
padding:0px;
float:right;
background-color: transparent
}
#head {
background-color:transparent;
margin:0px;
height:20px;
}
#head h1 {
font-size: 11px;
text-transform:uppercase;
text-align: right;
color: #FFFFFF;
background-color: #4E4C5C;
padding:5px 15px;
margin:0px
}
#head p {
padding:10px;
margin:0px;
}
#button {
width: 160px;
border-right: 0px;
padding: 0 0 1em 0;
margin-bottom: 1em;
font-family: 'Verdana', Arial, Helvetica, sans-serif;
font-size: 60%;
background-color: #000153;
color: #333;
}
#button ul {
list-style: none;
margin: 0;
padding: 0;
border: none;
}
#button li {
border-bottom: 1px solid #00014F;
margin: 0;
}
#button li a {
display: block;
padding: 5px 5px 5px 0.5em;
border-left: 5px solid #2C2455;
border-right: 5px solid #000153;
background-color: #332C63;
color: #fff;
text-decoration: none;
width: 100%;
}
html>body #button li a {
width: auto;
}
#button li a:hover {
border-left: 5px solid #0E3478;
border-right: 5px solid #483D8B;
background-color: #FFFFFF;
color: #332C63;
}
#footer{
background-color:#564b47; 
width:750px;
height: auto;
} 
#footer h1 {
font-size: 11px;
text-transform:uppercase;
text-align: right;
color: #FFFFFF;
background-color: #4E4C5C;
padding:5px 10px;
margin:0px
}
Any help would be greatly appreciated!
__________________
Me: "Sir, do you have a firewall?"

EU: "Yeah, between the house and the garage . . ."
Granwalla is offline
Reply With Quote
View Public Profile
 
Old 09-19-2006, 03:44 PM Re: IE 7 ate my layout!
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
First thing you need to do is clear your floats, then your white box will show up.
http://css-discuss.incutio.com/?page=ClearingSpace

Several other things you need to address.
- do not use heading tags for your normal text. An entire page cannot be a heading. Specify your font sizing in your CSS file. This will also eliminate those nasty <font> tags.
- don't use <center> - it's deprecated and you can center the layout using CSS
- don't use <br>s for spacing, use your CSS
-watch your nesting of elements, you've go several things in there that are incorrectly nested
- check that all your divs are closed in proper order, it appears you have an extra div in your code at the end.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to IE 7 ate my layout!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.88713 seconds with 12 queries