Jump to content
Sign in to follow this  
dot_

Problem med margin

Recommended Posts

Jeg får ikke til å sette margin 4px på hele teksten på siden min:

 

Skjult tekst: (Marker innholdet i feltet for å se teksten):

 

#container { border: 3px solid #292929; width: 664px; padding: 1px; margin: 0 auto;

margin-top: 15px; margin-bottom: 15px; overflow: hidden; background-color: #333333; }

 

.quote { background-color: #303030; color: #D4C6A3; word-spacing: 2.3em; font-weight: bold; font-size: 1.0em;

line-height: 1.3em; padding: 4px; text-align: center; line-height: 1.3em;

border-bottom: 1px solid #D4C6A3; border-top: 1px solid #D4C6A3;}

 

body

 

{

background-image:

url('bg1.gif');

background-repeat: repeat

}

 

body {

font-family: georgia;

color: #D4C6A3;

font-size: 0.7em;

letter-spacing: 0.1em;

word-spacing: 0.0em;

line-height: 1.1em;

text-align: left;

}

 

h1 {

font-size: 1.0em;

color: #FECD19;

}

 

h2 {

font-size: 1.0em;

color: #B79915;}

 

h1 {

letter-spacing: 0.1em;

word-spacing: 0.1em;

line-height: 0.5em;

text-align: left;

}

 

h2 {

letter-spacing: 0.1em;

word-spacing: 0.1em;

line-height: 0.3em;

text-align: left;

}

 

#header { width: 664px; height: 242px; border-bottom: 3px solid #292929;

background-image: url(header1.jpg); background-repeat: no-repeat;

background-placement: center; }

 

#img { width: 416px; height: 166px; border: 2px solid #292929;

background-image: url(emma.jpg); background-repeat: no-repeat; }

 

Share this post


Link to post

p {

margin-left: 4px;

/*margin-right: 4px;*/

}

 

h1 {

margin-left: 4px;

/*margin-right: 4px;*/

}

 

h2 {

margin-left: 4px;

/*margin-right: 4px;*/

}

Edited by neitakk

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...