HTML - page width
Thread poster: Timothy Barton

Timothy Barton
Local time: 06:12
French to English
+ ...
Feb 2, 2005

The layout of pages on my website (see for example: http://www.geocities.com/itisme88/personal/nodoblatge.htm) looks horribly ugly on my widescreen laptop (as does the proz.com website, for that matter). The paragraphs are just to wide. I'm thinking about two options to sort it out. One would be the BBC approach (news.bbc.co.uk/sport) of leaving a wide blank on the right-hand side for users of wider screens.

I'm inclined to prefer the approach used by my university's website (www.uab.es (the English translation is mine!!!)) of having everything alligned down the middle. What's the neatest way of doing this in HTML?

Also, most pages don't seem to fully justify the text. I prefer the text fully justified. What do most people recommend?


 

Heinrich Pesch  Identity Verified
Finland
Local time: 08:12
Member (2003)
Finnish to German
+ ...
Use css-style-sheets Feb 3, 2005

P { font-family: Verdana,Arial;
font-size: 14px;
line-height: 110%;
text-indent: 2%;
text-align:justify;
margin-left: 2%;
margin-right: 2%;
}

Above an example, how the paragraph tag can be modified to justify the text. Look at some sites about html and css programming in English.
Or look at some examples of page layout that you like and try those with your own files. After all everything on the web is open for us to see and copy.
Regards

Heinrich


 

Sven Petersson  Identity Verified
Sweden
Local time: 07:12
English to Swedish
+ ...
TABLE Feb 3, 2005

Put it in a table!

icon_smile.gif

PS

All browsers support TABLE.

icon_smile.gif

[Edited at 2005-02-03 14:25]


 

Piotr Bienkowski  Identity Verified
Poland
Local time: 07:12
Member (2005)
English to Polish
+ ...
there is also the width attribute Feb 3, 2005

Heinrich Pesch wrote:

P { font-family: Verdana,Arial;
font-size: 14px;
line-height: 110%;
text-indent: 2%;
text-align:justify;
margin-left: 2%;
margin-right: 2%;
}

Above an example, how the paragraph tag can be modified to justify the text. Look at some sites about html and css programming in English.
Or look at some examples of page layout that you like and try those with your own files. After all everything on the web is open for us to see and copy.
Regards

Heinrich


Not all browsers support the margin-right option. For example Mozilla does not (or at least did not, when I tested it). So using the margin-left attribute in combination with the width attribute, for example width: 19cm might be an alternative.

HTH

Piotr


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

HTML - page width

Advanced search






SDL Trados Studio 2017 only €435 / $519
Get the cheapest prices for SDL Trados Studio 2017 on ProZ.com

Join this translator’s group buy brought to you by ProZ.com and buy SDL Trados Studio 2017 Freelance for only €435 / $519 / £345 / ¥63000 You will also receive FREE access to Studio 2019 when released.

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search