Bogdantincu 0 Raportează post Postat Ianuarie 8, 2013 What is the html code to make horizontal boxes i need to make some boxes go from left to right but all i can find is on top of each other, you can see example here <a href="http://www.carinsurancequotesinformation.com">car insurance quotes</a> where the boxes are next to each other, and will this affect the page width on my site. Someone told me use DIV tags but how do i put this in HTML code?. Partajează acest post Link spre post Distribuie pe alte site-uri
Redondo 223 Raportează post Postat Ianuarie 8, 2013 cu float left le poti face sa se alinieze de la stanga la dreapta şi nu unul sub altul. incearca asta: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> div { float:left; margin: 5px; background-color:yellow; } </style> </head> <body> <div> div unu</div> <div> div doi</div> <div> div trei</div> </body> </html> Partajează acest post Link spre post Distribuie pe alte site-uri