Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

HTML - displaying text to fit browser width

Thread Tools
 
Search this Thread
 
Old 28 November 2004, 11:41 AM
  #1  
druddle
Scooby Regular
Thread Starter
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Default 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
Old 28 November 2004, 11:49 AM
  #2  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

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...
Old 28 November 2004, 11:55 AM
  #3  
druddle
Scooby Regular
Thread Starter
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Default

Spot on. Cheers Iain.

Dave
Related Topics
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



Quick Reply: HTML - displaying text to fit browser width



All times are GMT +1. The time now is 04:26 PM.