Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 12-12-2007, 11:59 AM   #1 (permalink)
kaz
Junior Member
 
Join Date: 02-15-06
Posts: 19
iTrader: 0 / 0%
Latest Blog:
None

kaz is liked by many
why style sheet doesnt work?

Hi,

I'd like to know why this style sheet(below) doesnt work.

body {
background-color : #00ffff;
}
.ictdnews {
font-family : Arial;
font-weight : bold;
font-size : x-large;
}
.ictdmain {
background-color : #00ffff;width:400;color : #000000;
font-family : Arial;
font-size:16
}
.network{font-family:Arial;font-weight:bold;font-size:16; text-transform:capitalize
}


here is the html code:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Untitled</title>
<link href="news.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</head>
<body>
<p class="ictdnews">ictd news</p
td width="400"valign="top"background class="ictdmain"><h4 class="networking">New online Register to be installed</h4>

thanx
kaz is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-13-2007, 01:12 AM   #2 (permalink)
v7n Mentor
 
Boogle's Avatar
 
Join Date: 09-03-07
Location: England
Posts: 646
iTrader: 0 / 0%
Latest Blog:
None

Boogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really nice
your HTML is the problem, friend.

Code:
<html> <head> <title>Untitled</title> <link href="news.css" rel="stylesheet" type="text/css" /> </head> <body> <p class="ictdnews">ictd news</p td width="400"valign="top" class="ictdmain"><h4 class="networking">New online Register to be installed</h4>
Copy that HTML into your file and it shall work

BTW, you should be using DIV for simple displaying... Why are you just using a td element?
where's the rest of the table?

Boog's
__________________
Great new 'June' Javascript Framework
June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-17-2007, 03:23 PM   #3 (permalink)
v7n Mentor
 
Join Date: 01-16-07
Location: Assen, the Netherlands
Posts: 1,361
iTrader: 1 / 100%
Jesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to behold
Send a message via AIM to Jesse Vlasveld Send a message via MSN to Jesse Vlasveld Send a message via Yahoo to Jesse Vlasveld
You didn't close you're <p> tag properly.
You didn't open, nor close you're table, tr and td tag properly, or at all.

It all looks pretty messy.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> <link href="news.css" rel="stylesheet" type="text/css" /> <style type="text/css"> </head> <body> <p class="ictdnews">ictd news</p td width="400"valign="top"background class="ictdmain"><h4 class="networking">New online Register to be installed</h4>
Jesse Vlasveld is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-17-2007, 11:18 PM   #4 (permalink)
v7n Mentor
 
imaginemn's Avatar
 
Join Date: 02-18-04
Location: Minneapolis, Minnesota
Posts: 1,356
iTrader: 0 / 0%
Latest Blog:
None

imaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to all
Send a message via MSN to imaginemn Send a message via Yahoo to imaginemn Send a message via Skype™ to imaginemn
Assuming your HTML is correct in your CLASS stylesheet you have defined a class labeled NETWORK and in your HTML code you are trying to call a class labeled NETWORKING.
__________________
Need a project done? - Set Your Own Price!
Imagine Creative Services
- Design : Marketing : Multimedia : More
imaginemn is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Article work sheet john alis SEO Forum 17 03-31-2009 05:38 AM
READING EMPTY EXCEL SHEET FROM VB.NET SuperDooper Coding Forum 3 08-17-2008 08:59 PM
Style Sheet Question SFC Web Design Lobby 5 04-08-2005 03:12 PM
drop down menu code doesnt work help! docquesting Coding Forum 5 07-21-2004 02:58 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:31 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.