I am *nearly* CSS illiterate, but I am starting to understand a little gradually. I am adapting a template to suit me and want some help with one section. #splash { position: absolute; right: 30px; background: #EAEAE2 url('images/a10.jpg') no-repeat; width: 458px; height: 92px; } Where "url('images/a10.jpg') no-repeat;" is, I want to replace it with an adsense banner or text box. Do I just replace url('images/a10.jpg') no-repeat; with the code or is there something else I need to do to make it work?
.... i don't think you can solve this in CSS (maybe only in combination with PHP), you just have to insert the code inside the element, overriding background settings...
The url part is referring to a background image, and has nothing to do with the actual content in that box. In the HTML, you need to find the div id="splash" and if you want text, you need <p>bunch of text and stuff</p>. Adsense boxes I don't really know anything about but they would also go into the HTML, not the css. Then, if the adsense thing is a different height and width, then change that in the CSS.
Thanks guys, that works just fine Any ideas where one could find a good, easy to understand, CSS tutorial?
I would say you can start with HTML Goodies website. He teaches these things in a real brick & mortar school too.
If you're really serious, though, I'd go look at the library for one of the two books: Build Your Own Web Site the Right Way Using HTML and CSS by Ian Lloyd or/and HTML Utopia: Designing Without Tables Using CSS by Rachel Andrew and Dan Schafer <---this book assumes you know your HTML