HighDots Forums  

IE7 Display:BLock and line breaks

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss IE7 Display:BLock and line breaks in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
obaqueiro
 
Posts: n/a

Default IE7 Display:BLock and line breaks - 03-27-2008 , 01:41 PM






Hello, if you look at this page:

http://playground.emanuelblagonic.co...op-down-menus/

Showing a menu and sub-menu web page in Firefox or Opera, the
submenues are shown vertically. This presumably because of the
display:block style which according to the css page (
http://www.w3schools.com/css/pr_class_display.asp ) :

"The element will be displayed as a block-level element, with a line
break before and after the element"


However, when you see the menu page with IE7, the submenus are
displayed incorrectly (horizontally). Is there a way to make it show
correctly?? I have tried with display:list-item and others but can not
achieve the desired effect (make it display vertically, like in
Firefox and Opera and presumably others).

Thank you,

Omar.

Reply With Quote
  #2  
Old   
David E. Ross
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-27-2008 , 05:58 PM






On 3/27/2008 10:41 AM, obaqueiro wrote:
Quote:
Hello, if you look at this page:

http://playground.emanuelblagonic.co...op-down-menus/

Showing a menu and sub-menu web page in Firefox or Opera, the
submenues are shown vertically. This presumably because of the
display:block style which according to the css page (
http://www.w3schools.com/css/pr_class_display.asp ) :

"The element will be displayed as a block-level element, with a line
break before and after the element"


However, when you see the menu page with IE7, the submenus are
displayed incorrectly (horizontally). Is there a way to make it show
correctly?? I have tried with display:list-item and others but can not
achieve the desired effect (make it display vertically, like in
Firefox and Opera and presumably others).

Thank you,

Omar.
Actually, IE7 displays the 1st level submenus horizontally (as you said)
but the 2nd level submenus (the subsubmenus) vertically.

The page is XHTML. Since I use only HTML, I haven't paid thorough
attention to threads in this newsgroup regarding XHTML. However, what I
have seen suggests that IE has problems rendering XHTML. I don't know
if this was corrected between IE6 and IE7.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.


Reply With Quote
  #3  
Old   
dorayme
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-27-2008 , 08:56 PM



In article <t6-dnZM8ObMwu3HanZ2dnUVZ_hadnZ2d (AT) softcom (DOT) net>,
"David E. Ross" <nobody (AT) nowhere (DOT) not> wrote:

Quote:
Actually, IE7 displays the 1st level submenus horizontally (as you said)
but the 2nd level submenus (the subsubmenus) vertically.

The page is XHTML. Since I use only HTML, I haven't paid thorough
attention to threads in this newsgroup regarding XHTML. However, what I
have seen suggests that IE has problems rendering XHTML. I don't know
if this was corrected between IE6 and IE7.
You have to serve XHTML as łtext/html˛ for both.

--
dorayme


Reply With Quote
  #4  
Old   
Sherman Pendley
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-27-2008 , 11:03 PM



ram (AT) zedat (DOT) fu-berlin.de (Stefan Ram) writes:

Quote:
dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> writes:
You have to serve XHTML as łtext/html˛ for both.

While XHTML 1.0 may be served as text/html, the
W3C requires XHTML 1.1 to be served as
application/xhtml+xml, if I remember correctly.
You do, but no version of IE will render XHTML when it's served according
to spec. And when it's served as text/html, IE uses its traditional HTML
parser, *not* an XML parser.

That's why XHTML it pointless - because the most common browser in use
today doesn't recognize it as such. All it sees is slightly broken HTML.
That being the case, the smart thing to do is to give it correctly served
and valid HTML instead.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net


Reply With Quote
  #5  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-28-2008 , 09:30 AM



On Fri, 28 Mar 2008, dorayme wrote:

Quote:
User-Agent: MT-NewsWatcher/3.5.1 (Intel Mac OS X)

You have to serve XHTML as ?text/html? for both.
Have a look at
http://www.smfr.org/mtnw/docs/Mime.h...sage_with_MIME
http://www.smfr.org/mtnw/docs/TextEncoding.html
if you want to include non-ASCII characters in your postings.

Internet Explorer will happily ignore the content-type
if only the “extension” is .html .
http://www.unics.uni-hannover.de/nht...nt-type.x.html

--
Bugs in Internet Explorer 7
http://www.unics.uni-hannover.de/nhtcapri/ie7-bugs


Reply With Quote
  #6  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-28-2008 , 10:39 AM



Andreas Prilop wrote:

Quote:
Internet Explorer will happily ignore the content-type
if only the “extension” is .html .
http://www.unics.uni-hannover.de/nht...nt-type.x.html

Okay, but IE still is not handling xhtml, this just should how badly
broken IE is and parses xhtml as bad html... All this does is give the
clueless that they can use xhtml because their page "display" in the IE
browser.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #7  
Old   
Eric B. Bednarz
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-28-2008 , 08:40 PM



"Jonathan N. Little" <lws4art (AT) central (DOT) net> writes:

Quote:
Andreas Prilop wrote:

Internet Explorer will happily ignore the content-type
if only the “extension” is .html .
http://www.unics.uni-hannover.de/nht...nt-type.x.html

Okay, but IE still is not handling xhtml, this just should how badly
broken IE is and parses xhtml as bad html...
If you send text/html, that should show how badly broken *all* UAs are,
parsing supposed SGML as arbitrary tag salad.

Quote:
All this does is give the
clueless that they can use xhtml because their page "display" in the
IE browser.
The clueless also tend to think they should send application/xhtml+xml
to Mozilla derivates with no particular reason

<http://www.mozilla.org/docs/web-developer/faq.html#accept>

--
Quote:
|| hexadecimal EBB
o-o decimal 3771
--oOo--( )--oOo-- octal 7273
205 goodbye binary 111010111011


Reply With Quote
  #8  
Old   
dorayme
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-28-2008 , 11:01 PM



In article
<Pine.GSO.4.63.0803281526580.23313 (AT) s5b004 (DOT) rrzn.uni-hannover.de>,
Andreas Prilop <prilop2008 (AT) trashmail (DOT) net> wrote:

Quote:
On Fri, 28 Mar 2008, dorayme wrote:

User-Agent: MT-NewsWatcher/3.5.1 (Intel Mac OS X)

You have to serve XHTML as ?text/html? for both.

Have a look at
http://www.smfr.org/mtnw/docs/Mime.h...sage_with_MIME
http://www.smfr.org/mtnw/docs/TextEncoding.html
if you want to include non-ASCII characters in your postings.
You saying my quote marks are not coming out right? I have checked the
MIME preference box just now in response and hopefully this will fix it.
First time anyone has said anything. But I will study the matter
further. Thank you.

(What's that about *Intel* Mac? I am still on PPC.)

--
dorayme


Reply With Quote
  #9  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-31-2008 , 09:05 AM



On Sat, 29 Mar 2008, dorayme wrote:

Quote:
User-Agent: MT-NewsWatcher/3.5.1 (Intel Mac OS X)
Content-Type: text/plain; charset=ISO-8859-1
Looks good now! But ISO-8859-1 contains no curly quotation marks.

Quote:
You saying my quote marks are not coming out right?
Yes. Here are some Latin-1 characters that usually make trouble
in Macintosh clients:

ą superscript 1 Ľ fraction 1/4 Đ D stroke đ d stroke
˛ superscript 2 ˝ fraction 1/2 Ţ Thorn ţ thorn
ł superscript 3 ľ fraction 3/4 Ý Y acute ý y acute
× multiply sign ¦ broken bar

--
Solipsists of the world - unite!


Reply With Quote
  #10  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: IE7 Display:BLock and line breaks - 03-31-2008 , 09:19 AM



On Sat, 29 Mar 2008, dorayme wrote:

Quote:
You saying my quote marks are not coming out right?
Yes. The following are typographical (curly) quotation marks:

“ double quotation mark 66
” double quotation mark 99
‘ single quotation mark 6
’ single quotation mark 9


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.