Reply to Re: Problems with Borders using CSS

Your name:

Reply:


Posted by Jukka K. Korpela on 03/28/07 13:02

Scripsit simonbrentford@googlemail.com:

> I am validating my webpages for HTML 4.01 Transitional.

That's a start, but you should also use correct CSS (and to aim at HTML 4.01
Strict if feasible). And you should actually produce valid markup, not just
"validate".

> I have the
> problem that I cannot remove a border on a small graphic on my page.

Well, on Firefox, there is no border - but no graphic either.

> I have researched various websites for the correct CSS code but none
> seems to work.

You haven't used the W3C CSS Validator. It would report the syntax errors,
which should be fixed before more complicated troubleshooting.
Alternatively, use Firefox and view the console log (error log) via the
Tools menu.

> BORDER-COLLAPSE: collapse;

That's formally correct but has no effect, since it only affects tables.

> padding 0px;

That's malformed (no colon).

> Take a look at the webpage to see what it looks like. (http://
> www.skydiving.co.uk/tandem2.htm)

It looks messy. So? The markup is messy, too, and so is the CSS code. Even
with tools like CSS checkers, you will have difficulties in maintaining the
page, due to its unnecessary complexity.

For example, if you want to use yellow arrows as item markers, why don't you
just use list markup and set list-style-image?

Followups trimmed to c.i.w.a.s.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original 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

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