HELP Web Page Code

Hi,
I am trying to understand CSS or it may be something else.  I used do HTML coding ages ago... and now it obvious has changed.

        <!-- Logo container -->
            <a href="index.html"><div id="logo"><h1 class="logo">An elegant georgian apartment in the heart of Edinburgh New Town.</h1></div></a>
        <div id="tagline">Luxury apartment in Edinburgh New Town</div>

I have the above code and it shows an image on the page.... but no idea where the image gets referenced from or the size etc..

Can you help

Thanks
A
LVL 2
amacfarlAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle AbrahamsSenior .Net DeveloperCommented:
Check your CSS for a .logo class.  There might be a background-image or something in there.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
F PCommented:
Oooohhhh, please don't use that as valid code anywhere. At no point should you put a <div> tag inside of an anchor <a> tag.

Look in the CSS like Kyle mentioned for any of the following:

tag .class #id { attribute: value; }

Open in new window


So your code could use any number of selectors. I would use the Developer Tools to inspect the element as it's drawn in the DOM to figure out where and what is the applied CSS. It literally could say any of these (background is an example):

div#logo h1.logo { background: blue; }

.logo { background: blue; }

#logo { background: blue; }

div { background: blue; }

h1 { background: blue; }

div, h1 { background: blue; }

Open in new window

... and I could keep going. Have a look at this fun star wars reference for order precedence:

http://www.stuffandnonsense.co.uk/archives/images/specificitywars-05v2.jpg
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.