Reply to Re: Two Cells lined horizontally using CSS

Your name:

Reply:


Posted by JSOUL on 11/17/70 11:31

FIXED THIS ONE -- for some reason inline wasn't working initially and
then I noticed a typo in this example when I tried it again. Thanks
for even thinking of helping. :D


On Wed, 09 Nov 2005 15:24:59 -0500, JSOUL
<tkdREMOVESPAMinthecity@yahSPAMoo.com> wrote:

>I really appreciate the help and I have tried to use the web to find
>all sorts of suggestions. Inline doesn't seem to work and I tried it
>all over and left the examples in below. While people complain about
>the travesty of using tables, I'm finding CSS to be impossible to do
>certain things easily and it's not easy to read. All I'm trying to do
>is get two "cells" to line up properly. With a table it would be
>simple:
>
><table><tr><td> <img - for image #1> </td><td> Sample Text </tr>
></table>
>
>This yields:
>
>IMG1 Sample Text
>
>Now wasn't that simple? No matter what I do I can't get this done in
>css because I keep getting the display vertically. Can drive you
>crazy. I get:
>
>IMG1
>SampleText
>
>
>I used the inline tag everywhere to see if it works but it won't.
>Here's the code:
>
>in the page.php:
>
><div id="bannercontainer">
><div id="logoleft"></div>
><div id="bannerright">Sample Text</div>
></div>
>
>in the style.css
>
>#bannercontainer{
>width: 773px; /*The width of our layout*/
>height: 105px;
>background-color: #324580;
>display: inline;
>}
>
>#logoleft{
>width: 773px;
>height: 105px;
>background: url(../images/logoleft.gif) no-repeat;
>display: inline;
>}
>
>#bannerright{
>width: 485px;
>height: 105px;
>background-color: #324580;
>display: inline;
>}

[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

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