Angus
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Look in the CSS like Kyle mentioned for any of the following:
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):
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