Forum Moderators: open
How do I make sure the text is wrapping?
If you have a fluid layout, you could try simply resizing your browser window? So that your BR's appear mid-line, not at the end. Does your last line of text completely fill the browser width? (Although it may be nothing to do with this?!)
Are you able to try your HTML code on it's own (no styles)? Do you still see this anomaly?
Just as an aside... is it possible to avoid using BR's altogether? BR's are generally not the prefered way to layout text, since it is not separating content from layout. With your text blocks in a <p>-block for instance, you can then alter the margins (in CSS) to control the space between them. Just a thought.
I recently updated (by hand, within my server's control panel file manager) over 1,500 pages of html.
Everything was fine -- I checked each page "live" and the code was just as I did it.
Then one day over a month later my pages had replaced ALL the double <br> codes with single <p> codes, which I NEVER used!
How on earth could this kind of site-wide code change have taken place? My server swears it never messes with client's web pages. But it is like some kind of bot went through and changed it all.
I'm soooo sad... it took me over 3 months of constant work to make the pages look great and now the code is scrunching all the lines of content together. :-(
Anyone have a clue?
YM
I recently updated (by hand, within my server's control panel file manager) over 1,500 pages of html.
The online editor in some web host control panels is really only intended for the occasional edit. Or may be a few pages if there is no other option. But anyway, I assume the option of downloading and editing offline was not available to you?
I have encountered strange things whilst using these online editors (eg. via cPanel) as they do try to be 'helpful' at times. However, this would be when the document is saved, not months later! cPanel 11, for instance, offers an editor, a code-editor and an html-editor and switching between them can be a tad confusing!
For double <br> codes to be converted to <p> tags sounds as if you were editing the pages via a CMS type system, rather than editing the source of the page directly?! This forum, for instance, will convert two carriage-returns into a <p> (but only when the page is output to the browser - the source of the post, as the user entered it, is still intact - I assume). Which is a reasonable assumption. In fact, depending your styles, <br><br> and <p> should at least display similar.
Otherwise I have never come across the actual source files of a website being changed in this way.
If the source files of your site have indeed been permanently changed, it might still be possible to recover the 'look' of your site by editing a site-wide stylesheet?