Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 10th, 2007, 11:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default Hack for IE7

Hi there

I've got a web page that I'm laying out - http://www.adclweb.com/dev/st-allround

The menu is a table within a layer. The menu looks fine in Mozilla and IE6 but it's not happy in IE7 where it goes off the page to the right.

This is my style for the menu and I'm using a hack for IE6 but can anyone help me for IE7?

#menu {
    width: 570px;
    position:relative;
    top:108px;
    z-index: 3;
    left: 165px;

}


* html #menu{ /*IE 6 only */
left: 90px; }

thanks

Adam

 
Old January 10th, 2007, 11:11 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

apologies, this is my css code:

#menu {
    width: 570px;
    position:relative;
    top:108px;
    z-index: 3;
    left: 165px;
    display:inline;
    text-align:left;
}


* html #menu{ /*IE 6 only */
left: 90px; }

 
Old January 10th, 2007, 05:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

sorry, url is http://www.adclweb.com/dev/st-allround/index.html

 
Old January 21st, 2007, 02:00 PM
Authorized User
 
Join Date: May 2006
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to kaos_frack
Default

you're finding your mistakes...
maybe after some time you can find the solution too...

 
Old January 23rd, 2007, 10:02 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

handy advice





Similar Threads
Thread Thread Starter Forum Replies Last Post
z-index and ie7 fredzbooks BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 August 25th, 2007 07:44 AM
Explorer 7.0 Beta2 hack? claireos BOOK: Professional CSS: Cascading Style Sheets for Web Design 0 February 2nd, 2006 12:58 PM
IE Hack needed for form position DanDan CSS Cascading Style Sheets 0 January 22nd, 2005 06:35 PM
IE7 0.7 Snib HTML Code Clinic 2 July 29th, 2004 09:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.