• Das Erstellen neuer Accounts wurde ausgesetzt. Bei berechtigtem Interesse bitte Kontaktaufnahme über die üblichen Wege. Beste Grüße der Admin

I Having trouble positioning my elements on CSS?

Status
Für weitere Antworten geschlossen.
F

feeder1980

Guest
Hey everyone and thanks for your help :D

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 :)
 
Falls du auch deutsch kannst, schreibe hier bitte deutsch.

Can you give us a link to the site with the problem?
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben