Using an image for a separator
Last Post 11/14/2008 1:28 PM by Lee Sykes. 3 Replies.
Author Messages
amknox
Nuker
Nuker
Posts:11


--
11/14/2008 10:52 AM
    Good Morning!

    I am working on a skin using HTML, CSS and XML.  I have successfully added an image as the  separator, but my problem is  there is a white space around  it.   This table row  has a background color to it and it is like the image separator is  also creating a gap in the background color.  I have played with the CSS and  HTML with no luck in resolving.  Any ideas would be appreciated.


    Thanks,
    Anita
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    11/14/2008 11:04 AM
    hello,

    Perhaps there is padding added in the CSS for any images? have a look at any CSS code for img.

    Are you sure you need to add an image as a separator? Quite often you can use padding in the CSS,

    Thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    amknox
    Nuker
    Nuker
    Posts:11


    --
    11/14/2008 12:16 PM
    There is no padding. I went and set all to "0" in one of my attempts to fix this. I do want to use the image, I am putting a little square as a separator.

    Thanks,
    Anita
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    11/14/2008 1:28 PM
    do you have a url example we can look at?
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile


    ---