New to this forum, fairly new to HTML, and very new to CSS.
Just inherited a fairly poor website, based of divs, with the job of sprucing it up. I've introduced stylesheets, and made it look nicer, but I'm trying to make the whole thing run a lot more smoothly from a coding point of view.
Currently, there are three divs, mainimage, right, and left. Mainimage is the site logo, left is the table of links to navigate the website, and right is the main content. At the moment, you go to the main site, and click on a link from the table, and the content of that page is loaded up in the right div (i.e. without changing the url).
I have initialised the divs in the CSS, but the content for mainimage and left (which never change) are defined in index.html. I'd like the move the code for these into the CSS just to tidy things up, but it doesn't seem to be working, no matter how I try it.
At the moment, I'm just trying mainimage, which will be simpler as it's just a static image. Here's the CSS at the mo: