Grow your CSS skills. Land your dream job.

Help with CSS for my site

  • # March 28, 2013 at 1:53 am

    I want my sitemap to be left aligned, but couldn’t figure out how to do it.
    [here](http://aceralhashimi.info/greenvalley/sitemap.aspx “”)

    I am using this free template so finding it hard to figure out how to fix it. I think if this page gets fixed then the movie club page will get fixed too. The titles in the movie club page are off too.

    TIA

    # March 28, 2013 at 5:06 am

    Hi,

    I am not sure if my answer is too late for you.
    I saw your code, and there are so much table tags with unnecessary td tags. Those might come from the free templates or you might want to add some other data.

    To make it left align, set table width to 100% for all the table nested in Div #ContentPlaceHolder1_TreeView1.

    The HTML would be cleaner if you change tables to unordered list (ul li).

    Hope this can help.

    # March 28, 2013 at 7:23 am

    >The HTML would be cleaner if you change tables to unordered list (ul li).

    Very much agree with this.

    There is very little excuse for using tables these days unless one is actually displaying tabular data.

    # March 28, 2013 at 11:06 pm

    I am using asp.net treeview to display my sitemap. I did not put the table there intentionally. I tried putting everything within a div and float it left, text-align-left. but it is still not fixed

    # March 29, 2013 at 2:53 am

    Did you try setting tables width to 100%?

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".