Webmaster Forum

Sponsored Reviews   High Bandwidth Dedicated Servers   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Reply
 
LinkBack Thread Tools Display Modes
Old 12-12-2007, 11:59 AM   #1 (permalink)
kaz
Junior Member
 
Join Date: 02-15-06
Posts: 21
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
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 12-13-2007, 01:12 AM   #2 (permalink)
Contributing Member
 
Join Date: 09-03-07
Location: England
Posts: 358
iTrader: 0 / 0%
Latest Blog:
None

Boogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebody
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
__________________
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,379
iTrader: 1 / 100%
Latest Blog:
None

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 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,941
iTrader: 0 / 0%
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.
__________________
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 > Web Design Lobby > 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

vB 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
READING EMPTY EXCEL SHEET FROM VB.NET SuperDooper Coding Forum 2 03-28-2008 09:56 AM
Article work sheet john alis SEO Forum 8 02-14-2008 08:02 PM
Style Sheet Question SFC Web Design Lobby 5 04-08-2005 02:12 PM
drop down menu code doesnt work help! docquesting Coding Forum 5 07-21-2004 01:58 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 10:13 PM.
© Copyright 2008 V7 Inc


Search Engine Optimization by vBSEO 3.1.0 ©2007, Crawlability, Inc.