Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Using div tags - help needed please!

Discussion in 'Website Design Forum:' started by cazaline, Apr 16, 2011.

  1. cazaline

    cazaline Junior Member

    Hi all!

    I've had some experience with HTML but most of my design so far has been with using Flash, however I am trying to use this less and move back to HTML.

    I need to make a website, originally I was going to use tables to make everything nice and neat and tidy, but I realised that I wanted to put some links over an image background and after a bit of research, found out the best way to do this was to use div tags. After some online searching, I still can't seem to get it right!

    So far I have two images that I want to use, the one on the left is the logo, and the one on the right is a plain background to match the logo and this is where the links are going to go.

    I'm using Dreamweaver and somewhere along the way this has gone wrong, please see code below:

    Please see attachments for how I want it to look and how it is appearing in Firefox.

    Any help for a newb much appreciated! :confused:

    Thanks
     

    Attached Files:

  2. Kevin

    Kevin Senior Member

    Quite a lot of excessive code there. Everything in red can be thrown out. The green lines should be enough to apply your background. The purple lines might fix your problem, but I didn't test this live. The display block is needed because your divs are empty (which isn't a good thing actually).

    I might come back to this later but I don't have much time now.
     

Share This Page