Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with CSS for my site

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43729
    etoilethay
    Participant

    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

    #130006
    daffy58
    Participant

    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.

    #129586
    Paulie_D
    Member

    >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.

    #130101
    etoilethay
    Participant

    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

    #130110
    daffy58
    Participant

    Did you try setting tables width to 100%?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.