- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello,
I see that a few people have had problems with this but I havent been able to sort it… and I know its something silly.
http://www.xxx.co.uk/projects.php
I dont know what I have done wrong but the logo wont link to the homepage.
Heres the html:
heres the css:
Any help appreciated.
Thanks all.
Try putting the a tags around the h1 logo tags.
I tried that and it worked but its comes back as invalid code. I wanted to keep it standards approved.
Put the id of #logo on the anchor tag, not the <h1> and give it a display: block;
thats done the job but the whole page has been pushed down for some reason
If i remove the H1 it goes back to normal
Sorted!
I had to remove the default margin on the H1.
Many thanks for your help.