473,387 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

CSS Templates?

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
4 1453
drhowarddrfine
7,435 Expert 4TB
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
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
AricC
1,892 Expert 1GB
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
bindi
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

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

Similar topics

1
by: Vince C. | last post by:
Hi all, I've created XML documents that are described with a schema. I'm using those documents to create web pages. All my web pages contain a fixed header and a variable document part. The...
5
by: Tom Alsberg | last post by:
Hi there... I'm recently trying to get a bit acquainted with XML Schemas and XSL. Now, I have a few questions about XSL stylesheets and templates: * Is there a way to "enter" a child element...
22
by: E. Robert Tisdale | last post by:
According to the C++ FAQ Lite: http://www.parashift.com/ What is "genericity"? Yet another way to say, "class templates." Not to be confused with "generality" (which just means avoiding...
12
by: Fabio De Francesco | last post by:
Hello. I can't understand why I can't compile the following simple code, where I think I have applied all the needed rules for templates that are declared and defined in different files (*.h and...
16
by: WittyGuy | last post by:
Hi, What is the major difference between function overloading and function templates? Thanks! http://www.gotw.ca/resources/clcm.htm for info about ]
2
by: jimbo_vr5 | last post by:
Hey I think i've figured out the idea behind apply-templates. But going through the tutorial on <http://www.w3schools.com/xsl/xsl_apply_templates.asp> theres simply just something that i dont...
25
by: Ted | last post by:
I'm putting the posts that follow here (hopefully they will follow here!) because they were rejected in comp.lang.c++.moderated. It behooves anyone reading them to first read the the thread of the...
28
by: NewToCPP | last post by:
Hi, I am just trying to find out if there is any strong reason for not using Templates. When we use Templates it is going to replicate the code for different data types, thus increasing the...
104
by: JohnQ | last post by:
Well apparently not since one can step thru template code with a debugger. But if I was willing to make the concession on debugging, templates would be strictly a precompiler thing? I have a...
7
by: Chris | last post by:
Hi All, This is a weird one but I am hoping someone can help or has some pointers, a recipe how to do the following: I have to move some code from c++ to objective-c and to do this I must...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.