Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
div.article
h1 Title
article
...
?
I mean it's a shame, but can't you get around it this way? -
hitzoR2635y"Magnitude of a point I'm making".. So you use them in a middle of paragraphs? Cause it doesn't seem like you use them properly - they should be headings, while there should be just one of h1 for the name of the article.
-
You're using heading levels for all the wrong reasons. That's HTML noob level right there.
-
Yujiri425yNot sure anyone understood. I can get around it, but I don't want to hardcode the size of headers in the stylesheet. And one person seemed to interpret my rant as using headings in the middle of paragraphs (which wouldn't even work because they're block elements).
-
hitzoR2635y@Yujiri Okay then, and what's the point of avoiding CSS? HTML is markup language and most of the tags are semantic, so you really shouldn't use heading for something what isn't heading.
-
@Yujiri I did. :c I was providing a way to get around the new article > h1 rule, not adding any CSS, and treat the new div as the article.
Related Rants
I have review-style pages where I use h1, h2, and h3 to indicate the magnitude of a point I'm making. I liked it. I recently changed my template so it's all wrapped in an <article>, and just today I noticed that my h1s appear as h2s. Firefox wouldn't tell me what was going on, but Chromium let me see the relevant styles from the user agent style sheet, and WTF, h1s inside <article> or a few other semantic tags get styled to look exactly like h2s. WTF?!? I want my h1s back! But I don't want to pollute my stylesheet, and there isn't a good way to either, since I shouldn't be hardcoding the size of an h1 without hardcoding all the header sizes.
rant
css
html