Div img display IE6 raaarrgh!!!!

This is a discussion on "Div img display IE6 raaarrgh!!!!" within the Web Page Design section. This forum, and the thread "Div img display IE6 raaarrgh!!!! 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 Feb 26th, 2007, 22:07
frinkky's Avatar
Design Admin
Join Date: Oct 2006
Location: Southampton
Age: 30
Posts: 271
Blog Entries: 2
Thanks: 2
Thanked 2 Times in 2 Posts
Send a message via MSN to frinkky Send a message via Skype™ to frinkky
Div img display IE6 raaarrgh!!!!

Ahoy hoy,

Could someone have a quick look at this: storm-wind.com/clients/blrch/index.html

I have a 3 divs representing a top graphic, a repeating mid graphic and a foot graphic all wrapped in another div (twice actually, once for the background and one for the nav bar) and in both one of the div's is separated from the others - only in IE6 though. In FF it displays as it should. I've done some research and tried things like vertical-align: bottom; and display: block; yada yada but to no avail (also IE6 is not obeying my text-decoration commands!!! EDIT: it is obeying correctly when live, just not viewing it locally).

Oh, both xhtml & css vaildate.

Any help would be greatly appreciated. I'd be happy to buy whoever can help me solve this a virtual pint!!! (or a cookie, whatever really).

Cheers

Frinkky
Last Blog Entry: Fobriwap! (Mar 10th, 2008)

Last edited by frinkky; Feb 26th, 2007 at 22:15.
Reply With Quote

  #2 (permalink)  
Old Feb 26th, 2007, 22:38
Junior Member
Join Date: Jan 2007
Location: philly
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Div img display IE6 raaarrgh!!!!

I thought I had css ie issues. This would drive me crazy. I'm new to this so I'm sorry I can't be of much help. I did have a question while looking at the xhtml. What purpose does the "empty" divs serve? navbartop, navbarbottom, and fadebottom. Really good design by the way. It's very easy on the eyes.
Reply With Quote
  #3 (permalink)  
Old Feb 26th, 2007, 22:59
frinkky's Avatar
Design Admin
Join Date: Oct 2006
Location: Southampton
Age: 30
Posts: 271
Blog Entries: 2
Thanks: 2
Thanked 2 Times in 2 Posts
Send a message via MSN to frinkky Send a message via Skype™ to frinkky
Re: Div img display IE6 raaarrgh!!!!

Cheers dawg. I call those divs in css to put in images, etc. I'll post the code so you can see, and also so any real experts can point out my mistakes

As it happens, I've found an interim solution (it seems to be a nasty hack of soghts though) by having 2 css files, one for ie6 only that uses negative margins on the offending items - in fact so you can see, i'll post that one. The other file, for FF just has margin: 0; as it should be.

Code: Select all
* {
padding: 0;
margin: 0;
}
body {
background-color: #FFFFFF;
color: #8a8c6b;
margin: 0;
font-family: small, Arial, Helvetica, sans-serif;
font-size: 100.01%;
}
#wrapper {
width: 750px;
margin: 0 auto;
padding: 0;
}
#bl_logo_top {
width: 750px;
height: 105px;
margin: 0;
padding: 0;
background-image: url(../images/bl_logo_top.jpg);
background-repeat: no-repeat;
}
#fadetop {
width: 660px;
height: 136px;
margin: 0;
padding: 20px 70px 0 20px;
background-image: url(../images/top_bg.jpg);
background-repeat: no-repeat;
float: left;
}
#innerwrapper {
width: 695px;
margin: 0 0 -170px 0;
padding: 0 50px 0 5px;
background-image: url(../images/mid_bg.jpg);
background-repeat: repeat-y;
float: left;
}
#fadebottom {
width: 695px;
height: 170px;
margin: 0;
padding: 0 50px 0 5px;
background-image: url(../images/bot_bg.jpg);
background-repeat: no-repeat;
float: left;
}
#navbarwrapper {
clear: both;
width: 159px;
}
#navbartop {
width: 159px;
height: 13px;
background-image: url(../images/navbar_top.jpg);
background-repeat: no-repeat;
margin: 0 0 -12px 0;
padding: 0;
vertical-align: bottom;
}
#navbarmid {
width: 159px;
margin: 0;
padding: 0;
font-size: 0.76em;
line-height: 31px;
background-image: url(../images/navbar_mid.jpg);
background-repeat: repeat-y;
}
#navbarmid ul, li {
width: 145px;
margin: 0 0 0 7px;
padding: 0;
color: #8a8c6b;
text-align: left;
list-style-type: none;
}
#navbarmid a:link, #navbar a:visited {
text-decoration: none;
color: #660000;
}
#navbarmid a:hover {
text-decoration: underline;
}
#navbarbot {
width: 159px;
height: 17px;
margin: 0;
padding: 0;
background-image: url(../images/navbar_bot.jpg);
background-repeat: no-repeat;
}
Last Blog Entry: Fobriwap! (Mar 10th, 2008)
Reply With Quote
Reply

Tags
vertical, img, ie6, div, align

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
Status Bar Display Brakers Starting Out 0 Jul 22nd, 2007 14:04
Wrong Display In IE DDock3287 Web Page Design 16 Jun 8th, 2007 22:22
IE6 display:none issues oldgreymare Web Page Design 2 Jan 5th, 2007 20:45
cannot display, help. Ascalon Web Page Design 3 May 18th, 2006 02:51
display:block benbacardi Web Page Design 4 Apr 21st, 2004 19:40


All times are GMT. The time now is 21:11.


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