problem with width

P

Passero

I have a problem with the width of my table. When i set the table, i get a
scrollbar because the width is to big so that's why i want width="50%" and
that's the code:

<table summary="Acties" rules="all" width="50%">

but it doesn't work. Even when i put table { width: 20%; } in my css also
nothing happens. When i change table to td or tr in my css, nothing
happens... Is it because i'm working with images?

<p align="center">
<table summary="Acties" rules="all" width="50%">
<tr><td align="center"><a href="profwijzig.asp"><img src="male.gif"
alt="Profiel wijzigen" width="25%"><br>Profiel wijzigen</a>
<td align="center"><a href="zoeken.asp"><img src="img/gedicht.gif"
alt="Gedichten wijzigen of verwijderen" width="30%"><br>Gedichten </a>
<td align="center"><a href="verhaal.asp"><img src="img/draak.gif"
alt="Verhalen wijzigen of verwijderen" width="85%"><br>Verhalen</a>
</table>
</p>

even when i change the width of each image, the image changes but the size
of the table doesn't.
 
J

John W.

Passero said:
I have a problem with the width of my table. When i set the table, i get a
scrollbar because the width is to big so that's why i want width="50%" and
that's the code:

<table summary="Acties" rules="all" width="50%">

but it doesn't work. Even when i put table { width: 20%; } in my css also
nothing happens. When i change table to td or tr in my css, nothing
happens... Is it because i'm working with images?

<p align="center">
<table summary="Acties" rules="all" width="50%">
<tr><td align="center"><a href="profwijzig.asp"><img src="male.gif"
alt="Profiel wijzigen" width="25%"><br>Profiel wijzigen</a>
<td align="center"><a href="zoeken.asp"><img src="img/gedicht.gif"
alt="Gedichten wijzigen of verwijderen" width="30%"><br>Gedichten </a>
<td align="center"><a href="verhaal.asp"><img src="img/draak.gif"
alt="Verhalen wijzigen of verwijderen" width="85%"><br>Verhalen</a>
</table>
</p>

even when i change the width of each image, the image changes but the size
of the table doesn't.
Where can we see this online?



John OO
--

<http://webcel.nl/>
<http://www.webcel.nl/bayshop/shop/bayshop.html>

"Time is what prevents everything from happening at once"
- John Archibald Wheeler -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top