Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, 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.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Website Designs


  • Please log in to reply
5 replies to this topic

#1 Uraiser

Uraiser

  • Members
  • 254 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:San Antonio, TX
  • Local time:02:50 AM

Posted 13 May 2008 - 03:43 PM

I'm having a major brain fart here. I'm not certified in any HTML or CSS, but I get the basic gist of it and mess around with stuff until I like it. What is the design called when you have what looks like 3 columns on the page, the left and right sides are a different color and the main column in the middle has the sites information. If you go to gamefaqs.com, you'll see what I'm talking about. Web design isn't my forte, I'm into IT. but just for fun, what is that called? and how does one go about getting it to work?

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:50 AM

Posted 13 May 2008 - 04:34 PM

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?

#3 Uraiser

Uraiser
  • Topic Starter

  • Members
  • 254 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:San Antonio, TX
  • Local time:02:50 AM

Posted 13 May 2008 - 05:28 PM

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.

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:50 AM

Posted 13 May 2008 - 07:44 PM

I'm sorry for the questions.


That's what forums are for. :thumbsup:

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:
<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.

#5 Uraiser

Uraiser
  • Topic Starter

  • Members
  • 254 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:San Antonio, TX
  • Local time:02:50 AM

Posted 13 May 2008 - 07:51 PM

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?

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:50 AM

Posted 13 May 2008 - 09:14 PM

I am self-taught as far as HTML and CSS. I develop web-based applications, so I pretty much had to learn. :thumbsup:

Glad I could help you understand.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users