Reply to Re: Help needed with minor CSS layout problems

Your name:

Reply:


Posted by David Graham on 10/06/20 11:42

"Martin Clark" <martin@spl.at> wrote in message
news:HdWrTWJHXVGEFwrr@getta.life...
> I am developing a new design for a canal society website.
> The look I am attempting to achieve can be seen here:
> http://www.tamevalley.freeserve.co.uk/hcs/index.htm
> This has been achieved easily using tables for layout.
>
> However, I am mindful of the current thinking that CSS should be used
> for layout rather than tables.
> I have managed to get as far as this using CSS for layout:
> http://www.tamevalley.freeserve.co.uk/hcs/index2.htm
>
> There are four problems I would appreciate help with:
>
> 1) The society's name in the header section appears at the bottom of the
> dark blue header box, whereas I want it to be vertically central. I have
> used vertical-align: middle; but I think this only affects images rather
> than text.
> In IE6, the text sits on the white line at the bottom of the box. In
> Firefox it partly disappears behind the navigation bar. In Opera it
> partly overlaps the navigation bar.
> How can I get the text to appear half-way up the dark blue header box?
>

Hi
Does it help if you put a unit in the height (px) - anything other than 0
needs a unit
..header {background-color:#281870; width: 100%; height: 79;}
HTH
David

[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

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