[Wylug-help] CSS for table and img - can't get rid of gaps

Simon Greenwood sfgreenwood at gmail.com
Thu Nov 19 15:23:06 UTC 2009


Give the images a vertical-align,either bottom or middle. I've got an
example somewhere but I would need to find it.

s/

2009/11/19 Gary Stainburn <gary.stainburn at ringways.co.uk>

> Hi folks.
>
> I'm creating a tree-view using a table and three images. The logic is
> working
> fine for generating the html, but I cannot get the css right to eliminate
> the
> gaps between the images.  I don't know if it's the table or the images that
> generate the gaps.
>
> Gary
>
> table.treeview {
>        border-collapse: collapse;
>        padding: 0px;
>        margin: 0px;
>        border: 0px;
>        empty-cells: show;
> }
> .treeview tr {
>        padding: 0px;
>        margin: 0px;
>        border: 0px;
>        vertical-align: middle;
> }
>
> .treeview td, .treeview th {
>        padding: 0px;
>        margin: 0px;
>        border: 0px;
>        vertical-align: middle;
> }
>
> .teeview img {
>        margin: 0px;
>        border: 0px;
>        padding: 0px;
>        hspace: 0px;
>        vspace: 0px;
>        width: 20px;
>        height: 20px;
> }
>
>
> --
> Gary Stainburn
>
> Gary's Haircut 700
> Please visit http://www.justgiving.com/Gary-Stainburn/ to help me
> raise money for Cancer Research - in return I'll have my head shaved
>
>
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/wylug-help
>



-- 
Looking for work
My CV: http://sites.google.com/site/simongreenwoodscv/
Linkedin: http://www.linkedin.com/in/simonfgreenwood
Support for unemployed IT professionals:
http://groups.google.com/group/downtimeuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20091119/dc752e1f/attachment.htm 


More information about the Wylug-help mailing list