HTML - displaying text to fit browser width
#1
Scooby Regular
Thread Starter
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes
on
0 Posts
HTML - displaying text to fit browser width
Hello
I have a document that is a load of text that was copied from a Notepad file into Word. I have saved it as HTML, but when i preview it in a browser, I dont want to have to scroll across to see all the text as some of the lines are very long. I want the browser to "word wrap" the text to fit the width of the browser window.
Anyone know how to do this ? Tried importing it into Dreamweaver but as the doc is very large it wouldnt do it.
Dave
I have a document that is a load of text that was copied from a Notepad file into Word. I have saved it as HTML, but when i preview it in a browser, I dont want to have to scroll across to see all the text as some of the lines are very long. I want the browser to "word wrap" the text to fit the width of the browser window.
Anyone know how to do this ? Tried importing it into Dreamweaver but as the doc is very large it wouldnt do it.
Dave
#2
Scooby Regular
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes
on
0 Posts
Without seeing the html code it's difficult to say, but I'd say at a guess that your imported code has <pre> </pre> tags around it. Remove them and it should wrap ok...
Thread
Thread Starter
Forum
Replies
Last Post
Scott@ScoobySpares
Full Cars Breaking For Spares
61
11 January 2021 03:08 PM
JonMc
Subaru Parts
22
06 February 2016 09:50 PM
Scott@ScoobySpares
Full Cars Breaking For Spares
7
14 December 2015 08:16 AM
scoob1985
General Technical
6
20 November 2015 12:25 AM
blockhead
Subaru Parts
19
07 November 2015 11:50 PM