Reply to Re: centering images

Your name:

Reply:


Posted by Jonathan N. Little on 03/12/07 14:22

al jones wrote:
> actually two questions here. Johnathan gave me a clean version of what I
> had earlier (thank you, sir). Now I've added some more content and things
> are going awry.
>
> URL aljones.us/ab/index.html
>
> 1st) The text beginning 'version' and 'mission' should be in the navigation
> area (light blue) on the left - I cn't seem to get it there.


Then your should apply the "navbar" class to the conating DIV not the UL!

#navbar {
margin: 0; padding: 0; clear: both; float: left;
width: 11em;
color: #000; background-color: #5cb3ff;
}

#navbar UL { margin: .5em; padding: 0; list-style: none; }

<div id="navbar">
<ul>
<li>...



>
> 2nd) The image 'Ribbon Cutting' should be centered in the right (content)
> panel. Again I can't see how to do it.


#ribbon { display: block; margin-left: auto; margin-right: auto; }

<img id="ribbon" src="images/hometop.jpg" alt="Open House Invitation">
>
> God I'm glad I don't do this for a living ....


Help yourself out a bit first and get the basics, go through the
tutorials at www.htmldog.com ...


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[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

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