Help - Search - Members - Calendar
Full Version: Changing CSS defaults
Neowin Forums > Help & Discussion Center > Software Discussion & Assistance > Web Browser Discussion > Opera (Presto)
serious
Hey!
I'm just rounding up my main switch back to dear Opera 9.50b, having being lured to FF for a couple of months. However, using a rich formatting tool at a swedish blogg portal creates <p> tags when pressing enter instead of <br /> as in FF (which i find easier to read. The <p>-tag also brings other undesired design elements). I don't know how to describe it further (as i'm no good at coding), so I'll just post the code using 1. Firefox and 2. Opera

The same thing seems to go for Gmail as well.

Firefox
CODE
Whatever<br />Whatever2<br /><br />Whatever3


Opera
CODE
<p>Whatever</p><p>Whatever2</p><p> </p><p>Whatever3</p>


In other words, I want Opera's <p>text</p> to Firefox text<br />
Smokin-Joe
Getting a new paragraph when hitting "Enter" is correct behaviour. Try holding hitting shift+enter instead, as this usually forces a line-break.
The_Decryptor
Firefox shouldn't be doing that hmm.gif

But yeah, if you want a new line try shift-enter, if you want a new paragraph press enter (Exactly what Smokin-Joe said!)
serious
Thanks, that sorta does it... however, I seem to have to insert a beginning of a paragraph with a enter stroke and then go back.


Watch this (in Gmail):

Opera, without pressing enter at first; i.e. just started typing. Test1 [shift enter] Test2 [shift enter][shift enter] Test3 [enter] Test4
CODE
Test1< br>Test2< br>< br><p>Test3</p><p>Test4</p><p>< br clear="all"></p>

Opera, pressing enter at first, then go back up and start typing. [enter][arrow up]Test1 [shift enter] Test2 [shift enter][shift enter] Test3 [enter] Test4
CODE
<p>Test1<br>Test2< br>< br>Test3< br></p><p>Test4</p><p>< br clear="all"></p>

Firefox, just started typing. Test1 [shift enter] Test2 [shift enter][shift enter] Test3 [enter] Test4
CODE
Test1< br>Test2< br>< br>Test3< br>Test4< br clear="all">


However, I can live with that. I solved the blog "issue" by defining the <p>-tag, and now I actually prefer the freedom with <p> over being without it. Still, it's strange.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.