Groups > Browsers > Opera Browser Technical topics > Re: <br/> does not work?




<br/> does not work?

<br/> does not work?
Thu, 6 Mar 2008 08:44:14 -0800
Hello all,

I am totally surprised to see Opera 9.25 / Win32 totally ignore br
tags (it simply continues the line as if the tag was not there). See
for example the one-paragraph test page http://www.von-eitzen.de/dummy.html
This is valid XHTML 1.0 strict, no CSS, no javascript.

What am I missing?

Thanks in advance,
Post Reply
Re: <br/> does not work?
Thu, 06 Mar 2008 17:00:26 -000
On Thu, 06 Mar 2008 16:44:14 -0000, hagman <google@von-eitzen.de> wrote:

> I am totally surprised to see Opera 9.25 / Win32 totally ignore br
> tags (it simply continues the line as if the tag was not there). See
> for example the one-paragraph test page  
> http://www.von-eitzen.de/dummy.html
> This is valid XHTML 1.0 strict, no CSS, no javascript.
>
> What am I missing?

No idea, but I tried it in various versions of Opera and they all  
displayed the text over four lines. I tried both Author and User CSS  
modes, as well as fit-to-width mode and handheld mode.

So unless you have a user stylesheet being applied or a proxy of some kind  
is stripping out the tags, I can't see why they're being ignored for you.  
Could you be serving the page with a generic XML MIME type which is  
causing Opera to just see the <br /> tag as an unstyled inline element  
Post Reply
Re: <br/> does not work?
Fri, 7 Mar 2008 06:38:05 -0800
On 6 Mrz., 18:00, Eik <s...@hotmail.com> wrote:
> On Thu, 06 Mar 2008 16:44:14 -0000, hagman <goo...@von-eitzen.de>
wrote:
> > I am totally surprised to see Opera 9.25 / Win32 totally ignore br
> > tags (it simply continues the line as if the tag was not there). See
> > for example the one-paragraph test page
> >http://www.von-eitzen.de/dummy.html
> > This is valid XHTML 1.0 strict, no CSS, no javascript.
>
> > What am I missing?
>
> No idea, but I tried it in various versions of Opera and they all
> displayed the text over four lines. I tried both Author and User CSS
> modes, as well as fit-to-width mode and handheld mode.
>
> So unless you have a user stylesheet being applied or a proxy of some kind
> is stripping out the tags, I can't see why they're being ignored for you.
> Could you be serving the page with a generic XML MIME type which is
> causing Opera to just see the <br /> tag as an unstyled inline
element
> rather than applying the default styling for known XHTML elements?

D'oh!
Somebody felt funny and has checked "remove line breaks" ...
Post Reply
about | contact