Gå til innhold

Hvordan fikse linjeskift i firefox.


Anbefalte innlegg

Holder for tiden på med å lage en hjemmeside til klanen min.

Problemet er at jeg i firefox ikke får linjeskift, Mens i explorer og opera er det ikke noe problem.

 

Derfor lurer jeg på hvordan jeg skal få linjeskift i en tekst i firefox også.

 

Som dere sikkert skjønner er jeg totalt nybegynner på dette feltet.

 

Edit: Formulerte litt annerledes.

Endret av BiaZ
Lenke til kommentar
Videoannonse
Annonse
linjeskift oppnåes vel somregel med <br> eller <br/> om du bruker xhtml(tviler nå på det)

ellers er det en idè å bruke <p>teksten min</p> for å danne paragrafer.

 

EDIT: sån skjer når man åpner alle forumene først, og så svarer til slutt :s

Har brukt <br> <br/> Men det funker kun i Explorer og Opera. Bruker ikke xhtml. Thx for svar...

Lenke til kommentar
Få se sammenhengen, da:)

Slik har jeg skrevet det:

 

<td width="84" height="501"> </td>

<td width="390" valign="top"><p class="style4">The History of Northern-Saints</p>

<P class="text_" style="TEXT-ALIGN: justify">

Northern-Saints is a clan that developed from Beyond the Light,

former clan.

We were 4 members from Beyond the Light who found out that

we could use a change of scenery. aZec (now known as murdoch),

BiaZ, Pryzer and DayWa|ker (now known as Quintas).

We are a friends from a place in Northern Norway called Tromsø.

We found out that we did not want to have any outsiders in our clan,

so we agreed to start a new clan with three more members. also friends.

They were IceW0lf, Madusius and Undique.

<br><b>

</br></b>

 

 

As to the name of the clan, we all digged the movie "The Boondock Saints",

and we could not just take that name. So we figured out that since we were

in Northern Norway, we could call us the Northern-Saints.

<br><b>

</br></b>

 

We started playing in March 2004.

When the summer came everybody got a little bit tired of Counter-Strike,

so we came to the conclusion that we should take a brake. The brake did

us good, we came back stronger than ever. With a new player. Bendl is a

little brat with an amasing aim, a rising star. So we took the job of

teaching him the basic rules of team playing. He was in the linup we had

for the NaIT party, along with BiaZ, Madusius, murdoch and Quintas.

We finished 6th at the NaIT party, with a bit of unluck.

We made fools out of our selfs, managed to loose a

game we were almost certain to win. Againts the former players of

Catch-Gamers. <br><b>

</br></b>

 

Now we are planning on joining the Counter-Strike Norwegian Leage (CSNL).

And so the champions of the Norht continues on their way to the TOP. <br><b></br></b></P>

 

 

 

Som sagt, funker kun i opera og explorer.

post-76-1108571190_thumb.jpg

Endret av BiaZ
Lenke til kommentar

Dette er egentlig avsnitt så du skal bruke <p> og ikke <br>.

 

Så det blir slik:

<td width="390" valign="top" class="text_" style="text-align: justify"><h2 class="style4">The History of Northern-Saints</h2>
<P>
Northern-Saints is a clan that developed from Beyond the Light,
former clan.
We were 4 members from Beyond the Light who found out that
we could use a change of scenery. aZec (now known as murdoch),
BiaZ, Pryzer and DayWa|ker (now known as Quintas).
We are a friends from a place in Northern Norway called Tromsø.
We found out that we did not want to have any outsiders in our clan,
so we agreed to start a new clan with three more members. also friends.
They were IceW0lf, Madusius and Undique.
</p>

<p>
As to the name of the clan, we all digged the movie "The Boondock Saints",
and we could not just take that name. So we figured out that since we were
in Northern Norway, we could call us the Northern-Saints.
</p>
<p>
We started playing in March 2004.
When the summer came everybody got a little bit tired of Counter-Strike,
so we came to the conclusion that we should take a brake. The brake did
us good, we came back stronger than ever. With a new player. Bendl is a
little brat with an amasing aim, a rising star. So we took the job of
teaching him the basic rules of team playing. He was in the linup we had
for the NaIT party, along with BiaZ, Madusius, murdoch and Quintas.
We finished 6th at the NaIT party, with a bit of unluck.
We made fools out of our selfs, managed to loose a
game we were almost certain to win. Againts the former players of
Catch-Gamers. </p>

<p>
Now we are planning on joining the Counter-Strike Norwegian Leage (CSNL).
And so the champions of the Norht continues on their way to the TOP. </P>

 

Jeg har her også lagt litt av cssen over i tden slik at du slipper å få det på alle p-elementene.

Grunnen til at <br>-ene dine funker er nok også det at du har satt </br> som egentlig betyr slutt på <br>. Dette ser utrolig nok ut til å fungere som linjeskift i IE, mens firefox gjør det rett og bare viser et linjeskift (den først <br>-en)

Lenke til kommentar

Mikka: Hva har   med linjeskift å gjøre?

 

BiaZ: Jeg sliter litt med å forstå følgende kodesnutt:

<br><b>
</br></b>

 

Her har du, foruten å ha slutta tagger i feil rekkefølge, også lagt til en tag som ikke finnes, nemlig </br>. Hva <b> (bold tekst - utdatert tag?) har med sammenhengen å gjøre har jeg også vanskelig for å forstå.

Lenke til kommentar
Mikka: Hva har   med linjeskift å gjøre?

 

BiaZ: Jeg sliter litt med å forstå følgende kodesnutt:

<br><b>
</br></b>

 

Her har du, foruten å ha slutta tagger i feil rekkefølge, også lagt til en tag som ikke finnes, nemlig </br>. Hva <b> (bold tekst - utdatert tag?) har med sammenhengen å gjøre har jeg også vanskelig for å forstå.

Som sagt. Jeg har ikke peiling på html og css. Er ikke jeg som har skrevet kodene, jeg har bare lagd en fisk, noen bilder og buttons til siden + at jeg har fylt inn tekst.

Resten har en annen lagd.

Ergo: Jeg har ikke peiling på hvorfor de er der.

Lenke til kommentar
Mikka: Hva har   med linjeskift å gjøre?

Det er ei stund siden jeg har holdt på med BR-opplegg nå, men jeg mener å huske at i visse situasjoner må du ha noe på hver linje for at det skal fungere å bryte linjen på nytt og dermed lage et "opprom" (i form av en tom linje). Du kunne like gjerne satt et punktum.

 

Bare skyt hvis dette er feil. :)

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...