Forum Moderators: not2easy

Message Too Old, No Replies

How can I make updating the text easier?

         

chriscross

10:35 pm on Jun 21, 2008 (gmt 0)

10+ Year Member



I'm currently designing a website using CSS for the first time. I started off with a visual design program and now I'm modifying the code to better suit my client's needs. The problem I have is that the text is very difficult to modify. The site's URL is:<snip>
If you see the source code, there is a <br> tag after every line. Is there any simple modification to my code that could make updating the text easier?

[edited by: engine at 8:14 am (utc) on June 22, 2008]
[edit reason] no urls, please post code [/edit]

StoutFiles

11:24 pm on Jun 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can't post the link, remove it.

chriscross

11:45 pm on Jun 21, 2008 (gmt 0)

10+ Year Member



Feel free to correct me if I'm wrong, but I can't find any rule against posting a link related to the question. I really need help with this, so please consider the question.

Xapti

1:13 am on Jun 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's in the rules. no posting personal URLs. This is for two main reasons: so that people don't inadvertly (or intentionaly) advertise, as well as that people who get the problem in the future will be able to see the code with the problem, and not just a broken link, or a link to a site which has the problem fixed.

lavazza

5:57 am on Jun 22, 2008 (gmt 0)

10+ Year Member



Is there any simple modification to my code that could make updating the text easier?

As the link is still there in the OP, but will be removed - for the reasons outlined by Xapti - I have had the opportunity to see the current source code and, frankly, it's a mess

My recommendation: copy the text from the relevant pages (as displayed in a regular browser) and paste into a text editor and start afresh

Alternatively, if you're hell bent on recycling the mess, use a simple FIND AND REPLACE:
Find: <br>
Replace with: ABSOLUTELY-NOTHING-NOT-EVEN-A-SPACE

swa66

7:00 am on Jun 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's generated code, fixing it will indeed be a nightmare task.

As for the link: check the sticky posts as for the reason why we don't post links. I'm pretty sure a moderator will remove it soon.