Current location: Hot Scripts Forums » General Web Coding » CSS » CSS Problem


CSS Problem

Reply
  #1 (permalink)  
Old 08-26-07, 12:26 AM
David's Web Design's Avatar
David's Web Design David's Web Design is offline
Newbie Coder
 
Join Date: Jun 2007
Location: New Hampsire
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Post CSS Problem

When ever i go from one page to another page its shows up half formated and half default once i click refresh its fine but its what happens first is what bothers me. heres the script

HTML Code:
<html>
<body>
<head>
<link href="DCWDPC_COURSE_1.css" rel="stylesheet" type="text/css" />

<title>
Skill Builder 1
</title>
<p align="center" class="heading"> Skill Builder 1</p>
<body>
<p class="heading2">Instructions</p>
All you need to do is try your hand at designing a html document. Play around with the tags 

see what you get you. Here is a list of tags to use 

<b><'HTML'><'HEAD'><'TITLE'><'BODY'></b> Remember to close all your tags. For now please 

save as a text document so just give it a creative name and press save. :)
<hr>
<a href="C:\Documents and Settings\Web Design.net\Desktop\Q1\Lessons\Lesson 1.htm">Back</a></html>
Please Help

David's Web Design
Reply With Quote
  #2 (permalink)  
Old 08-26-07, 01:45 PM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 6 Times in 5 Posts
Uhh. In your example, you mention you have to close all the head, body, etc tags; but you didn't even do that!

It also helps if you indent like so:
HTML Code:
<html>
<head>
	<link href="DCWDPC_COURSE_1.css" rel="stylesheet" type="text/css" />
	<title>
	Skill Builder 1
	</title>
</head>
<body>
	<p align="center" class="heading"> Skill Builder 1</p>
	<p class="heading2">Instructions</p>
	All you need to do is try your hand at designing a html document. Play around with the tags 
	
	see what you get you. Here is a list of tags to use 
	
	<b>&lt;'HTML'&gt;&lt;'HEAD'&gt;&lt;'TITLE'&gt;&lt;'BODY'&gt;</b> Remember to close all your tags. For now please 
	
	save as a text document so just give it a creative name and press save. :)
	<hr>
	<a href="C:\Documents and Settings\Web Design.net\Desktop\Q1\Lessons\Lesson 1.htm">Back</a>
</body>
</html>
Anyways, do you have an online example for us to look at? Without seeing it in action with the style sheet, the HTML code is pretty worthless.
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Reply With Quote
  #3 (permalink)  
Old 08-27-07, 09:44 PM
David's Web Design's Avatar
David's Web Design David's Web Design is offline
Newbie Coder
 
Join Date: Jun 2007
Location: New Hampsire
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Ok thanks i will take that in to consideration
here's the url: http://www.freewebs.com/dcwdpc-beta/SB1.htm
Reply With Quote
  #4 (permalink)  
Old 08-28-07, 12:22 AM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 6 Times in 5 Posts
Maybe a cache related issue? I'm looking at your example page, and I'm not seeing any style issues. Does this issue happen all the time or just every once in a while?

Try clearing your cache. See if that helps.
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Reply With Quote
  #5 (permalink)  
Old 08-28-07, 08:00 AM
David's Web Design's Avatar
David's Web Design David's Web Design is offline
Newbie Coder
 
Join Date: Jun 2007
Location: New Hampsire
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
all the time.
Reply With Quote
  #6 (permalink)  
Old 08-29-07, 05:48 PM
David's Web Design's Avatar
David's Web Design David's Web Design is offline
Newbie Coder
 
Join Date: Jun 2007
Location: New Hampsire
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
I Fixed my problem just need to close the tags
Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Drop-down Menu rendering problem in IE. HELP?! martongergo CSS 0 09-07-06 11:31 AM
CSS Rollover Problem in IE tjs CSS 4 08-30-06 11:29 AM
CSS border problem in firefox, looks good in IE vertigoflow CSS 1 02-18-06 10:30 AM
CSS Border problem in FireFox mani786 CSS 1 10-01-05 07:33 AM
CSS Div problem themanmathias CSS 1 09-29-05 08:05 PM


All times are GMT -5. The time now is 02:04 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.