Just some simple css help! Please??

This is a discussion on "Just some simple css help! Please??" within the Starting Out section. This forum, and the thread "Just some simple css help! Please?? are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Apr 27th, 2008, 16:57
New Member
Join Date: Apr 2008
Location: London
Age: 21
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Just some simple css help! Please??

Hello guys! I am a beginner,running a blog and I have a problem with my stylesheet. Wont let me put any bullets and will not put any spaces or paragraphs. Its modifies everything by it self and I dont know how to change it can you please help me?
This is my website http://leftyisright.com

and here is the stylesheet:
Code: Select all
/*  
Theme Name: Upstart Blogger Modicus
Theme URI: http://www.upstartblogger.com/
Description: Simple and clean, lightweight theme. For updates, please <a href="http://feeds.feedburner.com/UpstartBlogger">subscribe to Upstart Blogger</a>.
Version: 0.3
Author: Robert Ellis
Author URI: http://www.mysticsoftheordinary.com/
License: Creative Commons Attribution-Share Alike 3.0 (http://creativecommons.org/licenses/by-sa/3.0/. Feel free to make any changes, but please keep a link back to Upstart Blogger in your sidebar or footer.
*/

/* @group Normalize */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6 {
    font-size: 100%;
}
ol,ul{
    list-style: none;
} 
address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
caption,th {
    text-align: left;
}
q:before, q:after {
    content: '';
}
/* @end */

/* @group Structure */

#homebody {
text-align: left;
font-size: 1.5em;
line-height: 2.5em;
letter-spacing: .1em;
width: 916px;
padding-top: 200px;
}

#wrapper {
    font-size: 1.2em;
    width: 916px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

#header {
text-align: left;
margin: 20px 0;
height: 150px;
font-size: 3em;
font-variant: small-caps;
}

#sidebar2 h1 {
font-size: 2em;
text-transform: none;
line-height: 1.2em;
}

body {
    margin: 0 auto;
    padding: 0;
    background-color: #fff;
    color: #444;
    font: 62.5%/200% Arial, Helvetica, sans-serif;
    text-align: center;
    }



/* @end */

a:link, a:visited {
    color: #444;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
color: silver;
border-bottom: none;
}

#sidebar a {border: none; font-weight: normal;}

.post li p, #sidebar2 li p {display: inline;}
.post li a, #sidebar2 li a {font-weight: bold;}
.post li, #sidebar2 li {display: inline;}

#sidebar2 ul {padding-top: 15px;}

#sidebar h2 {text-transform: uppercase;}

a:link.subscribe, a:visited.subscribe {
color: #f36a18;}

a:hover.subscribe  {
color: silver;}

.description {font-size: .5em;}

#header img {border: 0px solid #bebebe; float: left;}

#sidebar {
text-align: left;
position: absolute;
top: 170px;
right: 0;
width: 125px;
padding-bottom: 25px;
}

#sidebar2 {
text-align: left;
position: absolute;
top: 170px;
left: 450px;
width: 300px;
padding-bottom: 25px;
}

#footer {
}

#sidebar2 h3 {
margin: 1.5em 0 -1em;
font-weight: normal;
}

#sidebar h1 a{
font-weight: bold;}

p.postmetadata {
line-height: 100%;
margin: 10px 0 25px;
color: #5e5e5e;
}


.post {text-align: left;
margin-left: 0px;
width: 336px;
position: absolute;
left: 0px;
top: 170px;
padding-bottom: 25px;}

.entry {
text-align: left;
width: 336px;
}

.entry blockquote p:first-child {font-weight: normal; color: #444; font-size: inherit;}

.entry blockquote {font-weight: normal; color: #444; font-size: 1.1em; border-left: 2px solid silver; margin: 1.2em 0 1.2em 2em; padding-left: 1em;}


.cat a:link, .cat a:visited{
text-transform: uppercase;
color: #f5467a;
}

.cat a:hover{
text-transform: uppercase;
color: silver;}

.cat {text-transform: uppercase;}

.entry img {
max-width: 330px;
padding: 2px;
border: 1px solid silver;
}

p {padding: 1em 0 .5em 0;}

strong {font-weight: bold;}

h2 {padding-top: 10px; font-size: 1.2em;}

h3 {
padding-top: 10px; 
text-transform: uppercase;
}

.navigation {
margin: 0 0 1em;
}

.center {text-align: center;}

.borderless img, img.borderless {border: none;}

.imgleft {float:left;}

em {font-style: italic;}

.entry li {display: block;}

ul {padding-bottom: 1em;}

ul.related li a{display: block;}
ul.related li {display: block;}

ul.archive li{display: block; padding: 0 0 1em;}

ul.archive p {
display: block; padding: 0;}

ul.archive {margin: 0; padding:0;}

.alignleft {float: left;}
.alignright {float: right;}

/* Begin Comments*/

/* Normal Bubble */
div.bubble {
    width: auto;
    margin-bottom: 24px;
}

div.bubble blockquote {
    margin: 0px;
    padding: 10px;
    border: 1px solid #c9c2c1;}

div.bubble blockquote p {
    margin: 0px;
    padding: 0px;
    line-height: 1.3em;
}

div.bubble cite {
    position: relative;
    margin: -7px;
    padding: 7px 0px 10px 15px;
    top: 5px;
    background: transparent url('images/tip.gif') no-repeat 20px 0;
    font-style: normal;
    font-size: 1em;
    display: block;
}


.alt {
    margin: 0;
    padding: 0;
    }

#commentform p {
    padding: 5px 0;
    font-size: 1.2em;
    }

#comment {

    width: 336px;
    height: 100px;
    }
.nocomments {
    text-align: center;
    margin: 0;
    padding: 0;
    }

.commentmetadata {
    margin: 0;
    display: block;
    }
    
#commentPreview {
font-size: .8em;}
/* End Comments */

/* Share This */

.sharethis {padding: 2em 0 3em;}

#akst_form {margin-left: -50px;}

/* End Share This */

/* Begin Calendar */
#wp-calendar {
    empty-cells: show;
    margin: 10px auto 0;
    width: 125px;
    }

#wp-calendar #next a {
    padding-right: 10px;
    text-align: right;
    }

#wp-calendar #prev a {
    padding-left: 10px;
    text-align: left;
    }

#wp-calendar a {
    display: block;
    }

#wp-calendar caption {
    text-align: center;
    width: 100%;
    }

#wp-calendar td {
    padding: 3px 0;
    text-align: center;
    }

#wp-calendar td.pad:hover { /* Doesn't work in IE */
    background-color: #fff; }
    
    #wp-calendar #prev a, #wp-calendar #next a {
    font-size: 9pt;
    }

#wp-calendar a {
    text-decoration: none;
    }

#wp-calendar caption {
    font: bold 1.3em "Helvetica Neue", Helvetica, Arial, Sans-Serif;;
    text-align: center;
    }

#wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
    }

/* End Calendar */

/* Begin Search */

#search_form {
width: 15px;}

.search_input {
width: 5px;}

/* End Search */

Last edited by Aso; Apr 27th, 2008 at 17:07. Reason: If you're posting that much code, use [CODE] tags!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Apr 27th, 2008, 17:39
Ed Ed is offline
Moderator
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 730
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Just some simple css help! Please??

Hi lefty.

You should take the time to read some tutorials on HTML/CSS as I don't think you understand it to a great extent.
Code: Select all
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6 {
    font-size: 100%;
}
ol,ul{
    list-style: none;
}
All the above code is what is causing the problems. You've set the padding and margins on elements that normally inherit them. For instance, a paragraph, represented by '<p>' (in HTML) and 'p' (in CSS), is set to no margin and no padding, as well as a lot of other items! Remove this, and it will go back to the defaults.

A list is what they named a set of bullet points, with '<ul>' (in HTML) or 'ul' (in CSS) being an unordered-list, and '<ol>' (in HTML) or 'ol' (in CSS) being an ordered list. You've set their type to none, with the command 'list-style: none;' removing the bullet points.

Hope this helps,
Ed.
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Apr 27th, 2008, 18:57
New Member
Join Date: Apr 2008
Location: London
Age: 21
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Re: Just some simple css help! Please??

Hey thanks!!!!!! it does work but though creates a problem with my right sidebar since bullets are created :S:S can u please help?????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Apr 27th, 2008, 19:18
Ed Ed is offline
Moderator
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 730
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Just some simple css help! Please??

I don't see any problem!

However, you probably should have gathered that 'list-style: none;' turns off bullets. Add it to the '#div ul' which is for the sidebar.
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Apr 27th, 2008, 19:46
New Member
Join Date: Apr 2008
Location: London
Age: 21
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Just some simple css help! Please??

yeah thats because i left like it was.. go check it out now please help me i am not really good with css..... thanks!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Apr 27th, 2008, 19:54
New Member
Join Date: Apr 2008
Location: London
Age: 21
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Re: Just some simple css help! Please??

i think i just did it!

i made it like that:

div, dl, dt, dd, ul, ol, li {
margin: 0;
padding: 0;
}
h1,h2,h3,h4,h5,h6 {
font-size: 100%;
}
ol,ul {
list-style: none;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Apr 27th, 2008, 20:05
Ed Ed is offline
Moderator
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 730
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Just some simple css help! Please??

You need to read some tutorials, it's as simple as that.
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Apr 27th, 2008, 20:50
New Member
Join Date: Apr 2008
Location: London
Age: 21
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Wink Re: Just some simple css help! Please??

i know but im very busy now studying for my JAVA exams
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Apr 27th, 2008, 20:58
New Member
Join Date: Apr 2008
Location: London
Age: 21
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Just some simple css help! Please??

I have another problem if u can help me. If i put something as Header 3 or less ( h1,h2,h3) it makes it Capital letters.. how can i remove that? !!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Apr 28th, 2008, 10:19
Aso's Avatar
Aso Aso is offline
Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,341
Blog Entries: 2
Thanks: 11
Thanked 49 Times in 46 Posts
Re: Just some simple css help! Please??

This is down to text-transform: uppercase.

You need to remove this line that applies to the corresponding tag, which could be any of these;
Code: Select all
.cat {text-transform: uppercase;}

.cat a:hover{
text-transform: uppercase;
color: silver;}

h3 {
padding-top: 10px; 
text-transform: uppercase;
}

wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
    }

#sidebar2 h1 {
font-size: 2em;
text-transform: none;
line-height: 1.2em;
}
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Job MetallicWarfare Job Opportunities 0 May 24th, 2008 12:30
Very Simple Cms christopher Website Planning 3 Apr 26th, 2008 17:19
Something really simple delusion Web Page Design 10 Jul 4th, 2007 17:59
Just want simple Background Song (.mp3) and a simple start/stop. BlackReef Flash & Multimedia Forum 4 Jun 28th, 2007 07:04
simple GET moiseszaragoza JavaScript Forum 4 Mar 23rd, 2007 23:35


All times are GMT. The time now is 03:45.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42