|brotherhood of LAN|
| 3:18 pm on May 24, 2002 (gmt 0)|
>guide on how use CSS
papabear is one i believe, also a few others in here almost speak it as a language
w3schools is always a starting point
in regards to the 1px "divider"....you can use the css to apply attributes to your tables...ie padding = 5 or whatever....basically something that changes the layout whenever you apply a <td> tag. Im sure the CSS gods will arrive and answer soon :)
| 3:24 pm on May 24, 2002 (gmt 0)|
Re: 1px divider - I hadn't thought of that. So I could basically get rid of that div and apply a border to the two remaining divs where they adjoin each other right?
| 3:38 pm on May 24, 2002 (gmt 0)|
I would definitely drop the divider div...when using css for layout it is far easier to think in terms of layered boxes that you can specify the detail of...padding inside the box, a border at the edge of the box and a margin around it...these are all a lot more flexible than the table equivalents
| 4:09 pm on May 24, 2002 (gmt 0)|
My bible for css is [westciv.com ]
They have a fantastic mailing list two and have just done a complete course on css-p
| 4:25 pm on May 24, 2002 (gmt 0)|
Here's a tutorial I got a lot from:
You'll see many standard layouts, with sample code. Play around a bit and you start to absorb it like the black oil virus on X-Files.
| 4:57 pm on May 24, 2002 (gmt 0)|
absorb it like the black oil virus
Didn't that go up the nose?
Thanks all. Looks like I have plenty to read - and absorb :)
| 5:13 pm on May 24, 2002 (gmt 0)|
CSS gets pretty addicting once it begins to make sense. The very first thing, when contemplating a CSS layout is to ALWAYS remember CSS-P is a study in "relationships!"
You will be telling certain page elements to "go stand over there" and others to "move over here." And then, you will be telling them to keep their distance from each other. Others you will just let "go with the flow!" It can quickly become a jumbled mess unless each element is also given instruction on how it relates to the other page elements.
The best way to learn is start simple: learn to position two <divs> in various combinations. Keep them seperate at first, and then try nesting them.
Don't change more than a few values at a time. View the changes and then test some more. Once you begin to understand the "relationships" that encompass CSS-P (positioning) as well as the BOX MODEL properties, it will become much easier.
One almost universal truth with CSS is that there are often a number of ways to accomplish a task. The flexibility is tremendous!
Keep it simple at first, play around with the code and learn from experimenting. Try doing a search for CSS layouts and start "tweaking" one to fit your needs.
We'll talk... ;)
| 5:29 pm on May 24, 2002 (gmt 0)|
|start "tweaking" one to fit your needs |
That's what got me into trouble in the first place! But then, I did take a pretty big bite with all the position controls in place - which I don't understand yet.
Yes...I have a feeling we'll be talking again soon.
BTW - didn't someone tell me you give out your beeper number in exchange for a tall frosty malt beverage?! ;)