Re: Images cut in half
- From: Owen Rees <orees@xxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 00:04:08 +0100
On Sun, 28 Aug 2005 21:47:40 +0100, Mark <mark@xxxxxxxxxxxxxxxxxxxx>
wrote in <rm84h1h0818ostatunb8i3rgihdmqboadq@xxxxxxx>:
>The page is here:
>http://www.mgpages.co.uk/photos
One specific problem is that your <table height="201" ...> is inside a
<div style="... height:130px" ... > but that in turn is inside another
div that is not high enough.
You are in tables nested five levels deep, with plenty of intervening
divs as well at the point in question. This makes it hard to work out
what is going on. The source code indentation does not help either. On
top of that most of the styles are specified inline so there are no
classes or element names to give some hints to navigate around the
structure.
There also seems to be no doctype declaration so a lot of browsers will
use "quirks mode" - this is not a good idea if you want your pages to
look right.
Get some decent tools to help clean up the source code. At the very
least get the Firefox web developer extension so that you can experiment
with the styles, turn on outlines for the boxes etc.
I used Eclipse with the Web Standard Tools to clean up the indentation
and give me a stuctural view of the page in order to navigate up the
elements that contained the images. This is probably a bit over the top
for people who don't want Eclipse for some other reason, but it did do a
good job of cleaning up the source formatting.
--
Owen Rees
[one of] my preferred email address[es] and more stuff can be
found at <http://www.users.waitrose.com/~owenrees/index.html>
.
- References:
- Images cut in half
- From: Mark
- Images cut in half
- Prev by Date: Re: Images cut in half
- Next by Date: Re: Images cut in half
- Previous by thread: Re: Images cut in half
- Next by thread: Re: Images cut in half
- Index(es):
Relevant Pages
|