Changing CSS defaults


Recommended Posts

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

Whatever&lt;br /&gt;Whatever2&lt;br /&gt;&lt;br /&gt;Whatever3

Opera

&lt;p&gt;Whatever&lt;/p&gt;&lt;p&gt;Whatever2&lt;/p&gt;&lt;p&gt;?&lt;/p&gt;&lt;p&gt;Whatever3&lt;/p&gt;

In other words, I want Opera's <p>text</p> to Firefox text<br />

Link to comment
Share on other sites

Getting a new paragraph when hitting "Enter" is correct behaviour. Try holding hitting shift+enter instead, as this usually forces a line-break.

Link to comment
Share on other sites

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

Test1&lt; br&gt;Test2&lt; br&gt;&lt; br&gt;&lt;p&gt;Test3&lt;/p&gt;&lt;p&gt;Test4&lt;/p&gt;&lt;p&gt;&lt; br clear="all"&gt;&lt;/p&gt;

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

&lt;p&gt;Test1&lt;br&gt;Test2&lt; br&gt;&lt; br&gt;Test3&lt; br&gt;&lt;/p&gt;&lt;p&gt;Test4&lt;/p&gt;&lt;p&gt;&lt; br clear="all"&gt;&lt;/p&gt;

Firefox, just started typing. Test1 [shift enter] Test2 [shift enter][shift enter] Test3 [enter] Test4

Test1&lt; br&gt;Test2&lt; br&gt;&lt; br&gt;Test3&lt; br&gt;Test4&lt; br clear="all"&gt;

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.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.