You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

Left column (menu column) won't display in Firefox, but does so in IE.

They have: 1 posts

Joined: Jan 2009

Here is the code for my left column which shows up in IE but not in Firefox. Can anyone help me?

<div id="leftcolumn" style="border-color: #C0C0C0; border-style: ridge; position: relative; width: 200px; height: 685px; z-index: 2; float: left; background-color: #800000; color: #FFFF99; font-size: large; left: 0px; top: 0px;" class="style1">
<br />

Thanks.

{mod edit: added code tags}

He has: 670 posts

Joined: Jul 2005

You seem to have actually forgotten the code...

decibel.places's picture

He has: 1,550 posts

Joined: Jun 2008

you need to enclose code in <code> </code> tags
(third icon from the right in the toolbar)

it's also really helpful to provide a URL, or attach an html file

decibel.places's picture

He has: 1,550 posts

Joined: Jun 2008

There does not appear to be anything wrong with that code snippet, works in Firefox and IE

I hope you remember to close the </div> tag

also, you are better off using a stylesheet rather than all those inline styles

in your stylesheet, do you have any definitions for class="style1" or id="leftcolumn"?

I would hazard a guess that the div is perhaps covered by another element?

it would still be really helpful to provide a URL, or attach an html file