...

View Full Version : CSS Help on layout...



Confused!
02-01-2005, 02:50 PM
Hi there,

I just viewed my friends webpage and noticed that within his source code he has not used a single table for layout etc etc. I am familiar with layout concerning simple text elements but am uncertain about how to use it to contain other elemtns...eg, like a table. This sound confusing I know but check it out for yourself...

http://newmedia.leeds.ac.uk/ug03/ics3rae/2740/cc/index.cfm

I'm pretty certain it's CSS but how is it done? Also, where can I find a good online resource for CSS?

Many thanks for your help. ;)

_Aerospace_Eng_
02-01-2005, 03:13 PM
most css layouts use div tags that have id's or classes then they are called in the css, here is a link that u may find useful http://www.w3schools.com/css/default.asp

ronaldb66
02-02-2005, 08:54 AM
At first, I got an internal server error; now, I get some lame currency converter.
Single page, nothing fancy. What's so special about it? No positioning needed, just a bit of color, a border and some white space.

By the way, the main site is a horrible, table-ridden mess.

rmedek
02-02-2005, 09:25 AM
most css layouts use div tags that have id's or classes then they are called in the css

nononononononononononononono

That's not the basis of how HTML/CSS works. Yes, you CAN use div tags, but CSS can be applied to any html tag. Too many people are just equating CSS with "replace <table> with <div>" but that is totally wrong and bloated.

Coding with standards can be described pretty simply: Code the page structurally and semantically. Style as needed.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum