Css position issue

Discussion in 'CSS' started by tony84, Jul 27, 2011.

  1. #1
    Hi,

    Im in the process of just coding up a website, im not that great with CSS but have picked bits up over the last few weeks (i was previously a tables person).

    Anyway, my template - http://manchestermortgagebroker.co.uk/test/template.html
    is causing me a nightmare, im not sure where or what code i need to change.

    Could anyone help?

    thanks,
    Tony
     
    tony84, Jul 27, 2011 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    According to this site, you still are. Quit using tables for layout.

    Validate your html and css for those lists of errors. Change your doctype to something from this century. At least this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    Code (markup):
     
    drhowarddrfine, Jul 27, 2011 IP
  3. rajvrmxx

    rajvrmxx Banned

    Messages:
    129
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #3
    Dude.... The Slider that you put here, is in Position:absolute, Mode....

    Just do one thing.....

    Create a Div , Like <div id="Sliderpos">
    </div>

    And in this put the slider. And just change the style of sliderpos from style.css in simple way.. Like "Float:left, Width:600px; height:400px; margin:0 0 0 0;"

    Try and Let me know!!
     
    rajvrmxx, Jul 27, 2011 IP
  4. tony84

    tony84 Well-Known Member

    Messages:
    1,864
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Hi,

    Thanks for the replies, i got told by a friend i would be best doing the whole thing in CSS so i re-started yesterday. I am upto the same point and again, the slider is causing an issue. The main content box has dropped down, i cant get the slider to only fit to around 500px wide.

    Can anyone help?

    Thanks
     
    tony84, Jul 28, 2011 IP