You are here: Re: cellpadding and cellspacing problem « HTML « IT news, forums, messages
Re: cellpadding and cellspacing problem

Posted by dorayme on 04/12/07 21:50

In article <evl76g$b8t$1@news.onet.pl>,
"K." <halinacierniak@poczta.onet.pl> wrote:

> Hello!
>
> I created yet unfinished page www.slub.zmyslowski.pl about my wedding.
> I would like to fit it to every browser, mostly for Firefox and Internet
> Explorer.
> On internet explorer everything is fine, but
> when I open this page on Firefox I have small white lines between two images
> and I don`t know where error is. Could you help me?

The white line prob has been addressed and you have two excellent
answers. If you go with Els' you can simply put a line in your
style sheet for all images (rather than pick out particular
images), img {display:block;}

Not sure why you have image map for the top banner? Do you need
to have link for it?

In fact, considering the errors in the page, why not simplify it
greatly. Either as a table or as not. The table idea first:

First row would be just a cell with your Baner.gif, second row
would be a row with 5 cells, in each a simple text link, you can
recommend a font and specify a starting size. This would have the
advantage of scaling with the text size of the user, not using
more bandwidth to transmit pictures etc. If you must have images
for the links, no need for all the image map code. Imagemaps come
into their own when you have a big picture and want to link to
bits of it. There is not much point in having an image map if you
are already splitting up the image anyways into separate images.
Third row is paragraph text with a centered HeyKasiaNosowska.jpg.
Enclose text in <p>s, style them if necessary.

Use

<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

to head your html and use a proper validator (see JK's
suggestion) to check up on your code.

If you have time, forget about the table structure for so simple
a site, consider using (as a simple suggestion), a div for the
head, an inline list for the navigation, and another div to hold
the bottom with paragraphs and images. Look up inline lists on
Google.

Just some suggestions!

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация