By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,492 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,492 IT Pros & Developers. It's quick & easy.

CSS Templates?

P: 21
Hey Everyone

Well first i am new here, so i wanted to say a quick hello, seems like a great place to talk to people about all different aspects with web design, which is just what i have been looking for :)

So here's my question, i am hoping that i can explain it well enough, so people understand just what the heck i am going on about!

I am pretty new to CSS so i am trying to learn as much as i can, and i was wondering how people go about putting together a template for there web pages? Do you still work with editable regions in CSS, or do you write specific code for the page that you are working on?? Because i have put together two pages which both use the same style sheet, in that sheet there is a border which wraps around the main content on the page, now say one of the pages has more content then the other, they both end up with the same border length, because they use the same style sheet.

So am i better off building a new page and using that as a template, and when it comes to creating another page, change the names of the div's so they are relative to that page, then creating a whole new Style sheet just for that page??

Also do people use snippets a lot? as i have seen a few tutorials on the net, where people have dropped snippets in to a document to style there content!

Sorry if these questions seem a bit weird! lol but they are just a couple of bits that i have been trying to get my head around. So thanks for any help, and if anyone has a better solution, please let me know :)

Thanks for any help!
Feb 16 '07 #1
Share this Question
Share on Google+
4 Replies


drhowarddrfine
Expert 5K+
P: 7,435
one of the pages has more content then the other, they both end up with the same border length,
That shouldn't happen unless you specify the length in the first place. Remove that and it should go with the flow.
Feb 16 '07 #2

P: 21
Ok that is some great info that i will keep i mind, when putting together a new web page. Is there any thing else along the same lines??
Feb 18 '07 #3

Expert 100+
P: 1,892
Hey Everyone

Well first i am new here, so i wanted to say a quick hello, seems like a great place to talk to people about all different aspects with web design, which is just what i have been looking for :)

So here's my question, i am hoping that i can explain it well enough, so people understand just what the heck i am going on about!

I am pretty new to CSS so i am trying to learn as much as i can, and i was wondering how people go about putting together a template for there web pages? Do you still work with editable regions in CSS, or do you write specific code for the page that you are working on?? Because i have put together two pages which both use the same style sheet, in that sheet there is a border which wraps around the main content on the page, now say one of the pages has more content then the other, they both end up with the same border length, because they use the same style sheet.

So am i better off building a new page and using that as a template, and when it comes to creating another page, change the names of the div's so they are relative to that page, then creating a whole new Style sheet just for that page??

Also do people use snippets a lot? as i have seen a few tutorials on the net, where people have dropped snippets in to a document to style there content!

Sorry if these questions seem a bit weird! lol but they are just a couple of bits that i have been trying to get my head around. So thanks for any help, and if anyone has a better solution, please let me know :)

Thanks for any help!
Here is a great place to start learning CSS how is your template coming along? If you post some code we can give you some pointers of somethings that have worked for us in the past.

Aric
Feb 22 '07 #4

P: 2
hi

if u remove the height from the stylesheet and than give the height to specific page. that's good way for if u want to use this class in different pages
Feb 23 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.