Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to not use the left: -50px and top: -20px Reply To: How to not use the left: -50px and top: -20px

#192360
Paulie_D
Member

My first question is “Why are you moving things around using positioning in the first place?”

It’s not necessary, What you are trying to do can easily be constructed using more flexible layout methods.

http://learnlayout.com/

Also, you are massively overusing ID’s. Try using classes as necessary, it’s unwise to give every element an ID…it bloats your HTML, causes CSS specificity issues and is very inflexible. It also means that the IDs cannot be re-used.

In fact, given the nature of the apparent content, I would be very tempted just to use a table…or at the very least CSS tables.