Web Design and Development Forums

Just some simple css help! Please??

This is a discussion on "Just some simple css help! Please??" within the New to Web Design section. This forum, and the thread "Just some simple css help! Please?? are both part of the Beginners category.


Go Back   Webforumz.com > Beginners > New to Web Design

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Apr 27th, 2008, 16:57   #1 (permalink)
New Member
 
Join Date: Apr 2008
Location: London
Age: 20
Posts: 6
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 aso186; Apr 27th, 2008 at 17:07. Reason: If you're posting that much code, use [CODE] tags!!!
lefty is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 27th, 2008, 17:39   #2 (permalink)
Ed
Design Admin
 
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 1,043
Blog Entries: 1
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.
__________________
Design Administrator




Ed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 27th, 2008, 18:57   #3 (permalink)
New Member
 
Join Date: Apr 2008
Location: London
Age: 20
Posts: 6
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?????
lefty is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 27th, 2008, 19:18   #4 (permalink)
Ed
Design Admin
 
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 1,043
Blog Entries: 1
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.
__________________
Design Administrator




Ed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 27th, 2008, 19:46   #5 (permalink)
New Member
 
Join Date: Apr 2008
Location: London
Age: 20
Posts: 6
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!!!
lefty is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 27th, 2008, 19:54   #6 (permalink)
New Member
 
Join Date: Apr 2008
Location: London
Age: 20
Posts: 6
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;
}
lefty is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 27th, 2008, 20:05   #7 (permalink)
Ed
Design Admin
 
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 1,043
Blog Entries: 1
Re: Just some simple css help! Please??

You need to read some tutorials, it's as simple as that.
__________________
Design Administrator




Ed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 27th, 2008, 20:50   #8 (permalink)
New Member
 
Join Date: Apr 2008
Location: London
Age: 20
Posts: 6
Wink Re: Just some simple css help! Please??

i know but im very busy now studying for my JAVA exams
lefty is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 27th, 2008, 20:58   #9 (permalink)
New Member
 
Join Date: Apr 2008
Location: London
Age: 20
Posts: 6
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? !!!!!!
lefty is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 28th, 2008, 10:19   #10 (permalink)
Chief Moderator
 
aso186's Avatar
 
Join Date: Oct 2007
Location: UK
Posts: 715
Blog Entries: 2
Send a message via Skype™ to aso186
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;
}
__________________

aso186 is online now  
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
Rate This Thread
Rate This Thread:

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
Very Simple Cms christopher Website Planning Discussion 3 Apr 26th, 2008 17:19
Something really simple delusion CSS Forum 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
A very simple EdgeWalker CSS Forum 11 Jan 25th, 2007 15:26



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 20:12.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59