Quote:
Originally Posted by hobnail
Just like any other tag, you can style it with css.
Code:
article {
font-family: sans-serif;
}
If you want it to act like a div, add display:block.
Code:
article {
font-family: sans-serif;
display: block;
}
|
Don't do this. It may not be backwards compatible. Make a proper div and use that for any styling. For example, a number of Reader (including Kobo) use an older version of RMSDK. So if someone goes to read the ePub with the older RMSDK, then it may not work. You have to code for old software when possible when you don't know what will be used to read the eBook. It's only when you can't code for backward comparability is it OK to do something more modern.