View Single Post
11-11-2005, 05:23 AM
#7
<Isurfr> is offline <Isurfr>
Status: Member
Join date: Aug 2005
Location: w3c
Expertise:
Software:
 
Posts: 193
iTrader: 0 / 0%
 

<Isurfr> is on a distinguished road

  Old

You shouldn't have to use the float: attribute
and should be able to position with absolute
realative positioning.

Use these attriubutes for positioning:


If you use the position:relative attribute to a div you will
have to make a duplicate with the same dimensions inside
of that div and set it to position:absolute; inside of that div
so you can position the content inside.


<div id="relative">
<div id="absolute"> (use the padding here)

<div id="content"></div>(use the margin here)

</div>
</div>

Originally Posted by Techno
[*]How do I get an outline around the content div?

border:0px solid #000000;
Add or subtract where the border is applied after
the border is assigned.


border-right-width:0px;
border-left-width:0px
borer-top-width:0px
border-bottom-width:0px


_|