Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.![]() ![]() |
May 13 2008, 03:43 PM
Post
#1
|
|
![]() Forum Regular ![]() ![]() ![]() Group: Members Posts: 220 Joined: 28-December 04 From: San Antonio, Tx Member No.: 8,071 |
|
|
|
|
May 13 2008, 04:34 PM
Post
#2
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 5,673 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
I suppose you could call it a three column layout, but that really is not the case. The columns on either side are just "filler" that allows for web pages to scale to different size monitors and different resolutions. So in reality, they are just areas with no content. In order to achieve that effect, you just have to make sue that your content does not take up the entire width of the screen, and the content is centered. In this case, the content is constrained to 760 pixels wide, to allow for screen resolutions of 800X600. IN that case, there would be only very thin strips on either side of the main content.
Does that help? -------------------- |
|
|
|
May 13 2008, 05:28 PM
Post
#3
|
|
![]() Forum Regular ![]() ![]() ![]() Group: Members Posts: 220 Joined: 28-December 04 From: San Antonio, Tx Member No.: 8,071 |
Yes, it does. Your advice is always full of help groov, but, I guess my next question would be, how do I go about making sure that the "main column" stays constrained to 760 pixels?
And also, what does CSS have to do with this? I'm sorry for the questions. |
|
|
|
May 13 2008, 07:44 PM
Post
#4
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 5,673 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
QUOTE I'm sorry for the questions. That's what forums are for. The way to constrain a width is to just set the width. Some html tags allow 'width' as an attribute, although I am pretty sure that it has been deprecated now in favor of CSS. You would do something like the following: CODE <div Style="width:760px;"> </div> The rest of your code would then go between the div tags. As far as how CSS fits into everything, the easiest way to explain is to use an analogy. HTML is the building block or structure of a web page. If you were a carpenter, you could think of the HTML as the bare framework of the house. CSS is the instrument by which one decorates that framework. OR to draw another analogy, HTML builds the canvas, and CSS provides the brushes and colors. -------------------- |
|
|
|
May 13 2008, 07:51 PM
Post
#5
|
|
![]() Forum Regular ![]() ![]() ![]() Group: Members Posts: 220 Joined: 28-December 04 From: San Antonio, Tx Member No.: 8,071 |
Thanks for the response. I swear you're better than 90% of the teachers at my college. Anyway, Im going to see what I can do (no, this isn't a school project, the semester is over)
Its just something I'm doing for fun. If you don't mind me asking, where did you learn all of tihs? |
|
|
|
May 13 2008, 09:14 PM
Post
#6
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 5,673 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
I am self-taught as far as HTML and CSS. I develop web-based applications, so I pretty much had to learn.
Glad I could help you understand. -------------------- |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 5th July 2008 - 06:08 PM |