Menu
Hi,
on my home page:
[url]http://www.foremostgroups.com/dev/2007corporate/index.html
there are image links on the right hand side (kitchen&bath, indoor, etc…) and other links on the bottom (corporate info, global sourcing, etc…).
in IE6, whenever the user hovers over the right hand side links, a few of the bottom links disappear, even after I set the z-indexes of these items.
Can anyone see why this is?
Haven’t tested on Mac yet, but on Windows, it looks fine in IE7 and FF2.
Thanks for any help.
<!-- MAIN CONTENT -->How many more times do you expect to re-write [I][B]class="justify"[/B][/I]? By simply stating thus:
<div id="[B]main_content[/B]" style="overflow:hidden; height:auto; border:2px solid red;">
<!-- Foremost Corporate Info -->
<h2>Careers with Foremost</h2>
<img src="images/careers.jpg" alt="Foremost Groups Careers" class="border9ab3bc" style="float:right; margin-left:15px; margin-bottom:5px" />
<!-- Site main content -->
<p [B]class="justify"[/B]>Foremost is a U.S. based international company with a permanent commitment to serving North America, Europe, and Asia through our corporate presence and to bringing the strength of our global resources to work for the benefit of our customers.</p>
<p [B]class="justify"[/B]>Through careful management of the design, manufacturing, and distribution of all items we produce and import, we create a "Dynamic Synergy" that gives our customers unparalleled value, quality, and service.</p>
<p [B]class="justify"[/B]>Foremost is light-years ahead of its competition in providing customized services that enable us to produce and deliver better products more quickly, economically, and efficiently, and with the highest level of customer satisfaction.Our Global Design Center can create innovative and exciting new product designs to your custom specifications virtually overnight. Our Logistics and Global Supply-Chain Management Center saves you money and time by helping keep your product storage and inventory positions as low as possible, and by offering "Just-In-Time" or on-demand delivery.</p>
<p [B]class="justify"[/B]>Our well-trained and highly professional Customer Service Representatives strive for 100% satisfaction on every customer contact. We invite you to explore our web site and discover how Foremost's "Dynamic Synergy" of innovative design, superior products, and exceptional service results in greater opportunities for you, and greater satisfaction for our customers. For all positions, competitive salary, along with dental and health benefits are provided.</p>
</div>
<!-- END MAIN CONTENT -->[/QUOTE]
[code=html]<div id="container1" style="text-align:center;"><!-- obviously you could (and should) put these styles into the CSS file -->
<div id="container2" style="margin: 0 auto;">
...content...
</div>
</div>
[/code]
<div id="footer_links_div">
<ul id="footer_links_ul">
<li class="footer_legal_notice"><a href="legal_notice.html" class="footer">Legal</a> <span class="copyright">|</span> <a href="privacy_notice.html" class="footer">Privacy Notice</a></li>
<li class="footer_copyright"><span class="copyright">Copyright © 2007 Foremost Groups Inc. All rights reserved.</span></li>
<li class="footer_site_map"><a href="site_map.html" class="footer">Site Map</a></li>
</ul>
</div>[/QUOTE]
<ul id="footer_links_div" style="margin:15px auto; height:19px; width:100%;">
<li style="width:22%; display:inline; float:left;">
<a href="legal_notice.html" class="footer" style="width:32%;padding-left:10px;">Legal</a> <span class="copyright">|</span> <a href="privacy_notice.html" class="footer">Privacy Notice</a></li>
<li style="width:55%; display:inline; float:left; text-align:center; padding-left:20px;"><span class="copyright">Copyright © 2007 Foremost Groups Inc. All rights reserved.</span></li>
<li style="width:18%; display:inline; float:left;text-align:right;padding-right:10px;"><a href="site_map.html" class="footer">Site Map</a></li>
</ul>[/QUOTE]
i figured that all elements should have their own div container... is that a misconception?[/QUOTE]
<div style="width:auto; height:100px;">(and some STYLE to reduce this 'inline'). This makes more sence than:
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" />
</div>[/QUOTE]
<div style="width:auto; height:100px; float:left;">the main difference being (apart from less redundant code), the "float:left;" would go on the container, not the individual images, to make them be "horizontally aligned".
<img src="#" style="width:200px; height:100px; /></div>
<div style="width:auto; height:100px; float:left;">
<img src="#" style="width:200px; height:100px;" /></div>
<div style="width:auto; height:100px; float:left;">
<img src="#" style="width:200px; height:100px;" /></div>
<div style="width:auto; height:100px; float:left;">
<img src="#" style="width:200px; height:100px;" /></div>
[/QUOTE]
yeah, i wish i could make my css 'less'.....[/QUOTE]From my previous example:
<div style="width:auto; height:100px;">Let give the DIV an [I]id[/I] and move it's STYLE to a CSS sheet:
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" />
</div>[/QUOTE]
<div id="pic-holder">And the CSS is:
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" />
<img src="#" style="width:200px; height:100px; float:left;" /></div>
[/QUOTE]
#pic-holder {width:auto; height:100px;}[/QUOTE]
<div id="pic-holder">and the CSS is now just:
<img src="#" />
<img src="#" />
<img src="#" />
<img src="#" />
</div>[/QUOTE]
#pic-holder {width:auto; height:100px;}So what we have, is complete seperation of the 'presentation' (the CSS: what makes it look the way it does), from the 'content' (the HTML). This reduced the page-weight. Applied consistantly, the saving of page-size can really add up. And 'bots/spider having to not wade-through inline and same-page STYLE, can read 'deeper' into your page, searching for indexable content. This improves ranking and search results. The supposed 'max' the CSS should be, is 10% of the HTML. More than that, there are redundancies or over-stating/re-stating when a value is actually inherited anyway. Re-stating is not an error, -but it is bloat.
#pic-holder img {width:200px; height:100px; float:left;}[/QUOTE]
0.1.9 — BETA 6.17