I’ve been experimenting with methods of directly editing the body tag. None of them work for me.
I tried adding a “body” tag in the Styles Editor, creating it by tag name, with no name name. That kind of worked, except that the CSS in my page headers then had two “body” classes, one with my additions, and one with FW’s standard additions plus my additions.
Every page also had its body tag written:
body class=" "
Well, that didn’t work.
I also tried adding Extended attributes to the Master page, and nothing happened in the code for my output.
Given that I was trying to replace a bodytext tag applied to the Master Page, and given that seemed to work pretty well, I’m probably going overboard. It would be a nice touch to be able to show some of my more persnickety clients, how their coding is being written so efficiently.
I’ve been experimenting with methods of directly editing the body
tag. None of them work for me.
I tried adding a “body” tag in the Styles Editor, creating it by tag
name, with no name name. That kind of worked, except that the CSS in
my page headers then had two “body” classes, one with my additions,
and one with FW’s standard additions plus my additions.
Every page also had its body tag written:
body class=" "
Well, that didn’t work.
I also tried adding Extended attributes to the Master page, and
nothing happened in the code for my output.
Given that I was trying to replace a bodytext tag applied to the
Master Page, and given that seemed to work pretty well, I’m probably
going overboard. It would be a nice touch to be able to show some
of my more persnickety clients, how their coding is being written so
efficiently.
Thank you, Tim. That’s exactly what I did, with your result of two body classes.
And then, they don’t work for me, because of the odd
<body class=” “ etc. etc.>
tag that actually gets written for the body. That tag really balls up the CSS calculation. At least, it did in my little test. FireBug showed all the styling supposedly being inherited as crossed through: wiped out. Blah.
OK, on this one, I give up. A .bodytext style applied to the Master Page seems to work fine. Not quite as swave and blaze as a well crafted body class, but it works.