Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Correcting “border” attribute destroys intended layout #197

Open
HeRo002 opened this issue Nov 19, 2017 · 0 comments
Open

Correcting “border” attribute destroys intended layout #197

HeRo002 opened this issue Nov 19, 2017 · 0 comments

Comments

@HeRo002
Copy link

HeRo002 commented Nov 19, 2017

Hi!

The page http://www.transformation.dk/test/border-test1.html has the intended layout, in terms of having a margin between the photo and the text-paragraph, but when you try to validate it you get the following 'info':

"The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead."

But when you correct that, the intended layout is destroyed - see: http://www.transformation.dk/test/border-test2.html

This is true in both Firefox ver. 56.0.2 (64-bit), MS-IE ver. 11.0.9600.18837 and Google Chrome Ver. 62.0.3202.94 (Officiel version) (64-bit). All under Windows 7 Home Premium SP1, 64-bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant