Computer Hope

Internet & Networking => Web design => Topic started by: levinyakov on May 09, 2006, 08:55:04 AM

Title: Why can't I see my main <div>?
Post by: levinyakov on May 09, 2006, 08:55:04 AM
On this page of my website:

http://www.asc-net.com/web/company/

When you come for the first time, or refresh,

and the screen is smaller than the navbar,

the main div doesn't appear until you resize the screen bigger than the nav bar???

The navbar is float:left and the <div id="overall"> is absolute,

Does anyone have an idea???  Any help is appreciated.

Sincerely, Yakov.
Title: Re: Why can't I see my main <div>?
Post by: Rob Pomeroy on May 09, 2006, 12:40:07 PM
Absolutely no idea, but it works fine in Firefox!
Title: Re: Why can't I see my main <div>?
Post by: levinyakov on May 11, 2006, 03:13:03 AM
Hi Rob,

I was hoping you would be online.  I took the width off the navbar and everything started to scroll again.

Problem:  The main div is absolute so the navbar 'wraps' underneath the man div.

As of now I made the Navbar absolute and took off the float:left, if you have any suggestions or ideas that could keep the float:left or not use a absolute...
Title: Re: Why can't I see my main <div>?
Post by: Rob Pomeroy on May 12, 2006, 06:09:35 AM
I'm sorry, but you have hit precisely the kind of browser incompatibility that sends me back to using tables for layout.  I know that some people get very hot under the collar when you do that, but support for tables is better and more consistent than support for CSS - especially when it comes to floats, overflows, etc.

Whilst I'm looking at your website, there's one thing that I've noticed that is slightly irritating (sorry)!  You knwo when you hoever over the menu items?  The tab changes from having rounded corners at the top to having 90 degree corners.  Maybe not everyone would notice that...