Jump to content

question about style tag


sugoi_kat

Recommended Posts

i read in the tutorials that to set a page orientation you use the css2 property size.body { size: landscape }i was just wondering would i have to change the style tag from <style type="text/css"> to <style type="text/css2"> to use this property?and does this property mean that when you view the page in print preview it will automatically set it to landscape view?kat

Link to comment
Share on other sites

would i have to change the style tag from <style type="text/css"> to <style type="text/css2"> to use this property?

No, you wouldn't. CSS2 has the same MIME type as CSS1 which is still text/css.

when you view the page in print preview it will automatically set it to landscape view?

I think so... as long as the browser supports this property.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...