Ergebnis 1 bis 4 von 4
  1. #1
    feeder1980 Guest

    I Having trouble positioning my elements on CSS?

    Hey everyone and thanks for your help

    I recently started trying to create a website and start trying to ask questions and learn in order to solve problems that appeared along the way.

    And there's one special problem I'm having right now...

    Everytime I add a new element to my HTML, let's say, a <p>. <h1>, or whatever, it doesn't appear under the last thing I inserted in the HTML, but rather it appears right on top of the page.

    The only way I have to solve this is to make it a class like <p class="intro"> (or an id for that matter) and then go into CSS and do something like

    pre.intro {position: absolute;
    top: 400px;
    left: 250px;}

    and try out with the px values until I get what I want.

    This is really tedious. And besides it gets really annoying when you got <p>s, <pre>s, <h1>s and etc all mixed together.

    Is there a faster way to work around this (without any software besides Notepad and Aptana)?

    Thank you again

    Additional Details
    If I write what you said it works fine.

    However I have <h1> that makes a logo then a <nav> that builds a drop-down menu with CSS and a <div> that is a sidebar.

    And everything I write beyond that <div> goes behind in logo in the top left corner. So if I write

    <p> Hello </p>
    <p>World</p>

    it still is

    Hello
    Word

    But it's right up there behind my logo unreadable :P

    I can't actually show you the entire code here because it's 90 lines long so...

    Thank you

  2. #2
    Avatar von mikdoe
    mikdoe ist offline Administrator
    registriert
    01-05-2010
    Beiträge
    7.755

    AW: I Having trouble positioning my elements on CSS?

    Falls du auch deutsch kannst, schreibe hier bitte deutsch.

    Can you give us a link to the site with the problem?

  3. #3
    Avatar von kkapsner
    kkapsner ist offline Super Moderator
    registriert
    28-03-2008
    Beiträge
    17.732

    AW: I Having trouble positioning my elements on CSS?

    If you are not able to provide us with a link, we need the HTML and CSS code.

  4. #4
    Avatar von mikdoe
    mikdoe ist offline Administrator
    registriert
    01-05-2010
    Beiträge
    7.755

    AW: I Having trouble positioning my elements on CSS?

    Spam

Ähnliche Themen

  1. Trouble mit FF bei Mouseover
    Von gaertner_markus im Forum Script-Check
    Antworten: 8
    Letzter Beitrag: 18-04-2009, 12:59
  2. (js)onmouseout event in IE macht trouble
    Von votoby im Forum Script-Check
    Antworten: 1
    Letzter Beitrag: 24-02-2008, 09:32
  3. erste Seite mit positioning
    Von Liz im Forum CSS und (X)HTML
    Antworten: 1
    Letzter Beitrag: 25-02-2007, 00:14
  4. positioning + flexible
    Von Liz im Forum CSS und (X)HTML
    Antworten: 0
    Letzter Beitrag: 26-09-2006, 22:39
  5. habe trouble mit getElementsByName in IE
    Von Dr.Bakterius im Forum JavaScript
    Antworten: 3
    Letzter Beitrag: 28-10-2005, 14:25

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •