Click to See Complete Forum and Search --> : is it possible to convert this in css?


LiLcRaZyFuZzY
08-29-2004, 05:46 PM
hi, is it possible to convert this page to have exactly the same background in css?meaning eliminating all the tables?
http://www.zmedenjastog.com/index2.php?cmd=home

IncaWarrior
08-29-2004, 05:51 PM
Yep, sure is. But you usually don't "convert" something to CSS since CSS is a completely different way of doing it

Ben Rogers
08-29-2004, 05:55 PM
Originally posted by IncaWarrior
Yep, sure is. But you usually don't "convert" something to CSS since CSS is a completely different way of doing it Not entirely. You just don't use any code to modify the way something looks, other than markup meant to split up the site. But, again, that site is VERY possible, and arguably simple to do in CSS.

LiLcRaZyFuZzY
08-29-2004, 06:01 PM
should it be done with floating divs?

IncaWarrior
08-29-2004, 06:04 PM
yeah, a couple. I see a lot of lists in there too

Ben Rogers
08-29-2004, 06:06 PM
Originally posted by LiLcRaZyFuZzY
should it be done with floating divs? Yes, that's generally how CSS layouts should be done. Do you want me to try and dig up some resources/ tutorials for you, or are you all set?

LiLcRaZyFuZzY
08-29-2004, 06:08 PM
it would be real' nice!i always have problems with backgrounds..

LiLcRaZyFuZzY
08-29-2004, 06:09 PM
well, got problem wit everything, but wit bg specially,hehe

Ben Rogers
08-29-2004, 06:48 PM
Well, then it'd be good to brush up on the basics (http://www.w3schools.com/css/default.asp) first, then.

LiLcRaZyFuZzY
08-29-2004, 06:54 PM
hehe, this is okay, the basics are known. but their floating section is a bit short, and doesnt really explain how to do that.

Ben Rogers
08-29-2004, 07:03 PM
Originally posted by LiLcRaZyFuZzY
hehe, this is okay, the basics are known. but their floating section is a bit short, and doesnt really explain how to do that. Well, there's always the W3C's sourch as to exactly how float works. <http://www.w3.org/TR/REC-CSS1#floating-elements>

LiLcRaZyFuZzY
08-29-2004, 07:13 PM
m..yeah, i read that through, didnt understand a word, think its cuz its 2 in the morning here, so ima take a nap, gd nite!;)

Paul Jr
08-29-2004, 08:27 PM
Actually, CSS layouts are usually semantic, meaningful markup, with some semantically meaningless DIVs to get things where you want them to go.

As for floats, check out this CSS Directory (http://www.roderickhoward.com/cssdirectory/), and look at the Floats section (I think there's one...).

LiLcRaZyFuZzY
08-30-2004, 03:56 AM
there is, thank you, im gonna read that tut.