CSS Margin Problem

Discussion in 'CSS' started by coutlook, Sep 23, 2008.

  1. #1
    Hello, I'm a newbie to the forum. I would appreciate any help as I'm trying to set up my portfolio site which is due in 2 days.

    http://ryw531.aisites.com/index.html - on the philosophy page, I can't seem to get the margins right. The first line automatically indents and when I try to change it the entire layout shifts.
     
    coutlook, Sep 23, 2008 IP
  2. pendelton

    pendelton Peon

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'd say your text-indent of 50px in you .body_content is causing the indent, that is in the main_content.css.
    It also seems like you are doing a lot of extra styling, between the in page and the linked sheet. Both the sheet and the in page styling are telling it to do the same thing.
     
    pendelton, Sep 23, 2008 IP
  3. buzzmaker

    buzzmaker Peon

    Messages:
    103
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think that solves your problem! Apart from that - If you are using extra styles in your code, apart from the CSS, it is bad coding. If this is your portfolio, I am sure whoever wishes yo hire you for a web designer's job would take a look at the code, for sure!
     
    buzzmaker, Sep 24, 2008 IP
  4. iKiller

    iKiller Guest

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    why not trying to edit your html .
    look for :
    <p class="style2" align="left">As a designer
    then replace it with
    <p class="style2" align="left"><br>As a designer

    have fun .
     
    iKiller, Sep 24, 2008 IP