Reply to Two Cells lined horizontally using CSS

Your name:

Reply:


Posted by JSOUL on 11/18/99 11:31

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

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