Simon Willison’s Weblog

Items tagged quora, webdevelopment, html in Nov

Filters: Month: Nov × quora × webdevelopment × html ×


Why can’t I do style=“padding: 20px” and a border in the same div?

You can’t have two style attributes on the same element—but you can have two styles rules inside the same attribute. Try this instead:

[... 48 words]

Types

Years

Tags