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

HTML

Zachary Allen
Zachary Allen
2,172 Points

Can't enlarge clickable area on image

I have an image surrounded by an href Tag and the clickable area is only on a small part of the image, how would i go about making it fill the image so it would be clickable anywhere?

I can't post my code because it won't show it for some reason on the forum.

2 Answers

James Barnett
James Barnett
39,199 Points

@Zachary -

In order for the forum to properly format your code you must indent, each line by 4 spaces.

samiff
samiff
31,206 Points

As well as what James said, you can sandwich your code between three backtick ` characters (to the left of the number 1/! key):

```

code goes here

```