Jump to content
Forum Roportal
Sign in to follow this  
Bogdantincu

HTML Codes

Recommended Posts

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?.

Share this post


Link to post
Share on other sites

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>

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×