Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Tyler Zika
14,402 PointsNeed help with old HTML syntax
Hello,
I'm working on a client's site that was made in early 2000s I believe.
One this page: http://maui.tylerzika.com/photos.html I can't figure why the "view other photos" link is not lining up with the rest of the links
and last on this page: http://maui.tylerzika.com/rates.html I can't seem to find why extra space is happen at the top of the rates page compared to the rest of the pages.
Thanks for you time.
3 Answers
Ricardo Diaz
30,415 PointsNot sure but the first part looks fine to me. Maybe you fixed it :)
The second part looks like the "links" image is going underneath the rates & details active image. You can see that if you use inspector and hover it just underneath it. If you expand the width of the container or make the image smaller it will correct itself.
On a side note, if you can try to convince them to redo the website. That would just be easier to do. Tables are just so hard to maintain.
Malgorzata Dlugosz
907 PointsHey Page -> http://maui.tylerzika.com/rates.html Your image is inside of a p tag, make it display:inline, also add class to an image and float:left.
This will solve the problem more less, then add some styling to move it a little to the top.
The problem was that a p tag displays as a block, and takes a lot of space. I think this was mentioned in one of the CSS videos.
Hope this helps
Malgorzata Dlugosz
907 PointsThe first page looks fine to me, probably you're viewing it in old or different browser from ours. Which browser do you use and which version?
Tyler Zika
14,402 PointsTyler Zika
14,402 PointsRicardo Diaz, thank you so much! Good eye. I got it fixed. I'm stilling trying to figure out the inspect element feature. I don't utilize it as much as I should.