473,387 Members | 1,398 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

horizontal spacing between 2 divs

Hi there.
How can i maintain the spacing between to divs if palced side by side with
10px spacing between them..

Not using any tables. And atleast making one of the div relative
positioning.

Tks poonam.

Jul 20 '05 #1
5 12090
Poonam wrote:
How can i maintain the spacing between to divs if palced side by side with
10px spacing between them..


An url showing what you are actually trying to do would help.

--
Spartanicus
Jul 20 '05 #2
Poonam wrote:
How can i maintain the spacing between to divs if palced side by side with
10px spacing between them..
Depends how you are placing them side by side.
Not using any tables.
Good (unless you have some tabular data somewhere)
And atleast making one of the div relative positioning.


Why?

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #3

can't you just use margin settings

i.e. margin-right:10px;

for your left DIV

Unregistered
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message25371.htm

Jul 20 '05 #4
Unregistered wrote:
can't you just use margin settings

i.e. margin-right:10px;

for your left DIV?


How should I know?

Tips:
(1) Quote the material you are responding to
(2) Respond to the post you are responding to, not someone elses response to
same.

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #5
"Poonam" <po****@brainvisa.com> wrote in
news:36******************************@news.teranew s.com:
Hi there.
How can i maintain the spacing between to divs if palced side by side
with 10px spacing between them..

Not using any tables. And atleast making one of the div relative
positioning.


Make sure you understand what relative positioning really means. It
doesn't mean "positioning an element relative to another element" (which
usually requires *absolute* positioning). It means "positioning an element
relative to the place where it would have appeared if it hadn't been
positioned." In other words, it means "lay out the page as if the element
hadn't been positioned, and then move the element without moving anything
else." In particular, that means "do *not* close up the space that the
element would have occupied if it hadn't been positioned."
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bernd Kuegle | last post by:
Hi! How is it possible to reduce the space between a pargraph and a horizontal line (top and bottom). It doesn´t look so good if there is the default space. Thanks Bernd
4
by: Cezar | last post by:
Hi! I've logo on the left top corner and on the right top corner is menu, select language and date. This must looks like: Logo Menu#1 Menu #2 Select Language Date In IE6.0, 5.5...
6
by: skeeterbug | last post by:
please check out http://www.geocities.com/operationsengineer1/test2.htm how come there is spacing between my logoheader and the tabs? i'm also seeing ie6 input an extra 1em of vertical...
3
by: dan | last post by:
Hi folks, I have a very simple requirement - I want to have a row of divs of fixed size (but unknown number of them) This will be in a container div and scrolled by other means Is there any...
3
by: al jones | last post by:
since c.i.w.a.* seem to be *very* conscious of 'the correct group' I hope you'll bear with me here or direct me to the correct one. I'm trying to help a friend redo a site which was done in DW...
1
by: quantass | last post by:
Just a quick question in regards to the Obout Tree View. How do i go about adjusting the horizontal spacing before & after the plus/minus button for each node seperately? Also how do i adjust the...
1
by: brixton | last post by:
Hello, silly problem maybe, but... I'm trying to get a horizontal menu to work with DIVs but I'm having trouble getting the menu items to "fill" the menu DIV. Basically I have a surrounding...
6
by: greynium | last post by:
hi Please see http://thatshindi.oneindia.in in Firefox and IE7. The spacing between the lines are different. What we see in Firefox is what we desire. How do we fix things to make it look...
4
dlite922
by: dlite922 | last post by:
This is just barely above my head when it comes to css. I have a div that needs to contain rows of floating divs, but I need each row not to wrap on to the next one and continue to go right. The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.