|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Updating a site and again have stumbled upon a quirk between IE(7 specifically) and FF that I cannot seem to resolve.
Reef Village 2008 v1 In FF the "grey" content box is where it should be - aligned with the left of the Orange logo box and the bottom of the top blue band. In IE7 the "grey" box is to the right of the orange logo box when it is directly under the blue, but if you shift it to the align with the left of the logo box it is not directly under the blue band. Any ideas? Is there a way around this without resorting to IE conditionals?
__________________
Rob |
|
||||
|
It's a pretty simple fix.
HTML Code:
#logo {
float:left;
position:relative;
top: -102px;
margin-bottom:-164px;
}
#content_container {
background-color:#CCCCCC;
margin-left:3px;
height:400px;
clear:both;
}
The content container also has a 3 pixel left margin applied so that it aligns more precisely with the left edge of the logo. FYI: With this code, the logo div will rest above any text or images you place in the content area, so text will flow behind it. I'm assuming that your navigation menu will reside directly beneath the logo. If that's the case, you can use the following to constrain your paragraph text so that the main content stays to the right of it. HTML Code:
p {margin-left:230px; margin-right:20px;text-align:left;}
#logo {
float:left;
position:relative;
top: -102px;
margin-bottom:-164px;
}
#content_container {
background-color:#CCCCCC;
margin-left:3px;
padding-top:10px;
height:400px;
clear:both;
}
Enjoy!
__________________
. Printer ink & toner cartridges in Canada | Integrated Web Payroll, Online HRMS Tools with Employee Time & Attendance Last edited by Dubbya; 11-20-2008 at 11:27 AM. |
|
|||
|
mmmm looks good to me (IE
__________________
La Ruta Maya, My journey across Mesoamérica. Guatemala Guides My trips around Guatemala. |
|
|||
|
Wow... never even thought of a negative Margin
Nav will actually be to right of logo... Not sure on the utf8... DW defaults that into there... and i figured it did no harm... thanks for the help!!
__________________
Rob |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cross Browser? Its the same old same old | kula | Graphics & Design Discussion Forum | 0 | 04-24-2007 03:19 PM |
| Cross browser issues, part 2 | ADAM Web Design | Graphics & Design Discussion Forum | 3 | 06-29-2005 02:14 PM |
| Test Site - Macs & PC's, cross browser/resolution/et | matauri | Graphics & Design Discussion Forum | 32 | 09-07-2004 04:29 PM |
| Cross Browser Help | elso | Web Programming Discussion Forum | 5 | 07-26-2004 01:38 PM |
| AOL cross browser compatible? | twopooches | Graphics & Design Discussion Forum | 0 | 03-09-2004 06:36 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |