Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > problem with width

Reply
Thread Tools

problem with width

 
 
Passero
Guest
Posts: n/a
 
      09-06-2003
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.


 
Reply With Quote
 
 
 
 
John W.
Guest
Posts: n/a
 
      09-06-2003
"Passero" <(E-Mail Removed)>:

>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 -
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Textbox width scaling to width of data not width of page? AndrewF ASP .Net 1 10-10-2005 04:38 PM
JComboBox width, dropdown list width Xu Java 11 07-15-2005 11:54 PM
min-width max-width again Paul Furman HTML 10 02-09-2004 06:20 PM
Table width and columns width kris HTML 11 11-18-2003 06:49 AM
Re: resized image in table extends table width to original image width Sean Jorden HTML 1 08-19-2003 08:59 AM



Advertisments