Toon posts:

[HTML / CSS]

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb een pagina die bestaat uit drie frames:
code:
1
2
3
4
5
6
7
<FRAMESET COLS="130,*" BORDER="0" FRAMESPACING="0" BORDERCOLOR="99CCFF">
  <FRAME FRAMEBORDER="0" NAME="menu" SRC="menu/intro.asp" NORESIZE>
  <FRAMESET ROWS="*,50" BORDER="0" FRAMESPACING="0" BORDERCOLOR="99CCFF">
    <FRAME FRAMEBORDER="0" NAME="inhoud" SRC="laden.asp" NORESIZE>
    <FRAME FRAMEBORDER="0" NAME="sponsors" SRC="sponsors/default.asp" NORESIZE SCROLLING="no">
  </FRAMESET>
</FRAMESET>

In het linkerframe (menu) heb ik een tabel, die helemaal aan de rechterkant moet staan (dus echt tegen de framerand aan). Als stijl heb ik onder andere:
code:
1
2
3
4
5
6
BODY {  margin-top : 10pt;
    margin-bottom : 10pt;
    margin-right : 0pt; 
     margin-left : 0pt;
    padding-right : 0pt;
    border-right-width : 0pt; }

En als tabel heb ik:
code:
1
2
3
4
5
6
7
8
<TABLE BORDER="1" STYLE="border : none;" ALIGN="right" NAME="tabel" CELLPADDING="0">
<TR>
  <TD WIDTH="60" HEIGHT="22" ALIGN="center" VALIGN="middle">Cel 1</TD>
</TR>
<TR>
  <TD WIDTH="60" HEIGHT="22" ALIGN="center" VALIGN="middle">Cel 2</TD>
</TR>
</TABLE>

Waarom staat deze tabel niet helemaal aan de rechterkant? (klik hier onderaan op het woordje test)

  • disjfa
  • Registratie: April 2001
  • Laatst online: 12-05 15:11

disjfa

be

Op vrijdag 22 maart 2002 13:15 schreef Popeye the Sailor het volgende:
code:
1
2
3
4
5
6
7
BODY {  margin-top : 10pt;
    margin-bottom : 10pt;
    margin-right : 0pt; 
     margin-left : 0pt;
    padding-right : 0pt;
      text-align:right;
    border-right-width : 0pt; }


code:
1
2
3
4
5
6
7
8
<TABLE BORDER="1" STYLE="border : none;" ALIGN="right" NAME="tabel" CELLPADDING="0">
<TR>
  <TD WIDTH="60" HEIGHT="22" ALIGN="center" VALIGN="middle">Cel 1</TD>
</TR>
<TR>
  <TD WIDTH="60" HEIGHT="22" ALIGN="center" VALIGN="middle">Cel 2</TD>
</TR>
</TABLE>
mischien :?

disjfa - disj·fa (meneer)
disjfa.nl


Verwijderd

Topicstarter
Nopez.......

  • disjfa
  • Registratie: April 2001
  • Laatst online: 12-05 15:11

disjfa

be

wat raar zeg.... zou t eigenlijk moeten doen :? :)

maar uhm.... staat ie eigenlijk al nie aan de rechter kant, want hij staat iig nie aan de linker kant. wat gebeurt er als je die align="right" weg haalt, staat ie dan nog steeds op dezelfde plek :?

disjfa - disj·fa (meneer)
disjfa.nl


Verwijderd

Topicstarter
Nee, hij kan wel helemaal aan de linkerkant staan.

Het ligt aan de frames. Als je het frame in een nieuw venster opent (zie hier), dan staat'ie wel helemaal rechts.... :?

  • André
  • Registratie: Maart 2002
  • Laatst online: 09-09 14:17

André

Analytics dude

Klopt, dit frame houd rekening met een eventuele scrollbar. Dus in de frameset scrollbars ff uitzetten.

  • flexje
  • Registratie: September 2001
  • Laatst online: 10-09 16:26

flexje

got-father

verander de margin left in een hoger getal (staat nu op 0)zodat ie meer naar rechts staat.

"Try not to become a man of success but rather to become a man of value..."


Verwijderd

Topicstarter
Klopt, dit frame houd rekening met een eventuele scrollbar. Dus in de frameset scrollbars ff uitzetten.
Oke dan, dat werkt. :D Thanx!
Pagina: 1