- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Design’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello everybody.
I have this very simple CSS file:
body{
margin: 0;
padding: 0
}
.largura-cheia {
width: 100%;
height:100%;
}
The class .largura-cheia doesn’t work in Safari.
Can you help?
Thank you very much.
You need to make a reduced test case, e.g., on codepen. Also, describe your actual problem: “doesn’t work” is meaningless. Tell us what you want to happen, what you’re doing to try to make it happen, and what actually happens instead.
ok. here is my link:
http://www.romanvecu.com/coiso2/index2.htm
With the browsers IE, Chrome and Mozilla, the image maintains proportion whatever the size of the window.
With Safari the image lose proportion. So, the part of the CSS that states:
width: 100%;
height:100%;
doesn’t seem to apply with Safari
Actually, you didn’t :)
You were right, it was the height statement. I just deleted it, and deleted the dimensions of the images in my html code.
All is well, including in Safari.
Sorry about my english, it’s not my first language (nor the second, for that matter).
Thank you!