FreewayTalk

5 replies to this thread. Most Recent

Bucky Edgett

1 May 2010, 4:43 pm

[Pro] Editing the body tag FW 5.4.2

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.

quote

Tim Plumb

1 May 2010, 5:48 pm

Hi Bucky, If you want to create a style that targets the body tag then this is the best way to go about it; http://www.freewayactions.com/test/add-body-style/

Regards, Tim.

On 1 May 2010, at 17:43, Bucky Edgett wrote:

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.

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro. ………………………………………………………………………… Protect your mailto links from being harvested by spambots with Anti Spam. Only available at FreewayActions.com ………………………………………………………………………… http://www.freewayactions.com

quote


Extend Freeway the way you want with FreewayActions.com

http://www.freewayactions.com

Dan J

1 May 2010, 9:26 pm

It’s interesting how Freeway creates two body tag styles and that never made any sense.

quote

Helveticus

2 May 2010, 4:26 am

It’s interesting how Freeway creates two body tag styles and that never made any sense.

I also noticed that a few days ago, strange indeed

quote

Marcel


FW Pro 5.6.0 | MacBook Pro 17” | OS X 10.6.8 | FreshBrand

Bucky Edgett

2 May 2010, 4:43 am

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.

Thanks for chiming in!

quote

Back to Top

Tim Plumb

2 May 2010, 9:15 am

Ooh, er. Yes, I hadn’t noticed that. I think a little extra digging is needed. Thanks, Tim.

On 2 May 2010, at 05:43, Bucky Edgett wrote:

Thank you, Tim. That’s exactly what I did, with your result of two body classes.

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro. ………………………………………………………………………… Protect your mailto links from being harvested by spambots with Anti Spam. Only available at FreewayActions.com ………………………………………………………………………… http://www.freewayactions.com

quote


Extend Freeway the way you want with FreewayActions.com

http://www.freewayactions.com