Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Links Module [L...  how to get rid off the space beetween the links
Previous Previous
 
Next Next
New Post 4/16/2008 11:01 AM
User is offline davico
49 posts
10th Ranked


how to get rid off the space beetween the links 

hallo,

I havve a vertical links module. The links module it is rendered in a table and the cells containing the link will always have a bottom padding (or margin) of around 18 pixels. I cannot get rid off them. I tried with css but it doesn't respond and I don't know where this margin come from. Does someone has an idea? Thanks

 
New Post 4/19/2008 10:54 AM
User is offline 
0 posts
Unranked


Re: how to get rid off the space beetween the links 

What you can do is to open Links.ascx (DesktopModules\Links\Links.ascx). Then, you look for a table tag, change cellpadding value. I think the default vaule is 4px. I changed mine to 0. Hope this helps.

 
New Post 4/19/2008 11:20 AM
User is offline Brad Bamford
66 posts
10th Ranked


Re: how to get rid off the space beetween the links 

open up the Links.ascx under the DesktopModules\Links folder.

If I remember correctly, by default the cellpadding or cellspacing on the table is set between 3 and 5.

Change the Table under Item Template to this:
<table border="0" cellpadding="0" cellspacing="0">

 

 

 
New Post 4/29/2008 1:20 AM
User is offline rjdejong
60 posts
www.rjdejong.net
10th Ranked


Re: how to get rid off the space beetween the links 

I had a similar problem with a horizontal menu. What worked for me was deleting &nbsp; from Desktopmodules/Links/links.ascx in the following code

<asp:HyperLink CssClass="Normal" Text='<%# DataBinder.Eval(Container.DataItem,"Title") %>' NavigateUrl='<%# formatURL(DataBinder.Eval(Container.DataItem,"Url"),DataBinder.Eval(Container.DataItem,"TrackClicks")) %>' ToolTip='<%# DisplayToolTip(DataBinder.Eval(Container.DataItem,"Description")) %>' Target= '<%# IIF(DataBinder.Eval(Container.DataItem,"NewWindow"),"_blank","_self") %>' runat="server" />
&nbsp;
<asp:linkbutton Runat="server" CssClass="CommandButton" Text='...' CommandName="Select" Visible='<%# DisplayInfo() %>'/>


www.rjdejong.net
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Links Module [L...  how to get rid off the space beetween the links
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com
Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP