Help - Search - Members - Calendar
Full Version: What is wrong with my css?
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
smrkangl
I am amking my new layout and i am now on the css part, whenever i put the css, my blogbody and the modules turn all gray...i can't see the text too...and it ends up being wide. I tried doing evrything but it always turn up gray =( thanks!!!

if you would like to see what it does on a xanga GO HERE

CODE
<!-- begin code provided by createblog.com -->

<style type="text/css">
/* HiLLViEW JUNiOR HiGH */
/* by SMRKANGL (xanga.com/SMRKANGL) */

body {
 background-color: #FFFFFF;
 scrollbar-arrow-color: #3366CC;
 scrollbar-track-color: #FFFFFF;
 scrollbar-shadow-color: #3366CC;
 scrollbar-face-color: #FFFFFF;
 scrollbar-highlight-color: #FFFFFF;
 scrollbar-darkshadow-color: #FFFFFF;
 scrollbar-3dlight-color: #FFFFFF;
 }

.left, .blogbody, table.footer, .standard, .leftmodulefontcolor, td, p {
/* edits main text */
 font:normal 11px arial;
 line-height:10px;
 color:#3366CC;
 letter-spacing:0px;
 text-align:justify;
 }

table.footer TD {
/* this makes the footer at the bottom centered */
/* leave it alone unless you know what to do*/
 text-align: center;
 }

div.blogheader, .caption {
/* edits the dates */
 font-family:arial;
 text-transform:uppercase;
 font-size:16px;
 line-height:10px;
 font-weight:bold;
 color:#3366CC;
 letter-spacing:0px;
 background-color: #ffffff;
 text-align: left;
 }

a:link, .footernav.link, a.footernav:link, a.footernav:active {
/* edits all links */
 color:#3366CC;
 text-decoration: underline overline;
 }

a:visited, a.footernav:visited,  {
/* edits the links that the user has visited */
 color:#3366CC;
 text-decoration: none;
 }

a:hover {
/* edits when user mouseovers the links */
 color:#0099FF;
 cursor: ne-resize;
 text-decoration: none;
 }

input, select, textarea, .textfield, .button {
/* this edits the buttons, dropdowns, etc. */
 border: 1px solid #3366CC;
 font:normal 11px arial;
 background-color: #FFFFFF;
 letter-spacing:0px;
 color: #3366CC;
 }

table.left {
/* this edits the menu module */
 border: 1px solid #3366CC;
 width:160px;
  background-color: #FFFFFF;
 }

table.blogbody {
/* this edits the other the place where the  blog is */
 border: 0px solid 3366CC;
 background-color: #ffffff;
 width:400px;
 }

table.left th {
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
 background-image: url(http://url.com/to/the/site/image.gif);
 background-color: #FFFFFF;
 font: bold 11px arial;
 text-transform: uppercase;
 color: #3366CC;
 border: none;
 }
table.left TD {
/* on your menu module, this edits the body part of it */
 background-image: url(http://url.com/to/the/site/image.gif);
 background-color: #FFFFFF;
 border: none;
 }

table.search TD, table.search, table.announcements {
/* border of search bar (if you have it) */
 background-color: #FFFFFF;
 border: 1px solid #3366CC;
 }
table.search TD, table.announcements TH {
/* this should be left alone */
/* unless you know what to do */
 border: 0px solid #3366CC;
 }
table.navigation, table.main, table.footer {
/* the width of your blog with modules */
 width: 500px;
 }
hr {
/* horizontal divider */
 border: px solid #3366CC;
 }
</style>

<!-- end code provided by createblog.com -->
angel-roh
hmm how abot this... theres nothing work...i dont think theres nothin wrong...but i'll give u da another code for the css stylesheet... i did wat u had... like i changed it...so yeah heh^^

CODE
<!-- begin code provided by createblog.com -->
<style type="text/css">
body {
 background-color: #FFFFFF;
 scrollbar-arrow-color: #3366CC;
 scrollbar-track-color: #FFFFFF;
 scrollbar-shadow-color: #3366CC;
 scrollbar-face-color: #FFFFFF;
 scrollbar-highlight-color: #ffffff;
 scrollbar-darkshadow-color: #ffffff;
 scrollbar-3dlight-color: #FFFFFF;
 }

.left, .blogbody, table.footer, .standard, .leftmodulefontcolor, td, p {
/* edits main text */
 font:normal 11px arial;
 line-height:10px;
 color:3366CC;
 letter-spacing:0px;
 text-align:justify;
 }

table.footer TD {
/* this makes the footer at the bottom centered */
/* leave it alone unless you know what to do*/
 text-align: center;
 }

div.blogheader, .caption {
/* edits the dates */
 font-family:arial;
 text-transform:uppercase;
 font-size:16px;
 line-height:10px;
 font-weight:bold;
 color: 3366CC;
 letter-spacing:0px;
 background-color: #FFFFFF;
 text-align: left;
 }

a:link, .footernav.link, a.footernav:link, a.footernav:active {
/* edits all links */
 color: 3366CC;
 font:normal 11px arial;line-height:10px;
 text-decoration: none;
 }

a:visited, a.footernav:visited,  {
/* edits the links that the user has visited */
 color:3366CC;
 font:normal 11px arial;
 line-height:10px;
 text-decoration: none;
 }

a:hover {
/* edits when user mouseovers the links */
 color: 0099FF;
 font:normal 11px arial;
 line-height:10px;
 cursor: ne-resize;
 text-decoration: none;
 }

input, select, textarea, .textfield, .button {
/* this edits the buttons, dropdowns, etc. */
 border: 1px solid black;
 font:normal 11px arial;
 background-color: #FFFFFF;
 letter-spacing:0px;
 }

table.left {
/* this edits the menu module */
 border: 1px solid black;
 width:150px;
  background-color: white;
 }

table.blogbody {
/* this edits the other the place where the  blog is */
 border: 1px solid black;
 background-color: #FFFFFF;
 width:320px;
 }

table.left th {
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
 background-color: #FFFFFF;
 font: bold 11px arial;
 text-transform: uppercase;
 color: 3366CC;
 border: none;
 }
table.left TD {
/* on your menu module, this edits the body part of it */
 background-color: #FFFFFF;
 border: none;
 }

table.search TD, table.search, table.announcements {
/* border of search bar (if you have it) */
 background-color: white;
 border: 1px solid black;
 }
table.search TD, table.announcements TH {
/* this should be left alone */
/* unless you know what to do */
 border: 0px solid white;
 }
table.navigation, table.main, table.footer {
/* the width of your blog with modules */
 width: 400px;
 }
hr {
/* horizontal divider */
 border: 1px solid #000000;
 }
</style>
<!-- end code provided by createblog.com -->
smrkangl
thank you angel_roh!!! happy.gif
lookitskim
Moved to Programming Chat
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.