Forum Moderators: not2easy
<div class="123"><a href="somepage.html">SOME TEXT HERE<img src="/image.jpg"></a>
</div>
[edited by: Planet13 at 9:42 pm (utc) on Aug 2, 2014]
If I were doing it in HTML
p, li {line-height: 1.2; text-align: left;
margin: .5em 0 0; padding: 0;}
p.illustration {text-align: center; margin: 1em 0;} <p class = "illustration">
<img src = "images/blahblah.jpg" width = 123" height = "123"
alt = "real description of this specific picture"></p>
My grasp of CSS is tenuous at best. I admit that up until last year, I thought that "CSS" was a cop show on TV that my parents watch...OK, that was funny enough to deserve some background..
"Since you probably never had to edit 40 or 50 pages by hand, you might not appreciate it so much as some of us do."
[edited by: Planet13 at 11:04 pm (utc) on Aug 3, 2014]
<p class = "caption">
blahblah</p>
<p class = "illustration">
<img etcetera
</p>
<div class = "picblock">
<p class = "caption">
blahblah</p>
<p class = "illustration">
<img etcetera
</p>
</div>
(Actually, I think it used frames, and those were a no-no for SEO, which is why I did the front end myself.)
But anyway, I was really SSSLLLOOOWWWW in learning about CSS... and I still have no idea what HTML 5 is all about. I am not 100% sure that I really WANT to know, either
I can omit the hashtag before a commonly used id value (e.g., nav instead of #nav and, in the HTML, <nav> instead of <div id="nav">
body * {background-color: #CCF; padding: #FCC; border: 1px dotted blue;} p, div, table, caption, nav ETCETERA {background-color: #CCF; padding: #FCC; border: 1px dotted blue;}