Can I copy my page layout into a css sheet?? (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets and Accessibility



Message


mason -> Can I copy my page layout into a css sheet?? (9/23/2005 12:22:35)

Sorry about the nwbie question. I have searched the forums for a while and havent been able to find this out.

Am I able to copy the all of the layout code from an existing page and dump it into a css sheet??

probably a silly question but if you dont ask...........




dpf -> RE: Can I copy my page layout into a css sheet?? (9/23/2005 12:24:14)

quote:

layout code
can you be alittle more descriptive here..perhaps post an example or the url




mason -> RE: Can I copy my page layout into a css sheet?? (9/23/2005 12:27:03)

well I have a very new site that I am starting www.simplycheats.net and I was wondering If i could copy the complete layout into a css sheet so I can then alter the table positioning and/or text properties as and when i choose.




mason -> RE: Can I copy my page layout into a css sheet?? (9/23/2005 12:28:10)

sorry, basically all the html minus the content




dpf -> RE: Can I copy my page layout into a css sheet?? (9/23/2005 12:37:17)

I am afraid you cannot. the syntax for css is different than html - you cant simply put html into a style sheet. I will tell you as others will that learning css isnt hard if you take one step at a time....and is well worth the effort.




jaybee -> RE: Can I copy my page layout into a css sheet?? (9/23/2005 12:39:55)

No. You can't copy all the html in. You still have stuff like <p> in your page you just style the <p> in the stylesheet.

Take a look Here
for more info.


[edit] rats he beat me. He's right though, it is worth it. Takes a bit of headbanging but you'll get there in the end. We're all here to help.




mason -> RE: Can I copy my page layout into a css sheet?? (9/23/2005 12:48:52)

Cheers guys!! thought there may be a shortcut........




jaybee -> RE: Can I copy my page layout into a css sheet?? (9/23/2005 16:48:53)

quote:

thought there may be a shortcut........


[sm=rotfl.gif]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875