Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old February 26th, 2007, 06:07 PM   #1
Reputable Member
 

Join Date: Oct 2006
Location: Southampton
Age: 31
Posts: 356
Blog Entries: 2
Thanks: 2
Thanked 8 Times in 8 Posts
Rep Altering Power: 0 frinkky is on a distinguished road
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 edited by frinkky; February 26th, 2007 at 06:15 PM..
frinkky is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old February 26th, 2007, 06:38 PM   #2
New Member
 

Join Date: Jan 2007
Location: philly
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dawg9 is on a distinguished road
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.
dawg9 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old February 26th, 2007, 06:59 PM   #3
Reputable Member
 

Join Date: Oct 2006
Location: Southampton
Age: 31
Posts: 356
Blog Entries: 2
Thanks: 2
Thanked 8 Times in 8 Posts
Rep Altering Power: 0 frinkky is on a distinguished road
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:
* {
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;
}
frinkky is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
vertical , img , ie6 , div , align


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Your Design and Layout 0 July 22nd, 2007 10:04 AM
Wrong Display In IE DDock3287 HTML, XHTML and CSS 16 June 8th, 2007 06:22 PM
IE6 display:none issues oldgreymare HTML, XHTML and CSS 2 January 5th, 2007 04:45 PM
cannot display, help. Ascalon HTML, XHTML and CSS 3 May 17th, 2006 10:51 PM
display:block benbacardi HTML, XHTML and CSS 4 April 21st, 2004 03:40 PM


Search Engine Optimization by vBSEO 3.2.0 RC8