16Feb/12Off
How to align <div> tags side by side?
An HTML <div>Tag is used to define a section in an HTML document. This tag is more often used to create weblayouts. Some times it is required to place two <div> tags side by side. Below are the steps to achieve this:
First, Write the HTML code fro two <div> tags.
Second, Use the HTML attribute float with proper values to align these two <div> tags side by side.
Third, Refresh the webpage, to get your changes affected.
Following is the HTML code for this:
DIV Tag 1 Code:
<div style="float: left;">DIV Tag 1</div>
DIV Tag 2 Code:
<div style="float: right;">DIV Tag 2</div>
By A2Z FAQS
Tagged as: DIV tags side by side
Comments Off
Pages
Meta
Recent Posts
- Top 5 Tips For obtaining Your Band Noticed on-line
- What Do I Need To Clean My PC
- Registry Cleaner For XP Save Your Pc
- How To Add Banner Next to Logo Image to the Website Created Using Pligg
- Building a Computer From the Bottom Up
Blogroll
Tags
A2Z Snaps
Adsense
Business Objects XI
CCM
CMS
Color Picker Tool
Concrete5
Content Management System
designing
Email Account
Excel
Forum Software
Google Adsense
IIS
Internet Information Services
making money online
Microsoft
Microsoft Office
Network
Online photo sharing
Open Source
Open Source Form Software
Outlook
Outlook 2010
pc
PLIGG
Pligg.com
promotion
registry cleaner
Search Engine Optimization Specialist
SEO
Server Migration
Snaps
Software Tools
speed pc
Spreadsheet
store photos online
Tools PUB
unlock code
uToolbox
Virtual Directory
web hosting
Website
website designer
Wireless Networks
Categories
- Articles (35)
- C/C++/VC++ (3)
- Firewall (1)
- HTML (1)
- Microsoft (1)
- Multithreading (1)
- PageLines Platform 1.3.9 (1)
- SEO (1)
- Software Tools (3)
- Uncategorized (2)
- VC++/MFC/Win32 (1)
- Visual Studio (1)
- Web Hosting (1)
- WebSite (8)
- Windows (1)
- Wireless Networks (1)
Archives
- May 2012 (3)
- April 2012 (2)
- March 2012 (5)
- February 2012 (4)
- January 2012 (2)
- December 2011 (4)
- November 2011 (3)
- October 2011 (6)
- September 2011 (1)
- August 2011 (1)
- July 2011 (2)
- June 2011 (2)
- May 2011 (2)
- April 2011 (2)