Jump to content

Recommended Posts

Posted

So I am making a petpage application and I have come across a really annoying issue. When I try to use <p></p> to create separate paragraphs they don't show up?

 

Does anyone know of one simple petpage layouts? Without art and added graphics?

 

This one isn't working for me, but if anyone know what is causing this problem it would really help!

 

Thank you!

Posted

Would you mind copy pasteing the code? I'm sure there's an easy fix!

Posted

I found another premade that works. The code is really long, but thank you! I decided to go with Sugary Premades. If anyone can tell whats wrong I pasted the style code here. I am just using premades, I wish I was better at coding but that will be a process.

 

<style>
.sf, .object, p, table {
display: none;
}
body {
background-color: #FCF1AC;
}
b, u, i {
color: #F99979;
font-family: verdana;
font-size: 10px;
font-weight: bold;
letter-spacing: 0px;
}
a:link, a:active, a:visited, a, b {
color: #D35268;
font-family: verdana;
font-size: 10px;
font-weight: bold;
text-decoration: none;
}
a:hover b, a:hover {
color: #9fe038;
}
.h1 {
background-color: #ffffff;
width: 520px;
color: #000000;
border: 0px solid #666666;
font: 10px verdana;
line-height: 15px;
padding: 5px;
margin-top: 0px;
float: left;
}
.h2 {
background-color: #FCCF80;
width: 160px;
border: 0px solid #666666;
font: 10px verdana;
line-height: 15px;
color: #000000;
padding: 5px;
margin-top: 0px;
float: right;
}
.h3 {
background-color: #D35268;
font: 50px verdana;
color: #ffffff;
line-height: 40px;
padding: 10px;
height: 40px;
letter-spacing: -4px;
border-top: 7px solid #F99979;
}
.h4 {
font: 12px courier;
color: #8C4B5A;
border-bottom: 1px solid #D35268;
padding-left: 5px;
line-height: 20px;
text-transform: uppercase;
margin-bottom: 5px;
text-align: left;
height: 20px;
}
.together {
width: 700px;
margin-top: 30px;
}
#nav a:link, #nav a:visited, #nav a:active {
color: #ffffff;
background-color: #F99979;
width: 140px;
height: 20px;
text-align: left;
font-size: 11px;
display: block;
text-decoration: none;
font-family: verdana;
font-weight: normal;
text-transform: -blocked-;
letter-spacing: 0px;
margin: 2px;
padding: 5px;
line-height: 20px;
}
#nav a:hover {
border-bottom: 0px dashed #fff;
background-color: #ffffff;
text-align: right;
color: #D35268;
text-decoration: none;
}
</style>
</center>

Posted

Now the length obviously didn't matter since the error is on line 2 and 3 :D

.sf, .object, p, table {
display: none;
}

You say here you don't want to display anything within the p tag. Remove p and you'll be fine :)

Posted

wolfponies is right.

 

By the way... This is CSS and not HTML. They are both also not programming languages (HTML being a markup language and CSS being a stylesheet language) ;)

Posted

Studying premades is a very good way of learning :)

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...
×
×
  • Create New...