D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] display of web site in different browsers



Ray Smith wrote:
[...]
I know enough html to edit the code by hand to tidy it up slightly or is
it bugs in the browsers as some , i.e. Galeon display it properly ? or
is it because I have used frontpage ?



It is because you have used FrontPage ;)

Seriously, though: the W3 standard for HTML/XHTML leaves little room for interpretation. To do stuff so it looks the same everywhere is a nightmare because, frankly, you need to employ a subtle blend of adherance to standards and acquired knowledge of what is stinky about common browsers.

A quick fix (although disapproved-of) to your problem would to define a table with one row and two <td>s. Set the border to "0" and put the text in the left hand cell and the picture in the right. You can define the width of the cells as a percentage if you like - Bob's yer uncle!

A good book will help - it needn't be over the top. I have Jennifer Niederst's HTML Pocket Reference here - it cost six quid and answers all my questions!

Here are the sites that you absolutely must look at:

1. W3 Schools - marvellous:

http://www.w3schools.com/

2. Nick's Tidy-Online (+ other great facilities). This will correct your code and make it pretty:

http://valet.webthing.com/tidy

3. The W3 validator will pick out problems (although not tell you how to fix them):

http://validator.w3.org/

You will *always* get better results from typing the code yourself, in my opinion (many disagree).

Hope that helps!

MB


-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.


Lynx friendly