You are here: Re: Float:right in position: absolute messed up in firefox « HTML « IT news, forums, messages
Re: Float:right in position: absolute messed up in firefox

Posted by Mark Parnell on 10/12/05 05:10

In our last episode, <eslachance@gmail.com> pronounced to alt.html:

> The two arrows are positioned using floats left and
> right, and under it is a table that shows the actual calendar.

No, the arrows are in the table (in the caption element), not above it.

> Here's the page URL:
> http://b2blog.sh.nu:81/users/test/index.html

Well, it would help if display: none; wasn't set on the calendar. Makes
it easier to check. :-)

Anyway, set the same width on the table and caption as the div (200px
ATM).

FWIW, Opera displays it the same as IE.

You should validate your HTML and CSS (for the HTML you'll have to fix a
couple of invalid characters first) - that's always the first step in
trying to fix this sort of problem.

http://validator.w3.org/
http://jigsaw.w3.org/css-validator/

The specs require a width on any floated elements, but the validator
doesn't seem to be complaining about it - that may be because you are
using inline styles though. The validator doesn't seem to check inline
styles. Adding a width to the arrow divs doesn't seem to fix the problem
though.

We'll get to the rest of the problems shortly. :-)

--
Mark Parnell
http://clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/

 

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

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