textbox rechts !

Status
Niet open voor verdere reacties.

jordie91

Gebruiker
Lid geworden
29 jan 2008
Berichten
265
ik wil graag uit onderstaands script

content >>>>>>>> linkse kant (Staat hij nu al)
content2>>>>>>>> rechtse kant (dit is mijn probleem nu !)
@charset "utf-8";
/* CSS Document */
#header
{
background-color:#ffee33;
border: 5px solid #F3C;
text-align:inherit;
top : 250px;
left: 100 px;
}
#content
{
background-color:#060;
border: 5px solid #000;
text-align: left;
left : 100%;
height : 150px;
width: 100px;

}
#content2
{
background-color:#060;
border: 5px solid #000;
text-align:right;
height : 150px;
width: 100px;
right:100%;

}
#footer
{
background-color:#ffee33;
border: 5px solid #F3C;
text-align:inherit;
top : 250px;
left: 100 px;

}
 
#content2
{
background-color:#060;
border: 5px solid #000;
text-align:right;
height : 150px;
width: 100px;
right:100%;


hallo,
ik ben niet zo goed in css maar betekent right:100%; niet dat hij 100% van af de rechterkant moet staan? ik zou eerder right:0px; proberen
 
Misschien moet je er ook nog een position element aan toevoegen? :rolleyes:

Dus:

Code:
#content2 {
  position: absolute;
  right: 0px;
}

of nog makkelijker:

Code:
#content2 {
  float: right;
}
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan