Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Fiddle: http://jsfiddle.net/TFCM4/8/
Create 4 divs inside a container (
#bgs), and add descriptive class names to the elements.Relevant CSS:
HTML:
I’ve only used the
leftandrightclass names. Thetopandbottomhave been added to make the source look more readable.Previous (table) approach:
Add
visiblity:hidden;to the images which should be hidden. This property makes the element invisible, but keeps the spot “reserved”.Fiddle: http://jsfiddle.net/TFCM4/2/
Instead of using two tables, you can merge the tables to one table, and achieve the desired result without messing further. Fiddle: http://jsfiddle.net/TFCM4/3/
HTML structure: