Couple of comments:
Can't really test this without seeing the rest of the code, but some ideas:

• You shouldn't be using the same ID as a class. An ID is meant to be unique to a single item - a class name can be (and often is) shared amongst many items.
• The problem may be in the H2 inside the DIV. It's display type is block by default, so add this to your stylesheet:
DIV .PageHeadingLeft.H2{display:inline;}
• the width:20% may also cause problems (possibly), try omitting it and see what happens.
• the <BR> is gonna make life very difficult. To pull this off you may have to specify a fixed height (in em units perhaps)
• Try using float:left instead of display:inline - It should be easier to get working properly.

Phil.

Neven MacEwan wrote:
Hi

I have a web site, I'm in the porcess of 'de-framing', 'de-tabling' and 'ajaxing' (hidden frames were used to do hidden submits) but am puzzled by firefox v explorer behaviour

ie I am using divs to align things and have a series of divs across the top of a page

<DIV id="PageHeadingLeft" class="PageHeadingLeft"><H2> Acc No: 2882<BR>KUMEU ALUM - Merv Test Account</H2></DIV>

the css for this is

DIV.PageHeadingLeft {
  vertical-align: middle;
  text-align: left;
  font-family: arial;
  display: inline;
  width: 20%;
  border: 0px solid black;
}

now the problem in firefox the following div breaks (ie it ignores the display: inline!) but ie respects it!

What should I do? (other than abandon divs and go back to tables!)

_______________________________________________
Offtopic mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/offtopic
  

No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.5/425 - Release Date: 8/22/2006


begin:vcard
fn:Phil Middlemiss
n:Middlemiss;Phil
org:Vision Software, MTS Ltd
email;internet:[EMAIL PROTECTED]
title:Project Leader
tel;work:+64 7 3480001
tel;cell:+64 27 4592648
x-mozilla-html:TRUE
url:http://www.tumonz.co.nz
version:2.1
end:vcard

_______________________________________________
Offtopic mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/offtopic

Reply via email to