[SOLVED] Drop down shadow viewing badly out of place in IE6

This is a discussion on "[SOLVED] Drop down shadow viewing badly out of place in IE6" within the Web Page Design section. This forum, and the thread "[SOLVED] Drop down shadow viewing badly out of place in IE6 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 Dec 21st, 2007, 15:47
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 269
Thanks: 2
Thanked 0 Times in 0 Posts
Red face [SOLVED] Drop down shadow viewing badly out of place in IE6

Hi,
I have a drop down shadow under my navigation bar that appears out of place when viewing in IE6. IN the CSS I changed margin-top: 26.px; to
margin-top: 25.1px; so that it is viewing ok in both IE7 & Fire Fox, but the shadow is still way out in IE6.

Cheers!

I have broken up the URL so people doing a search for my site don't get taken to this page.

www. capoeira canal .co.uk
Reply With Quote

  #2 (permalink)  
Old Dec 21st, 2007, 16:04
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,012
Blog Entries: 2
Thanks: 5
Thanked 23 Times in 20 Posts
Send a message via Skype™ to Aso
Re: Drop down shadow viewing badly out of place in IE6

Get rid of the shadow div and add this declaration in your CSS
Code: Select all
#nav {
background: url("shadow.gif") repeat-x bottom left;
padding-bottom: 6px;
overflow: auto;
width: 100%;
}
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
  #3 (permalink)  
Old Dec 21st, 2007, 16:04
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Drop down shadow viewing badly out of place in IE6

You can hack CSS so only IE6 sees it.

* html #id {
Only IE6 sees this
}

replace #id with what you need.

(But I recommend aso186's way. No hacks )
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
Reply With Quote
  #4 (permalink)  
Old Dec 21st, 2007, 16:22
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 269
Thanks: 2
Thanked 0 Times in 0 Posts
Re: Drop down shadow viewing badly out of place in IE6

aso186,

It even sits better better in IE7 & FF now, I haven't been able to check it out on IE6 But I am sure it has done the trick.

You guys are good! thanks again!
Reply With Quote
  #5 (permalink)  
Old Dec 21st, 2007, 16:30
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 269
Thanks: 2
Thanked 0 Times in 0 Posts
Re: Drop down shadow viewing badly out of place in IE6

I recently had the site W3C validate and tidied up my site since then I have noticed

two sets of character encodings, which one should I be using please?

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

Thanks
Reply With Quote
  #6 (permalink)  
Old Dec 21st, 2007, 19:01
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,012
Blog Entries: 2
Thanks: 5
Thanked 23 Times in 20 Posts
Send a message via Skype™ to Aso
Re: Drop down shadow viewing badly out of place in IE6

It's down to you, but I use UTF-8. If this sorts things for you then you can mark the thread as 'solved' using the 'thread tools' at the top
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
Reply

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
Trying a drop shadow design, IE won't let me. Henrik Hansen Web Page Design 7 Sep 26th, 2007 18:29
CSS drop shadow effects with images wickedmoon Web Page Design 2 Aug 26th, 2007 22:01
Expanding background drop shadow konnor5092 Web Page Design 1 Feb 22nd, 2007 07:39
drop shadow?? karloff Graphics and 3D 7 Aug 4th, 2006 14:08
Drop Shadow w/fireworks liquid Graphics and 3D 4 Dec 24th, 2003 09:15


All times are GMT. The time now is 03:22.


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