using same CSS in the exact ASP and HTML files, different look?

Discussion in 'C#' started by aayybb, Dec 11, 2007.

  1. #1
    I have an ASP file (only has html code and no asp code) and a HTML file with the same code. While they both use the same CSS link and produce same look, the asp file stays closer to the left side of screen and the html file stays in the center of screen.
    Does this have anything to do with ASP?
    I don't know anything about ASP.
     
    aayybb, Dec 11, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you provide links to both versions? There is no reason why the two would display differently and therefore would suspect there is some difference in the code.
     
    AstarothSolutions, Dec 11, 2007 IP
  3. aayybb

    aayybb Peon

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    They are identical codes. I don't have links to them because I am testing them. I fixed the ASP file by inserting <center> right after <body> to move it to the center of the screen. Yes, they seem odd to me that the html stays in the center which was I asked for but the original ASP didn't. Even the Dreamweaver showed them both in the center of the screen. Just weird to me.
     
    aayybb, Dec 12, 2007 IP