Problem placing elements

Hi Paul (if you’re still around…)

Why did I have a green border around the totality of the inage if there was absolutely no code to warrant it?

The border was in the original logo, but this was an image of an image and the title had no border…

There was a border rule in the original code but I can’t see it now so you must have removed it.I know I saw a 5px border rule when I was testing. I guess it was left over from testing your other image.

They don’t… they can’t.

The developer has to place text on the page that will be read instead. The text can be positioned offscreen or possibly hidden behind the image.

http://www.mezzoblue.com/tests/revised-image-replacement/

I have used the Gilder / Levin technique successfully.
There are some newer techniques available now, though, so read thoroughly.

So, how do screen readers read images?

Actually screen readers will read the ‘alt’ attribute of the image and as long as you have that in place then screen readers will have an idea of what the image is about.

Of course real text is always best and is also better for SEO purposes.

The benefit of the gilder/levin approaches is that it allows control from the stylesheet whilst still maintaining accessibility.An odd image heading in the html with alt attribute is fine most of the time unless you are replacing all your content with it. :smile:

Text is always best though.

1 Like

Thanks both

Still a little thing…

I’ve started to move the header to a full page and have a strange situation:

As I narrow the screen between 615 and 560 px the first word of the title (Santo) starts moving leftwards while the rest stays put below…

http://pintotours.net/TEMP/HEAD/Sto5.php

The Domingo can’t go any further possibly due to padding and so the Santo keeps going…

How do I solve that, please?

I don’t think you can unless you add another media query just before it happens and reduce the padding right on the h1.

#title h1 {padding-right:80px}

well, it’s not a big problem

Thanks Paul

I’ll try to give you all, now, a bit of a holiday!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.