SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question about CSS Page Layout

    Hello,

    I'm still not satisfied with the CSS that I'm using to align the nav table and keep the footer at
    the bottom of the page. But here I'm going to have to change the dropdown menu, esp., one
    item due to the menu hiding behind one of my advertisements.

    The main problem I'm having with the page is that some of the functions, such as, "Search"
    and "Automatic Notification" are not centered as they were originally. Also, the categories
    have too much space between them. Originally they were okay, but by playing with the
    nav table I have changed some of the other parts of the site. I am not knowledgeable
    about CSS at all, but have been borrowing from other sites to stretch my nav table and
    keep the footer at the bottom. But in doing this it has changed some of the other things.
    Any help would be appreciated.

    Here is my site: http://nationwidefreeclassifieds.com

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,599
    Mentioned
    411 Post(s)
    Tagged
    7 Thread(s)
    Hi nexxus. Welcome to the forums.

    To center the forms, you could do something like this in your CSS file:

    Code:
    td[colspan="3"], td[colspan="3"] form table {
      text-align: center; 
      margin: 0 auto;
    }

  3. #3
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, thanks for the help, I have centered the two items that I had mentioned, but I'm not quite sure
    how to get rid of the css showing up on the front of my page. I would also like to reduce my spacing
    between categories. If someone could just copy and paste my whole css it would help a lot. Right
    now I'm just experimenting until something works.

  4. #4
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,225
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    It's not just the CSS that has problems, the HTML has 307 errors even before the CSS comes into play.

    How would you benefit if we write your code for you?

  5. #5
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,225
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    The lines that are printing at the top of the page are located from line 81 through 84 on the web page that we see. You can see these lines by opening the page in a browser with an ordinary internet connection, right clicking the window, and executing "Show Source" or "View Page Source". Because this is a .cgi page, I don't know where those lines exist in your system.

    I recommend that you pay someone to rewrite your page for you and do so in such a way that it becomes possible for you to maintain it, with the understanding that you have limited HTML skills. That should be possible.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •