Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

HTML and CSS help needed.


Tommo
 Share

Recommended Posts

Hello guys,

 

at the moment i am working on a javascript project for school.

The thing is though, i need a lot div boxes placed correctly.

But whenever i try and format them, they wont do as i tell them to.

 

My task (the html & css aspect of it) is to re-create the periodic table using some div boxes.

I want it to look kinda like this:

http://www.webelements.com/

 

So far i have written this (Also, some of the CSS commands are straight up desperate attempts of making it work):


 

The yellow part is supposed to sybolize the white space between the elements.

I have tried almost everything to make it work, but they are annoying me like crazy.

 

e4234234.jpg

 

 

Also the element names at the moment are random. I just used that i could think of.

Edited by Tommo
Link to comment
Share on other sites

Guest The_Monkey

Tommo, you my friend are in need of possibly my most favorite css property. { display: table-cell; } (then you won't need float: left, and you'll look like a motherfucking css pro!)

 

Come on TS3 and we can work through your problems.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share