Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
About to kick my laptop in
Old 07-26-2008, 04:17 AM About to kick my laptop in
Average Talker

Posts: 22
Name: Bob
Trades: 0
I’m using IE 6.0 and Notepad Version 5.1 to write my webpage; one notepad has been saved with the extension .html and the other has been saved as an external stylesheet with the .css extension. The photo has been sized and compressed with a .JPEG extension.

I have two challenges:
A) The id selector and class selector does not work for a photo
(B) the id selector works for text, padding etc but the class selector will not work at all.

At the top of the html source code I have typed:

<!DOCTYPE HTML PUBLIC "-//w3c/DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/htm14/loose.dtd">

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


Example of id written in the body of html "that works":
<div id=”test”>Will it work?</div>
In .css
#test{color: red}

Example class written in the body of html that "does not work":
<div id=”test”
<p class=”problem”>Will it work?</p>
</div>
In .css
#test .problem {color: red}


No other code exists. Can someone offer some resolution please.
goodness me is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-26-2008, 06:44 AM Re: About to kick my laptop in
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
your second example has the closing bracket missing from <div id="test">

Also the "quotes" used are NOT actual quote marks (ASCII 34) but ASCII #2DD
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-26-2008, 08:55 AM Re: About to kick my laptop in
Average Talker

Posts: 22
Name: Bob
Trades: 0
Whooo....Hooooo....Thanks Chrishirst.

I went through the rest of the code in my original .html and .css documents and discovered the > was missing - just as you said. I also found a missing closing div tag. Thanks mate; couldn't have done it without you.

Not sure how to change the ASC11 (I'm willing to learn) but things now work much better than before.

Weather here in New Zealand is terrible at the moment; we're in the middle of a weather bomb so I hope your climates more kind to you.
goodness me is offline
Reply With Quote
View Public Profile
 
Old 07-26-2008, 10:04 AM Re: About to kick my laptop in
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
If I were you, I wouldn't be using IE6 as my primary testing browser, and would instead start in Firefox, which is much more standards-compliant, and also has some great debugging tool available for it.

If you get used to the way IE6 displays things, you will form a lot of bad habits that will be hard to get rid of. Start in the better browsers and work your way backwards.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 07-27-2008, 03:51 AM Re: About to kick my laptop in
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Not sure how to change the ASC11 (I'm willing to learn) but things now work much better than before.
That may be an issue between the text editor and what your keyboard returns for shift+2
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-29-2008, 08:34 AM Re: About to kick my laptop in
Average Talker

Posts: 22
Name: Bob
Trades: 0
Thanks for your advice wayfarer; at the moment we're on dial-up because broadband here is quite expensive; by the end of next month we'll be on broadband and I'll be able to download Firefox then. In the meantime I have to make do.
goodness me is offline
Reply With Quote
View Public Profile
 
Old 08-01-2008, 06:45 AM Re: About to kick my laptop in
firebladeiii's Avatar
Average Talker

Posts: 26
Trades: 0
so why you want to kick your laptop?
__________________
Thats it !

Please login or register to view this content. Registration is FREE
firebladeiii is offline
Reply With Quote
View Public Profile
 
Old 08-01-2008, 09:01 AM Re: About to kick my laptop in
Average Talker

Posts: 22
Name: Bob
Trades: 0
Hi firebladeiii,

Thanks a mint for the link. I've now got Firefox; it was all up and running within 30 minutes, so it's all cool bananas at the moment.

I opened my page in Firefox then looked at the source code. That certainly uplifted me because the different colours made things so easy to follow.

It's a great help. Thanks a million.
goodness me is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to About to kick my laptop in
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27655 seconds with 12 queries